Search Tools Links Login

VB Macro Substitution Simulation with the ScriptControl


Visual Basic 6, or VB Classic

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

Assumptions

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: 127 times

Categories

Visual Basic 6

Attachments

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


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.