I am working in Visual studio 2008 using C#.In my Mobile application i wanted to check the value entered in the text box with the values in the FILE.But i am not able to find the path when i Run with the EMulator.
Here is the simple code i used
private void btnPswdSbmit_Click(object sender, EventArgs e)
{
string Filepath = "Project.txt";
if (File.Exists(Filepath) == true)
{
line = strread.ReadLine();
if (line == txtPswd.Text)
{
Basic b = new Basic();
b.Show();
this.Close();
}
}
Can any one guide me why my File is not found by the emulator compiler.I have seen online and searched a lot They gave me different solutions but the problem was that even i couldnt load
System.IO.IsolatedSTorage.
Any other way to load my file??
Thanks in advance

New Topic/Question
Reply


MultiQuote






|