A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Outlook 2003 Add-In Settings



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old October 24th 07, 01:35 PM posted to microsoft.public.outlook.program_addins
Ramon Espuga
external usenet poster
 
Posts: 2
Default Outlook 2003 Add-In Settings

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  
Old October 24th 07, 02:58 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Outlook 2003 Add-In Settings

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  
Old October 26th 07, 09:11 AM posted to microsoft.public.outlook.program_addins
Ramon Espuga
external usenet poster
 
Posts: 2
Default Outlook 2003 Add-In Settings

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
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


All times are GMT +1. The time now is 10:44 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.