How do i refer to it?
I'm trying to add it in a script control and i think if i use new keyword it will just create another instance instead of getting the original global object.
Printable View
How do i refer to it?
I'm trying to add it in a script control and i think if i use new keyword it will just create another instance instead of getting the original global object.
Are you refering to a DLL when you say object? If yes, then I don't think it's possible, since you have to specify the Instancing settings before you compile it.
Hi kedaman !!!
Do a search on MSDN on following articles in Visual Basic Concepts:
1) Instancing for Classes Provided by ActiveX Components
(is an explanation where you can use the "globalmultiuse")
2) Global Objects and Code Libraries
(include an example)
3) Guidelines for Creating Root Objects
(another Tip of globalmultiuse)
maybe this help you out of your problem.
-cu TheOnly
Well, dunno if i really need this now, i got a workaround by making a function on the global mu class returning me keyword. But i think i abandon this idea...