Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Run command in other application
Message
From
28/09/2011 09:11:53
 
 
To
28/09/2011 08:35:26
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01525018
Message ID:
01525041
Views:
50
>>GETOBJECT() has two forms. You want the other one. From the Hacker's Guide:

>>Omitting the first parameter and passing "Excel.Application" for the second starts Excel if it is not running, or grabs another handle >>to the application if it is executing.

If I try createobject(myapp.myoleobject) I get the object returned successfully, if I try getobject(,myapp.myoleobject) I get an error "0x800401e3 operation unavailable".

I understand this means my application is not in the Running Object Table (ROT) ? any ideas how to resolve this?

Gary.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform