General information
Category:
Coding, syntax & commands
Title:
Reading values from a form in an .EXE via OLE
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only