rdgerken
Technical User
- Jul 8, 2002
- 108
Can anyone elaborate on how to access the object model of an already running instance of an application? I found this old archived thread, but I need some more information to make this happen. thread222-946494
Basically I have a non-microsoft program that supports VBA. Normally, you start the application from a VB application and you have access to all of it's properties and methods and what not. What I'm trying to do is get access to all those properties and methods by hooking into an already running instance of the aforementioned application. It seems to be fairly easy to do with products like Excel and Word, using the GetObject method - but that just returns a "method not supported" error or something when I try to substitute in that code.
Thanks in advance!
Basically I have a non-microsoft program that supports VBA. Normally, you start the application from a VB application and you have access to all of it's properties and methods and what not. What I'm trying to do is get access to all those properties and methods by hooking into an already running instance of the aforementioned application. It seems to be fairly easy to do with products like Excel and Word, using the GetObject method - but that just returns a "method not supported" error or something when I try to substitute in that code.
Thanks in advance!