• Welcome to Valhalla Legends Archive.
 

Scripting Control Quickie

Started by Eli_1, August 30, 2004, 05:52 AM

Previous topic - Next topic

Eli_1

How do I allow a script (via MS Scripting Control) to access a function/sub inside my app?

Stealth

Put it in a class and "expose" the class to the script control. Since you can pass objects to be used by the script control, instantiate a persistent copy of the class and pass it to the script control when you start your program.
- Stealth
Author of StealthBot