Valhalla Legends Archive

Programming => General Programming => Visual Basic Programming => Topic started by: Eli_1 on August 30, 2004, 05:52 AM

Title: Scripting Control Quickie
Post by: Eli_1 on August 30, 2004, 05:52 AM
How do I allow a script (via MS Scripting Control) to access a function/sub inside my app?
Title: Re:Scripting Control Quickie
Post by: Stealth on August 30, 2004, 11:56 AM
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.