View Single Post
  #1  
Old September 24th 08, 06:26 AM posted to microsoft.public.outlook.program_addins
pc_adv
external usenet poster
 
Posts: 1
Default How To get the paht to my current directory?

hello,
I am trying to read from a text file like this:

StreamReader sr = new StreamReader(Application.StartupPath);

but because the Application.StartupPath = "C:\Program Files\Microsoft
Office\Office12"
I cant read the file from the add in directory

how can i get the path?
--
thank you...
Ads