|
-
Jun 1st, 2000, 12:43 AM
#1
Thread Starter
Member
how can i use the GetObject in vb,
to get reference to EXISTING instance of com object.
( again...existing instance not new)
-
Jun 1st, 2000, 05:21 AM
#2
You'll be better off with early binding. First, you would have to add a reference to the COM object you want to use, then you create an instanse of that object using New keyword.
Code:
'Create an instanse of the Word application object
Dim objMyObject As New Word.Application
-
Jun 1st, 2000, 05:42 PM
#3
Thread Starter
Member
using GetObject to already creatED INSTANCE
lets say the one app create a new instance of com object.
how can i use the GetObject to get reference to
this instance.
pls write code sample that works.
cause i try a lot combinations with GetObject,,
and i failed.
thanks and bye.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|