Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using Ed Rauh's API_APPRUN class
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
01166502
Message ID:
01168972
Views:
16
Hi, I have downloaded and gotten api_apprun to run. However, the first time I tried to run it,
I realized that I had not downloaded to the right place. I got as error message
saying that foxpor was looking for api_apprun in

C:\Documents and Settings\sje\My Documents\Visual FoxPro Projects

So. copied the files right there and it works now.

1. But what if I want to keep these files someplace else? How can I tell
foxpro where they are?
2. How do I include these api_apprun files in my project?
Thanks
Steve
cmdLine = '"c:\program files\newbie\newbie.exe" /login admin /password admin /script "zacks1.nbl" /autoclose true'
cmdLine = (cmdLine)
CHDIR HOME()
oApiRun = NEWOBJECT("api_apprun", "Process")
oApiRun.iccommandline = aa
*oApiRun.iclaunchdir = "C:\temp"
oApiRun.Icwindowmode = "NORMAL"
oApiRun.Launchappandwait()
chdir c:\d\bull\
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform