Tag: Scripting

More on late binding

How about an example on how to use scripting capabilities in your application, if the script control is available, without setting any references? ‘Attempt to get the type for the script control. Dim ScType As System.Type = System.Type.GetTypeFromProgID( _ “MSScriptControl.ScriptControl”) ‘If the prog ID is missing, Null is returned (Nothing in Visual Basic). If ScType […]

Read More

MSScriptControl and Vista

In some of my applications, I make use of the MSScriptControl to execute dynamically generated scripts, or just to enable scripting in my applications. Windows Vista users will get an error if they install applications that use MSScriptControl, because it is not included in Vista by default, and since it’s a file that is controlled […]

Read More