Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to return data from VB activex dll?
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
How to return data from VB activex dll?
Divers
Thread ID:
00459777
Message ID:
00459777
Vues:
63
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.
Répondre
Fil
Voir

Click here to load this message in the networking platform