Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Shellexecute with XML as the parameter
Message
From
25/06/2004 10:42:14
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Shellexecute with XML as the parameter
Miscellaneous
Thread ID:
00917224
Message ID:
00917224
Views:
51
Hi,

I have a VFP app that accepts a small XML string as a parameter. I am trying to run this from another VFP app using shellexecute and it keeps returning a "5" and not running my app.

I have tried STRTRAN'ing the XML to remove all quotes, slashes etc. with hopes of putting them back in the called app, but that doesn't work.

If I replace the XML variable with "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", it calls the other app fine, but the other app blows up because it's expecting an XML string.

The XML string isn't big, but it's probably a few thousand characters.

Is there a size limit to the "parameter" input in Shellexecute?

Any help much appreciated...Thanks
Next
Reply
Map
View

Click here to load this message in the networking platform