Mauro Zovi
Guest
Hello I have the wf 4.0 m100.
I installed bees for vb.
in particular knowing to cuff with vba (access and excel) I tried to launch such a macro and it works.
However the material on vba is poor and confused both in the documentation of proe and in the internet.
Can someone give me a few extra tips on class names, properties and methods? has a somewhat more complicated example on how to throw it all in asynchronous mode? Thank you.
sub macro1()
dim asynconn as new pfcls.ccpfcasyncconnection
dim conn as pfcls.ipfcasyncconnection
dim session as pfcls.ipfcbasesession
dim mdlname
set conn = asynconn.connect("", "", ".", 5)
set session = conn.session
mdlname = session.currentmodel.filename
range(a1).select
activecell.formular1c1 = mdlname
msgbox ("name: " & mdlname)conn.disconnect(2)
end
I installed bees for vb.
in particular knowing to cuff with vba (access and excel) I tried to launch such a macro and it works.
However the material on vba is poor and confused both in the documentation of proe and in the internet.
Can someone give me a few extra tips on class names, properties and methods? has a somewhat more complicated example on how to throw it all in asynchronous mode? Thank you.
sub macro1()
dim asynconn as new pfcls.ccpfcasyncconnection
dim conn as pfcls.ipfcasyncconnection
dim session as pfcls.ipfcbasesession
dim mdlname
set conn = asynconn.connect("", "", ".", 5)
set session = conn.session
mdlname = session.currentmodel.filename
range(a1).select
activecell.formular1c1 = mdlname
msgbox ("name: " & mdlname)conn.disconnect(2)
end