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

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

Passing a COM object to Editor

ebenton
1-Newbie

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
Top Tags