Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to return data from VB activex dll?
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
How to return data from VB activex dll?
Miscellaneous
Thread ID:
00459777
Message ID:
00459777
Views:
62
I have a VB activex dll that I start from vfp5. Here is the command...

oVBObj = CREATEOBJECT("mycomm.CommUtil")
thisform.text1.value= oVBObj.Start('ADD')


in VB...

Public Function Start(Mode)
CommScreen.sData = Mode
CommScreen.Show (1)
Start = CommScreen.Text1.Text
End Function


My vb form returns what is in CommScreen.Text1.Text at the start of the form and not what I type in. I assume this is because the
"start" function finishes before I type anything. So I'm at a loss as to how to return the contents of text1 into a vfp editbox.
Reply
Map
View

Click here to load this message in the networking platform