N
nant15
Hi, I have some problem with my application which i think it is
completely not related to my coding or my design...I was getting
Program Memory Low screen as soon as i try to open the file using the
path stored in my static variable. Here is the sample of it:
I'm using VS2003 and .NETCF SP3, OpenNETCF1.3 in this project
File.OpenText( @"\file.txt" ); //OK
File.OpenText( @"\Program Files\project\file.txt" ); //OK
//Path of the Application, Static
Program.Path = System.IO.Path.GetDirectoryName(
System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase )
+ @"\";
File.OpenText( @"\Program Files\project\file.txt" ); //OK
File.OpenText( Program.Path + "file.txt" ); //?????
As Soon as the Debugger Hit the last line, the emulator shows the
Program Memory Low Page.
Any ideas ?
completely not related to my coding or my design...I was getting
Program Memory Low screen as soon as i try to open the file using the
path stored in my static variable. Here is the sample of it:
I'm using VS2003 and .NETCF SP3, OpenNETCF1.3 in this project
File.OpenText( @"\file.txt" ); //OK
File.OpenText( @"\Program Files\project\file.txt" ); //OK
//Path of the Application, Static
Program.Path = System.IO.Path.GetDirectoryName(
System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase )
+ @"\";
File.OpenText( @"\Program Files\project\file.txt" ); //OK
File.OpenText( Program.Path + "file.txt" ); //?????
As Soon as the Debugger Hit the last line, the emulator shows the
Program Memory Low Page.
Any ideas ?