Hello, I am studying in The Netherlands, and i'm in the 3th grade of the MTS (Information Technology). At this moment i be trained on the job, but...

How It Works

Get an answer in three easy steps. Here's how it works...

Ask Your Question

1. Ask Your Question

Enter your programming question at the top of this page and click Get An Answer.

Pick Your Priority

2. Pick Your Priority

Tell us how quickly you want your programming question answered.

Get An Answer

3. Get An Answer

Connect with your programmer via online chat or telephone call.

Answer

Customer
Hello, I am studying in The Netherlands, and i'm in the 3th grade of the MTS (Information Technology). At this moment i be trained on the job, but something wont work, it is the easiest part of the whole ASP-code, but the function: FileExists wont work!!! We use the ASP-version of Front Page 98 CD (3.0). I used this code: <html> <head> <title>File Exists</title> </head> <body> <% Dim fso, msg Set fso = CreateObject("Scripting.FileSystemObject") If (fso.FileExists("C:\autoexec.bat")) Then msg = filespec & " exists." Else msg = filespec & " doesn't exist." End If ReportFileStatus = msg %> </body> </html> And this is the output: Microsoft VBScript runtime error '800a01b6' Object doesn't support this property or method: 'FileExists' /DOCNUM/fileexist2.asp, line 12 Does anybody know how it will work??? Because i really need that function... Please reply my message. Thanks! M. de Kunder
Last updated
tkhuu
Programmer
Maurice, your code looks perfectly fine. In fact, I cut and paste it onto my server and it ran nicely. However, I'm running IIS 4.0, so I'm guessing it's a setup or front page asp version or something. It's not the code, the code is correct. Good luck.
Posted

quoteTestimonialsquote

About ExpertHelp

ExpertHelp is changing the way you connect with service professionals.

Whether you have a quick question while preparing your taxes, troubleshooting a computer problem, or need to hire an attorney, ExpertHelp is the most convenient and affordable way to connect with the right service professional to get the job done.

ExpertHelp has been in business since 2011, is an A+ Rated Better Business Bureau accredited member, and offers a 100% satisfaction guarantee on every question you ask!

More Programming Questions...

Ask Your Programming Question & Get An Answer Now!