VB Macro Substitution Simulation with the ScriptControl
|CODE_UPLOAD1090610242000.zip||9/3/2020 3:45:00 PM||2,957|
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).
Comments on this post
No comments have been added for this post.
You must be logged in to make a comment.