VenkatRastapuram
Programmer
Hello Sir,
I am developing a application in .NET compact Framework.
There is a file DataFile.xml. It is there in the local directory but there is a FileNotFound Exception while reading the file.
System.IO.Path.GetFullpath("DataFile.xml"
is returning a complete path which is a string.
the path is displayed in the messagebox also.
But it is giving a FileNotFound Excepiton while reading that file. similar case with all the files in the directory
for eg:
try
{
string filepath = System.IO.Path.GetFullPath("DataFile.xml"
System.IO.FileStream filereader = File.OpenRead(filepath);
}
catch(Exception e)
{
MessageBox.show(e.message());
}
the above code is giving FileNotFound Exception
File is there and I checked the the file names also.
Please try to solve my problem,Urgent
Regards,
R.Venkatesh
MakeLogic
venkat@makelogicmldb.com
I am developing a application in .NET compact Framework.
There is a file DataFile.xml. It is there in the local directory but there is a FileNotFound Exception while reading the file.
System.IO.Path.GetFullpath("DataFile.xml"
is returning a complete path which is a string.
the path is displayed in the messagebox also.
But it is giving a FileNotFound Excepiton while reading that file. similar case with all the files in the directory
for eg:
try
{
string filepath = System.IO.Path.GetFullPath("DataFile.xml"
System.IO.FileStream filereader = File.OpenRead(filepath);
}
catch(Exception e)
{
MessageBox.show(e.message());
}
the above code is giving FileNotFound Exception
File is there and I checked the the file names also.
Please try to solve my problem,Urgent
Regards,
R.Venkatesh
MakeLogic
venkat@makelogicmldb.com