General information
Category:
Windows API functions
Title:
Shellexecute with XML as the parameter
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only