Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

XML DOM

Posted on 2008-11-11
1
Medium Priority
?
269 Views
Last Modified: 2012-06-22
I am using XMLDOM to open and read the nodes of an XML documents on a remote server.

The names of the files are based on the date.  

But it is doing something weird.  If I try to open a file named "xxx20080902" and it is not there it is opening "xxx20080920".  Any idea why?

Can I check for the files existence before trying to open using XMLDOM?
0
Comment
Question by:bnields
1 Comment
 
LVL 14

Accepted Solution

by:
rejoinder earned 2000 total points
ID: 22947651
This is the command to check to see if the file exists.
Set filesys = CreateObject("Scripting.FileSystemObject") 
If filesys.FileExists("c:\somefile.xml") Then
    'File Found
else
    'File not found
End If 

Open in new window

0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

What is Node.js? Node.js is a server side scripting language much like PHP or ASP but is used to implement the complete package of HTTP webserver and application framework. The difference is that Node.js’s execution engine is asynchronous and event…
Deploying a Microsoft Access application in a Citrix environment is not difficult but takes a few steps. However, Citrix system people are often of little help, as they typically know next to nothing about Access. The script provided here will take …
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to choose which pages of your form are visible to your users based on their inputs. The page rules feature provides you with an opportunity to create if:then statements for y…
Learn how to set-up PayPal payment integration in your Wufoo form. Allow your users to remit payment through PayPal upon completion of your online form. This is helpful for collecting membership payments, customer payments, donations, and more.

580 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question