Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reading values from a form in an .EXE via OLE
Message
De
10/06/1998 12:18:58
Stewart Lane
Injection Footwear Corp.
Miami, Floride, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Reading values from a form in an .EXE via OLE
Divers
Thread ID:
00106812
Message ID:
00106812
Vues:
53
I have a VFP 5.0 executable program called ABC.EXE. It is OLE server enabled.

In it is a form called abcform with a field called abcfield.

How do I read its value?

I want to be able to type a command in the command window to print it to the console using '?' or set it to a variable oField1.

I actually have the complete hierarchical reference to this field / control.

It is:abcform.abcpageframe1.page3.txtfabcpr

I thought I had to use createobject to read and then tweak properties to later edit the field value but none of my syntax has yet worked.

I checked the registry and as far as I can tell, ABC.EXE has been registered.
Just in case it wasn't, I ran abc.exe /regserver.

Can someone help get me started? I have been struggling for days.

Thank-you in advance,

Stew
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform