Hi Everyone
Posted this on the XML board but had no luck.
I am re-posting this on the VB board together with Tsuji's suggestions, hoping someone has encountered a similar problem and has found a solution for it.
Anyone please?
Thanks in advance.
![[bigcheeks] [bigcheeks] [bigcheeks]](/data/assets/smilies/bigcheeks.gif)
------------------------------------------------------------------------------------------------------------------
Hi
I am using XML with my VB app, and everything works fine on the development PC which runs on XP Pro.
When I install it on a test PC running WinME though it gives me the above error.
The error occurs on this line of code:
Can anyone help please?
Thanks in advance.
------------------------------------------------------------------------------------------------------------------
tsuji (TechnicalUser) 2 Dec 05 11:00
Try rather this?
>Dim xmlHTTP As MSXML2.ServerXMLHTTP30
Dim xmlHTTP As Microsoft.XMLHTTP
>Set xmlHTTP = New MSXML2.ServerXMLHTTP30
Set xmlHTTP = New Microsoft.XMLHTTP
You may find win9x series not supporting msxml2.serverxmlhttp class.
------------------------------------------------------------------------------------------------------------------
DeltaTech (Programmer) 2 Dec 05 19:17
Hi tsuji
Thanks for this, but does this mean that I have to reference a new/different DLL?
------------------------------------------------------------------------------------------------------------------
tsuji (TechnicalUser) 2 Dec 05 20:44
Can make the same reference to
Microsoft XML, v3.0
as you seem to making version dependent domdocument. In that case, type it like this.
Dim xmlHTTP As MSXML2.xmlHTTP
Set xmlHTTP = New MSXML2.xmlHTTP
The dll in question is targetted to msxml3.dll.
------------------------------------------------------------------------------------------------------------------
[red]The above did not help as I am already referencing msxml3.dll, and therefore the automation error still occurs on the test PC.[/red]
Tsuji -> Thanks for trying, but it's just not working.
Posted this on the XML board but had no luck.
I am re-posting this on the VB board together with Tsuji's suggestions, hoping someone has encountered a similar problem and has found a solution for it.
Anyone please?
Thanks in advance.
![[bigcheeks] [bigcheeks] [bigcheeks]](/data/assets/smilies/bigcheeks.gif)
------------------------------------------------------------------------------------------------------------------
Hi
I am using XML with my VB app, and everything works fine on the development PC which runs on XP Pro.
When I install it on a test PC running WinME though it gives me the above error.
The error occurs on this line of code:
Code:
Dim objXMLHTTP As xmlHTTP
Dim xmlHTTP As MSXML2.ServerXMLHTTP30
Dim xmlDoc As MSXML2.DOMDocument30
Set xmlDoc = New MSXML2.DOMDocument30
'Error occurs here
Set xmlHTTP = New MSXML2.ServerXMLHTTP30
Thanks in advance.
------------------------------------------------------------------------------------------------------------------
tsuji (TechnicalUser) 2 Dec 05 11:00
Try rather this?
>Dim xmlHTTP As MSXML2.ServerXMLHTTP30
Dim xmlHTTP As Microsoft.XMLHTTP
>Set xmlHTTP = New MSXML2.ServerXMLHTTP30
Set xmlHTTP = New Microsoft.XMLHTTP
You may find win9x series not supporting msxml2.serverxmlhttp class.
------------------------------------------------------------------------------------------------------------------
DeltaTech (Programmer) 2 Dec 05 19:17
Hi tsuji
Thanks for this, but does this mean that I have to reference a new/different DLL?
------------------------------------------------------------------------------------------------------------------
tsuji (TechnicalUser) 2 Dec 05 20:44
Can make the same reference to
Microsoft XML, v3.0
as you seem to making version dependent domdocument. In that case, type it like this.
Dim xmlHTTP As MSXML2.xmlHTTP
Set xmlHTTP = New MSXML2.xmlHTTP
The dll in question is targetted to msxml3.dll.
------------------------------------------------------------------------------------------------------------------
[red]The above did not help as I am already referencing msxml3.dll, and therefore the automation error still occurs on the test PC.[/red]
Tsuji -> Thanks for trying, but it's just not working.