Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OLE IDispatch Exception Code 0 from MSXML4
Message
De
27/03/2005 11:04:10
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Web Services
Titre:
OLE IDispatch Exception Code 0 from MSXML4
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Database:
Visual FoxPro
Divers
Thread ID:
00999331
Message ID:
00999331
Vues:
44
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform