Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reading values from a form in an .EXE via OLE
Message
From
10/06/1998 12:18:58
Stewart Lane
Injection Footwear Corp.
Miami, Florida, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Reading values from a form in an .EXE via OLE
Miscellaneous
Thread ID:
00106812
Message ID:
00106812
Views:
54
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
Next
Reply
Map
View

Click here to load this message in the networking platform