![]() |
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
|
|||
|
|||
![]()
Hi
Does anyone have a code snippet i can use to programmatically open the tools-options dialog and if really good select a specific tab. I have coded my solution with VSTO C#, but any code will be fine. I hope somebody has done this before, or just know their way around in Outlooks Objectmodel. Best regards /Anders |
Ads |
#2
|
|||
|
|||
![]()
You can't do that. You could get the ID of the command bar control object
that represents Tools, Options and call its Execute method to open the dialog but from there you couldn't control the tabs or which one has focus. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "pnp" wrote in message ... Hi Does anyone have a code snippet i can use to programmatically open the tools-options dialog and if really good select a specific tab. I have coded my solution with VSTO C#, but any code will be fine. I hope somebody has done this before, or just know their way around in Outlooks Objectmodel. Best regards /Anders |
#3
|
|||
|
|||
![]()
Ok.
So if I need the user to set some "initial" parameters when the addin is installed, and run the first time - what would be best practice there? The only (reasonable) options i can figure out is these two: 1. A "wizard" that lets you set these settings. 2. A messagebox telling the user to open tools-options and set the missing parameters. The parameters can't be given a default value that make sense, since the addin needs some filepaths to store information - and this path will be different for most users. Best regards /Anders "Ken Slovak - [MVP - Outlook]" wrote: You can't do that. You could get the ID of the command bar control object that represents Tools, Options and call its Execute method to open the dialog but from there you couldn't control the tabs or which one has focus. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "pnp" wrote in message ... Hi Does anyone have a code snippet i can use to programmatically open the tools-options dialog and if really good select a specific tab. I have coded my solution with VSTO C#, but any code will be fine. I hope somebody has done this before, or just know their way around in Outlooks Objectmodel. Best regards /Anders |
#4
|
|||
|
|||
![]()
In cases like that I usually check for a first run state (maybe blank values
in the registry or an INI file) and display a configuration dialog form. I leave access to the Tools, Options tab for the user. A wizard is an alternative. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "pnp" wrote in message ... Ok. So if I need the user to set some "initial" parameters when the addin is installed, and run the first time - what would be best practice there? The only (reasonable) options i can figure out is these two: 1. A "wizard" that lets you set these settings. 2. A messagebox telling the user to open tools-options and set the missing parameters. The parameters can't be given a default value that make sense, since the addin needs some filepaths to store information - and this path will be different for most users. Best regards /Anders |
#5
|
|||
|
|||
![]()
Yes, the same form can almost be reused in an initial configuration window as
the one in tools, options. I'll take a look at it. Thanks for the response, it's always nice to know when something you're trying to do can't be done - and you can stop looking for a solution. /Anders "Ken Slovak - [MVP - Outlook]" wrote: In cases like that I usually check for a first run state (maybe blank values in the registry or an INI file) and display a configuration dialog form. I leave access to the Tools, Options tab for the user. A wizard is an alternative. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "pnp" wrote in message ... Ok. So if I need the user to set some "initial" parameters when the addin is installed, and run the first time - what would be best practice there? The only (reasonable) options i can figure out is these two: 1. A "wizard" that lets you set these settings. 2. A messagebox telling the user to open tools-options and set the missing parameters. The parameters can't be given a default value that make sense, since the addin needs some filepaths to store information - and this path will be different for most users. Best regards /Anders |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Printing Options in Outlook 2002 | Bill Nygaard | Outlook - Calandaring | 0 | May 31st 06 10:16 PM |
Outlook 2003 Options | Ed Wyche | Outlook - General Queries | 2 | April 6th 06 02:22 PM |
Cut & Paste Outlook Display Names Into To Field Display As ; | PJ | Outlook - Using Contacts | 0 | March 9th 06 04:16 PM |
Outlook 2003 | Tools | Options | Calendar options | Sue Mosher [MVP-Outlook] | Outlook - General Queries | 0 | January 18th 06 09:59 PM |
Display options | Tcs | Outlook - General Queries | 3 | January 18th 06 06:11 PM |