Bonekrusher
Active member
- Joined
- Jul 4, 2007
- Messages
- 38
- Programming Experience
- 1-3
Hi I am getting this error when using the FileSystemObject. I am using visual web developer express (running local);
"Exception from HRESULT: 0x800A004C (CTL_E_PATHNOTFOUND)"
I have confirmed my path is correct. I created the website on my laptop using CS2005 and it works fine. But when I transfer to my home computer, I am getting the error:
here is some of code:
Any ideas?
"Exception from HRESULT: 0x800A004C (CTL_E_PATHNOTFOUND)"
I have confirmed my path is correct. I created the website on my laptop using CS2005 and it works fine. But when I transfer to my home computer, I am getting the error:
here is some of code:
VB.NET:
Dim path As String = "C:\temp\myxml.xml"
' declare variables
Dim oFile
Dim fso, oFolder, oFiles, myfile
fso = CreateObject("Scripting.FileSystemObject")
oFolder = fso.GetFolder(path)
oFiles = oFolder.Files
Any ideas?