![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
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 |
#2
|
|||
|
|||
![]()
This really should be posted to a C# or .NET group, it has nothing at all to
do with Outlook. Use Assembly.GetExecutingAssembly().Location to get the location where the code is installed. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "pc_adv" wrote in message ... 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... |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How do I make my calendar open to the current week not the current | Pat | Outlook - Calandaring | 0 | March 28th 08 10:03 PM |
what is an LDAP directory | Shirl | Outlook - Using Contacts | 3 | October 10th 07 03:33 AM |
Adding days expired in current year and days remaining in current | prezoneday | Outlook - Calandaring | 1 | February 2nd 07 02:26 AM |
LDAP Directory | flossie | Outlook - Using Contacts | 1 | August 1st 06 04:45 AM |
directory for uploads... | Jim Wood | Outlook Express | 2 | June 7th 06 09:19 PM |