i have just coded a database application. my sql strings are contained in .txt files and i read them as textstreams before passing them to the database. i want to distribute the application over an intranet but don't know how best to refer to the .txt files.
in development, i have simply used a reference to the files' path on my local machine but when the application is distributed as an .exe, there will be no common network drive.
i know that a document can be added to a project but don't know how i can refer to it in code. MSDN and textbooks have not yielded the answer - i am sure the answer is easy, but i don't know it!
thanks
gusset
in development, i have simply used a reference to the files' path on my local machine but when the application is distributed as an .exe, there will be no common network drive.
i know that a document can be added to a project but don't know how i can refer to it in code. MSDN and textbooks have not yielded the answer - i am sure the answer is easy, but i don't know it!
thanks
gusset