• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

vb api per wf 4.0

  • Thread starter Thread starter Mauro Zovi
  • Start date Start date

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
 

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Members online

No members online now.
Back
Top