I think I posted this on another message board that I should not have.

Anyway, I am fairly new to programming for mobile and I am using VB .Net.
I include text files in my VB project, however in the programming what
directory do I need to use to reference these text files?

I need to open a text file based on user input from a treeview into a
streamreader and then read that text file into a text box. However when I
run the program, I keep getting a file not found exception.

Thanks for the information

Re: Text file question by Ginny

Ginny
Sun Oct 09 10:07:55 CDT 2005

Brad,

It doesn't ordinarily matter where you put the files, but you need to always
reference them using their full paths since there is no concept of current
directory on Windows CE.

--
Ginny Caughey
.NET Compact Framework MVP


"Brad" <Brad@discussions.microsoft.com> wrote in message
news:670D603F-F07F-49FA-94D2-7D0E0CDBB6E5@microsoft.com...
>I think I posted this on another message board that I should not have.
>
> Anyway, I am fairly new to programming for mobile and I am using VB .Net.
> I include text files in my VB project, however in the programming what
> directory do I need to use to reference these text files?
>
> I need to open a text file based on user input from a treeview into a
> streamreader and then read that text file into a text box. However when I
> run the program, I keep getting a file not found exception.
>
> Thanks for the information