![]() |
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'm developing an Outlook 2003 Add-In in Visual Studio 2003 and there are some properties that I want to save into a configuration file. I know that I can use OUTLOOK.EXE.config but I think is not a good solution. Wich is the better way to do this? Lot of thanks, Ramon |
#2
|
|||
|
|||
![]()
You can create a file with any name you want, but if you intend to write to
it make sure it's in a place that can be written to on Vista and other restricted systems. That means not anywhere in \Program Files or other restricted locations. Usually the best way to go about things is to: A. Write an INI file to LocalAppData, which you can find using the API function ShGetFolderPath. B. Use the application user settings provided by VS. C. Write your settings to the registry in the HKCU hive. -- 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 "Ramon Espuga" wrote in message ... Hello, I'm developing an Outlook 2003 Add-In in Visual Studio 2003 and there are some properties that I want to save into a configuration file. I know that I can use OUTLOOK.EXE.config but I think is not a good solution. Wich is the better way to do this? Lot of thanks, Ramon |
#3
|
|||
|
|||
![]()
Lots of thanks Ken for your rapid response. Looking to the three options I
prefer writing a file to disk, I have been looking for some examples into the web but I haven't found any useful for me, can you give me some link or example in how to do this? In the other hand, you are talking about application user settings provided by VS, are there application user settings in Visual Studio 2003? I haven't found it Ramon "Ken Slovak - [MVP - Outlook]" wrote: You can create a file with any name you want, but if you intend to write to it make sure it's in a place that can be written to on Vista and other restricted systems. That means not anywhere in \Program Files or other restricted locations. Usually the best way to go about things is to: A. Write an INI file to LocalAppData, which you can find using the API function ShGetFolderPath. B. Use the application user settings provided by VS. C. Write your settings to the registry in the HKCU hive. -- 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 "Ramon Espuga" wrote in message ... Hello, I'm developing an Outlook 2003 Add-In in Visual Studio 2003 and there are some properties that I want to save into a configuration file. I know that I can use OUTLOOK.EXE.config but I think is not a good solution. Wich is the better way to do this? Lot of thanks, Ramon |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Outlook 2003 and GPO settings | Rowan Prior | Outlook - General Queries | 5 | May 23rd 07 11:26 PM |
Outlook 2003 account settings | Head scratcher | Outlook - Installation | 3 | February 7th 07 03:37 AM |
How to move Outlook 2003 SETTINGS to a new pc | Phil Brown (NZ) | Outlook - Installation | 4 | September 28th 06 09:25 AM |
Account settings in Outlook 2003 | Josh | Outlook - Installation | 3 | June 17th 06 11:46 AM |
Office Outlook 2003 settings | DJ | Outlook - Installation | 1 | January 10th 06 05:43 PM |