Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OLE IDispatch Exception Code 0 from MSXML4
Message
From
27/03/2005 11:04:10
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Web Services
Title:
OLE IDispatch Exception Code 0 from MSXML4
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00999331
Message ID:
00999331
Views:
45
Hi All

I received the above error when running the compiled EXE but it works 100% within
the IDE.

The failure occurs when executing the "Send" of XMLHttp.

objUnform = CREATEOBJECT("MSXML2.DOMDocument.4.0")
objUnform.Async = .f.
***********************************
** strXml = path\XMl file
**********************************
objUnform.Load(strXml)
IF objunform.ParseError.ErrorCode <> 0
WAIT WINDOW "Error loading XML"
Else
objHTTP=CREATEOBJECT("MSXML2.XMLHTTP.4.0")
objHTTP.open("POST", mstrURL,.f., mstrUsername, mstrPassword)
objHTTP.setRequestHeader("Content-Type", "text/xml")
*******************************************
** Error occurs on this line
*******************************************
objHTTP.Send(ObjUnform.Xml)
*******************************************
Endif

Any advice would be appreciated.

Regards

Tom
Next
Reply
Map
View

Click here to load this message in the networking platform