Search Tools Links Login

VB Macro Substitution Simulation with the ScriptControl

At last!!! Something that nearly matches the great functinallity that macro substitution gives in Visual FoxPro through the & Command... in this case we simulate it using the Microsoft Script Control, which allows you to run VBSCRIPT code through the control's methods, simply passing it code as a string parameter.

Original Author: unknown


You must have the ScriptControl registered and available to your VB project... (named 'Microsoft Script Control 1.0' in the References section of Visual Basic) (its usual location is 'windowssystemmsscript.ocx' or 'winntsystem32msscript.ocx' accordingly).

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 111 times


Visual Basic 6

Posted: 9/3/2020 3:45:00 PM
Size: 2,957 bytes

Loading Comments ...


No comments have been added for this post.

You must be logged in to make a comment.