problem with xml component(s)
- From: "vtxr1300" <cakewalkr7@xxxxxxxxxxx>
- Date: 18 Jan 2007 14:05:42 -0800
I have a component that runs fine on a server, but from my local
machine will not run. All it does is open an xml file. The line below
that is commented out is the original that runs fine and the
uncommented line is one I tried by setting a reference to my own local
msxml component. I have granted full access permissions to everyone
for the file but it still gets into the err.raise -11 portion. In
another vb program, I'm calling this code and right before it I use the
filesystemobject and I can open the file and read it. So, I'm stumped
as to what might be wrong. Anyone have any ideas of something else I
could try? thanks.
'Set xmlDoc = CreateObject("Msxml2.DOMDocument.3.0")
Set xmlDoc = New MSXML2.DOMDocument30
xmlDoc.async = False
IsOk = xmlDoc.Load(FilePath)
If Not IsOk Then
Err.Raise -11, "GetString", "Problem Opening Source"
Set xmlDoc = Nothing
Exit Function
End If
.
- Follow-Ups:
- Re: problem with xml component(s)
- From: Tony Proctor
- Re: problem with xml component(s)
- Prev by Date: Re: Invalid procedure call or argument - Dir function
- Next by Date: Re: Display file properties from VB?
- Previous by thread: Password Randomization Web Service / App
- Next by thread: Re: problem with xml component(s)
- Index(es):
Relevant Pages
|