Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calling a Visual FoxPro method from Visual Basic
Message
De
25/11/1997 11:59:41
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Calling a Visual FoxPro method from Visual Basic
Divers
Thread ID:
00062185
Message ID:
00062185
Vues:
70
My Visual FoxPro EXE, containing an OLE public class, is now used from Visual Basic.

The Visual FoxPro class is loaded and now controled from Visual Basic. I can access any properties of that class and set them. However, whenever I try to call a method, Visual Basic returns a syntax error.

My object is name O. So, I am doing this to change a text control of that object o.cSeek.Value = "AB". Now, I would like to call the Seek() method of that object. I am doing this o.Seek(). Visual Basic returns a syntax error. It will be the same result for other methods. Is there a particular syntax we need to use to avoid the syntax error?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform