Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using Api_apprun for command line
Message
From
08/08/2003 20:07:59
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00818470
Message ID:
00818492
Views:
16
Hi Sergey,

Thanks. Another quick question, if you don't mind.

The problem was with calling the command line version of Winzip. .EXE version crapped out on creating the zip file. I only passed in a name, not a destination folder. Do you know why this would only fail on the .EXE and not while in development?

Thanks,

Perry


>Hi Perry
>
>In case like that I create batch file that calls the command and add PAUSE command at the end so DOS window wouldn't close until you press enter. After that I call batch file from VFP.
>
>>I'm using the process classlib I downloaded from here that has api_apprun in it. The class is working perfectly to run a DOS command from the DEV environment. But running the .EXE from a shortcut, the program opens up a DOS window, but does not run the command.
>>
>>I want the DOS window to not close on exit, so I can see why it's not working. I've tried unchecking the "close on exit" in foxrun.pif, but that didn't work. How can I get the window to not close on exit so I can see what the error is?
>>
>>Thanks,
>>
>>

(On an infant's shirt): Already smarter than Bush
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform