cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X

Passing a COM object to Editor

ebenton
1-Visitor

Passing a COM object to Editor

This is a question from a co-worker:

In our VB6 program, we're opening Arbortext Editor and loading an XML doc using the Epic.AclSingleUse COM method. At this time we're also passing in various string variables. We now need to pass in a COM object to Arbortext Editor to be used by Arbortext (via ACL) at various times during the editing process. Is there a way to do this?
The code we're using looks something like this:
Dim aclSingle As Epic.AclSingleUse
Set aclSingle = New Epic.AclSingleUse
aclSingle.Execute ("$varname=" & thisVarname & ") 'string variable
aclSingle.Execute ("$varname2=" & thisVarname2 & ") 'string variable
aclSingle.Execute ("$objectvarname=" & objectVarname & ") 'a COM object variable if possible
aclSingle.Execute ("edit -newwindow " & " & xmlFilename & ")
0 REPLIES 0
Announcements

Top Tags