Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Shellexecute and its return values
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Shellexecute and its return values
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00993229
Message ID:
00993229
Views:
145
A VFP COM-component fires GhostScript. This all works fine but I now want to determine what the returnvalue means.

This is the command:
liRetVal = ShellExecute(0, "open", lcProg, lcParms, cGSFolder, 2)

On my machine this command returns 42. What does this mean? Is this good or bad? Is there a list of the ShellExecute command. I have Googled and have found some values but 42 is not among them. Is 42 returned by GhostScript?

Any ideas are welcome.

Thanks in advance,
Ron Brahma
Next
Reply
Map
View

Click here to load this message in the networking platform