|
|
Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Hi,
I try to program with VS2005 and VSTO an AddIn to pop up contact type public folder when call arrives. I would like to get by program the same Outlook 2003 display that I get manualy which is this: I added the PF as favorites, so I can see them in "other contacts" section when I click contact button in the navigation pane. With this way, I can see cards of contacts, selected contact in preview pane, and I can also have the different views I can select in the navigation pane. Does anybody know how I can program this when I open the Public folder in my Addin ? because by default, I get the all folders list in the navigation pane.
Thank you.
|
|
Add the folder to the Public Folders\Favorites hierarchy using the AddToPFFavorites method.
-- Sue Mosher, Outlook MVP Author of Configuring Microsoft Outlook 2003 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "Nkv" <Nkv[ at ]discussions.microsoft.com> wrote in message news:3B8F73D0-8309-4760-BEC0-281FBF56C426[ at ]microsoft.com...
[Quoted Text] > Hi, > > I try to program with VS2005 and VSTO an AddIn to pop up contact type public > folder when call arrives. > I would like to get by program the same Outlook 2003 display that I get > manualy which is this: > I added the PF as favorites, so I can see them in "other contacts" section > when I click contact button in the navigation pane. With this way, I can see > cards of contacts, selected contact in preview pane, and I can also have the > different views I can select in the navigation pane. > Does anybody know how I can program this when I open the Public folder in my > Addin ? because by default, I get the all folders list in the navigation pane. > > Thank you. >
|
|
Sorry Sue, I didn't correctly explain the part I was missing. Putting the folders in favorite is ok, the thing I would like programmatically is to open a new explorer with the contact view (this is also ok programmatically) but after that (and it is what I missunderstand) I want to select and display programmatically one of the folder listed in the "other contacts" part of the navigation pane of contact type (folder previously added to favorite)
Thank you.
"Sue Mosher [MVP-Outlook]" wrote:
[Quoted Text] > Add the folder to the Public Folders\Favorites hierarchy using the AddToPFFavorites method. > > -- > Sue Mosher, Outlook MVP > Author of Configuring Microsoft Outlook 2003 > http://www.turtleflock.com/olconfig/index.htm> and Microsoft Outlook Programming - Jumpstart for > Administrators, Power Users, and Developers > http://www.outlookcode.com/jumpstart.aspx> > "Nkv" <Nkv[ at ]discussions.microsoft.com> wrote in message news:3B8F73D0-8309-4760-BEC0-281FBF56C426[ at ]microsoft.com... > > Hi, > > > > I try to program with VS2005 and VSTO an AddIn to pop up contact type public > > folder when call arrives. > > I would like to get by program the same Outlook 2003 display that I get > > manualy which is this: > > I added the PF as favorites, so I can see them in "other contacts" section > > when I click contact button in the navigation pane. With this way, I can see > > cards of contacts, selected contact in preview pane, and I can also have the > > different views I can select in the navigation pane. > > Does anybody know how I can program this when I open the Public folder in my > > Addin ? because by default, I get the all folders list in the navigation pane. > > > > Thank you. > > >
|
|
I think the method you're looking for is Explorer.SelectFolder.
-- Sue Mosher, Outlook MVP Author of Configuring Microsoft Outlook 2003 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "Nkv" <Nkv[ at ]discussions.microsoft.com> wrote in message news:E33F9210-E413-4CB3-A552-D6C29B90A085[ at ]microsoft.com...
[Quoted Text] > Sorry Sue, I didn't correctly explain the part I was missing. > Putting the folders in favorite is ok, the thing I would like > programmatically is to open a new explorer with the contact view (this is > also ok programmatically) but after that (and it is what I missunderstand) I > want to select and display programmatically one of the folder listed in the > "other contacts" part of the navigation pane of contact type (folder > previously added to favorite) > > Thank you. > > "Sue Mosher [MVP-Outlook]" wrote: > >> Add the folder to the Public Folders\Favorites hierarchy using the AddToPFFavorites method. >> >> "Nkv" <Nkv[ at ]discussions.microsoft.com> wrote in message news:3B8F73D0-8309-4760-BEC0-281FBF56C426[ at ]microsoft.com... >> > Hi, >> > >> > I try to program with VS2005 and VSTO an AddIn to pop up contact type public >> > folder when call arrives. >> > I would like to get by program the same Outlook 2003 display that I get >> > manualy which is this: >> > I added the PF as favorites, so I can see them in "other contacts" section >> > when I click contact button in the navigation pane. With this way, I can see >> > cards of contacts, selected contact in preview pane, and I can also have the >> > different views I can select in the navigation pane. >> > Does anybody know how I can program this when I open the Public folder in my >> > Addin ? because by default, I get the all folders list in the navigation pane. >> > >> > Thank you. >> > >>
|
|
I used this method, but it changes the navigation pane content from contact type to all folders list: I try to keep the contact content in the navigation pane because the public folder I display is contact type, and with contact pane I can still easily see the other contact folders, and change view under.
"Sue Mosher [MVP-Outlook]" wrote:
[Quoted Text] > I think the method you're looking for is Explorer.SelectFolder. > > -- > Sue Mosher, Outlook MVP > Author of Configuring Microsoft Outlook 2003 > http://www.turtleflock.com/olconfig/index.htm> and Microsoft Outlook Programming - Jumpstart for > Administrators, Power Users, and Developers > http://www.outlookcode.com/jumpstart.aspx> > "Nkv" <Nkv[ at ]discussions.microsoft.com> wrote in message news:E33F9210-E413-4CB3-A552-D6C29B90A085[ at ]microsoft.com... > > Sorry Sue, I didn't correctly explain the part I was missing. > > Putting the folders in favorite is ok, the thing I would like > > programmatically is to open a new explorer with the contact view (this is > > also ok programmatically) but after that (and it is what I missunderstand) I > > want to select and display programmatically one of the folder listed in the > > "other contacts" part of the navigation pane of contact type (folder > > previously added to favorite) > > > > Thank you. > > > > "Sue Mosher [MVP-Outlook]" wrote: > > > >> Add the folder to the Public Folders\Favorites hierarchy using the AddToPFFavorites method. > >> > >> "Nkv" <Nkv[ at ]discussions.microsoft.com> wrote in message news:3B8F73D0-8309-4760-BEC0-281FBF56C426[ at ]microsoft.com... > >> > Hi, > >> > > >> > I try to program with VS2005 and VSTO an AddIn to pop up contact type public > >> > folder when call arrives. > >> > I would like to get by program the same Outlook 2003 display that I get > >> > manualy which is this: > >> > I added the PF as favorites, so I can see them in "other contacts" section > >> > when I click contact button in the navigation pane. With this way, I can see > >> > cards of contacts, selected contact in preview pane, and I can also have the > >> > different views I can select in the navigation pane. > >> > Does anybody know how I can program this when I open the Public folder in my > >> > Addin ? because by default, I get the all folders list in the navigation pane. > >> > > >> > Thank you. > >> > > >> >
|
|
If it is not possible directly, I would like to know if this one is possible: After opening the contact, personal contact is selected and displayed in the explorer. In the navigation pane, I see contact public folders, added as favorite: how can I select one of these, just like manually clicking on it ? Is there a way to get event happening when manually clicking on it ?
thank you.
"Nkv" a écrit :
[Quoted Text] > I used this method, but it changes the navigation pane content from contact > type to all folders list: I try to keep the contact content in the navigation > pane because the public folder I display is contact type, and with contact > pane I can still easily see the other contact folders, and change view under. > > "Sue Mosher [MVP-Outlook]" wrote: > > > I think the method you're looking for is Explorer.SelectFolder. > > > > -- > > Sue Mosher, Outlook MVP > > Author of Configuring Microsoft Outlook 2003 > > http://www.turtleflock.com/olconfig/index.htm> > and Microsoft Outlook Programming - Jumpstart for > > Administrators, Power Users, and Developers > > http://www.outlookcode.com/jumpstart.aspx> > > > "Nkv" <Nkv[ at ]discussions.microsoft.com> wrote in message news:E33F9210-E413-4CB3-A552-D6C29B90A085[ at ]microsoft.com... > > > Sorry Sue, I didn't correctly explain the part I was missing. > > > Putting the folders in favorite is ok, the thing I would like > > > programmatically is to open a new explorer with the contact view (this is > > > also ok programmatically) but after that (and it is what I missunderstand) I > > > want to select and display programmatically one of the folder listed in the > > > "other contacts" part of the navigation pane of contact type (folder > > > previously added to favorite) > > > > > > Thank you. > > > > > > "Sue Mosher [MVP-Outlook]" wrote: > > > > > >> Add the folder to the Public Folders\Favorites hierarchy using the AddToPFFavorites method. > > >> > > >> "Nkv" <Nkv[ at ]discussions.microsoft.com> wrote in message news:3B8F73D0-8309-4760-BEC0-281FBF56C426[ at ]microsoft.com... > > >> > Hi, > > >> > > > >> > I try to program with VS2005 and VSTO an AddIn to pop up contact type public > > >> > folder when call arrives. > > >> > I would like to get by program the same Outlook 2003 display that I get > > >> > manualy which is this: > > >> > I added the PF as favorites, so I can see them in "other contacts" section > > >> > when I click contact button in the navigation pane. With this way, I can see > > >> > cards of contacts, selected contact in preview pane, and I can also have the > > >> > different views I can select in the navigation pane. > > >> > Does anybody know how I can program this when I open the Public folder in my > > >> > Addin ? because by default, I get the all folders list in the navigation pane. > > >> > > > >> > Thank you. > > >> > > > >> > >
|
|
Assign a different folder to the ActiveExplorer.CurrentFolder object property.
-- Sue Mosher, Outlook MVP Author of Configuring Microsoft Outlook 2003 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "Nkv" <Nkv[ at ]discussions.microsoft.com> wrote in message news:E0AB39FB-BB67-401D-8203-B63EAE22E33B[ at ]microsoft.com...
[Quoted Text] > If it is not possible directly, I would like to know if this one is possible: > After opening the contact, personal contact is selected and displayed in the > explorer. > In the navigation pane, I see contact public folders, added as favorite: how > can I select one of these, just like manually clicking on it ? > Is there a way to get event happening when manually clicking on it ? > > thank you. > > "Nkv" a écrit : > >> I used this method, but it changes the navigation pane content from contact >> type to all folders list: I try to keep the contact content in the navigation >> pane because the public folder I display is contact type, and with contact >> pane I can still easily see the other contact folders, and change view under. >> >> "Sue Mosher [MVP-Outlook]" wrote: >> >> > I think the method you're looking for is Explorer.SelectFolder. >> > >> > -- >> > Sue Mosher, Outlook MVP >> > Author of Configuring Microsoft Outlook 2003 >> > http://www.turtleflock.com/olconfig/index.htm>> > and Microsoft Outlook Programming - Jumpstart for >> > Administrators, Power Users, and Developers >> > http://www.outlookcode.com/jumpstart.aspx>> > >> > "Nkv" <Nkv[ at ]discussions.microsoft.com> wrote in message news:E33F9210-E413-4CB3-A552-D6C29B90A085[ at ]microsoft.com... >> > > Sorry Sue, I didn't correctly explain the part I was missing. >> > > Putting the folders in favorite is ok, the thing I would like >> > > programmatically is to open a new explorer with the contact view (this is >> > > also ok programmatically) but after that (and it is what I missunderstand) I >> > > want to select and display programmatically one of the folder listed in the >> > > "other contacts" part of the navigation pane of contact type (folder >> > > previously added to favorite) >> > > >> > > Thank you. >> > > >> > > "Sue Mosher [MVP-Outlook]" wrote: >> > > >> > >> Add the folder to the Public Folders\Favorites hierarchy using the AddToPFFavorites method. >> > >> >> > >> "Nkv" <Nkv[ at ]discussions.microsoft.com> wrote in message news:3B8F73D0-8309-4760-BEC0-281FBF56C426[ at ]microsoft.com... >> > >> > Hi, >> > >> > >> > >> > I try to program with VS2005 and VSTO an AddIn to pop up contact type public >> > >> > folder when call arrives. >> > >> > I would like to get by program the same Outlook 2003 display that I get >> > >> > manualy which is this: >> > >> > I added the PF as favorites, so I can see them in "other contacts" section >> > >> > when I click contact button in the navigation pane. With this way, I can see >> > >> > cards of contacts, selected contact in preview pane, and I can also have the >> > >> > different views I can select in the navigation pane. >> > >> > Does anybody know how I can program this when I open the Public folder in my >> > >> > Addin ? because by default, I get the all folders list in the navigation pane. >> > >> > >> > >> > Thank you. >> > >> > >> > >> >> >
|
|
Thank you Sue Mosher for your help, I'm gonna try this.
"Sue Mosher [MVP-Outlook]" a écrit :
[Quoted Text] > Assign a different folder to the ActiveExplorer.CurrentFolder object property. > > -- > Sue Mosher, Outlook MVP > Author of Configuring Microsoft Outlook 2003 > http://www.turtleflock.com/olconfig/index.htm> and Microsoft Outlook Programming - Jumpstart for > Administrators, Power Users, and Developers > http://www.outlookcode.com/jumpstart.aspx> > "Nkv" <Nkv[ at ]discussions.microsoft.com> wrote in message news:E0AB39FB-BB67-401D-8203-B63EAE22E33B[ at ]microsoft.com... > > If it is not possible directly, I would like to know if this one is possible: > > After opening the contact, personal contact is selected and displayed in the > > explorer. > > In the navigation pane, I see contact public folders, added as favorite: how > > can I select one of these, just like manually clicking on it ? > > Is there a way to get event happening when manually clicking on it ? > > > > thank you. > > > > "Nkv" a écrit : > > > >> I used this method, but it changes the navigation pane content from contact > >> type to all folders list: I try to keep the contact content in the navigation > >> pane because the public folder I display is contact type, and with contact > >> pane I can still easily see the other contact folders, and change view under. > >> > >> "Sue Mosher [MVP-Outlook]" wrote: > >> > >> > I think the method you're looking for is Explorer.SelectFolder. > >> > > >> > -- > >> > Sue Mosher, Outlook MVP > >> > Author of Configuring Microsoft Outlook 2003 > >> > http://www.turtleflock.com/olconfig/index.htm> >> > and Microsoft Outlook Programming - Jumpstart for > >> > Administrators, Power Users, and Developers > >> > http://www.outlookcode.com/jumpstart.aspx> >> > > >> > "Nkv" <Nkv[ at ]discussions.microsoft.com> wrote in message news:E33F9210-E413-4CB3-A552-D6C29B90A085[ at ]microsoft.com... > >> > > Sorry Sue, I didn't correctly explain the part I was missing. > >> > > Putting the folders in favorite is ok, the thing I would like > >> > > programmatically is to open a new explorer with the contact view (this is > >> > > also ok programmatically) but after that (and it is what I missunderstand) I > >> > > want to select and display programmatically one of the folder listed in the > >> > > "other contacts" part of the navigation pane of contact type (folder > >> > > previously added to favorite) > >> > > > >> > > Thank you. > >> > > > >> > > "Sue Mosher [MVP-Outlook]" wrote: > >> > > > >> > >> Add the folder to the Public Folders\Favorites hierarchy using the AddToPFFavorites method. > >> > >> > >> > >> "Nkv" <Nkv[ at ]discussions.microsoft.com> wrote in message news:3B8F73D0-8309-4760-BEC0-281FBF56C426[ at ]microsoft.com... > >> > >> > Hi, > >> > >> > > >> > >> > I try to program with VS2005 and VSTO an AddIn to pop up contact type public > >> > >> > folder when call arrives. > >> > >> > I would like to get by program the same Outlook 2003 display that I get > >> > >> > manualy which is this: > >> > >> > I added the PF as favorites, so I can see them in "other contacts" section > >> > >> > when I click contact button in the navigation pane. With this way, I can see > >> > >> > cards of contacts, selected contact in preview pane, and I can also have the > >> > >> > different views I can select in the navigation pane. > >> > >> > Does anybody know how I can program this when I open the Public folder in my > >> > >> > Addin ? because by default, I get the all folders list in the navigation pane. > >> > >> > > >> > >> > Thank you. > >> > >> > > >> > >> > >> > >
|
|
Sorry I didn't succeed in geting the navigation pane filled with the contact pane content, like manually when clicking on the contact pane on the left. Do you know how to get this done ?
Thank you.
"Sue Mosher [MVP-Outlook]" wrote:
[Quoted Text] > Assign a different folder to the ActiveExplorer.CurrentFolder object property. > > -- > Sue Mosher, Outlook MVP > Author of Configuring Microsoft Outlook 2003 > http://www.turtleflock.com/olconfig/index.htm> and Microsoft Outlook Programming - Jumpstart for > Administrators, Power Users, and Developers > http://www.outlookcode.com/jumpstart.aspx> > "Nkv" <Nkv[ at ]discussions.microsoft.com> wrote in message news:E0AB39FB-BB67-401D-8203-B63EAE22E33B[ at ]microsoft.com... > > If it is not possible directly, I would like to know if this one is possible: > > After opening the contact, personal contact is selected and displayed in the > > explorer. > > In the navigation pane, I see contact public folders, added as favorite: how > > can I select one of these, just like manually clicking on it ? > > Is there a way to get event happening when manually clicking on it ? > > > > thank you. > > > > "Nkv" a écrit : > > > >> I used this method, but it changes the navigation pane content from contact > >> type to all folders list: I try to keep the contact content in the navigation > >> pane because the public folder I display is contact type, and with contact > >> pane I can still easily see the other contact folders, and change view under. > >> > >> "Sue Mosher [MVP-Outlook]" wrote: > >> > >> > I think the method you're looking for is Explorer.SelectFolder. > >> > > >> > -- > >> > Sue Mosher, Outlook MVP > >> > Author of Configuring Microsoft Outlook 2003 > >> > http://www.turtleflock.com/olconfig/index.htm> >> > and Microsoft Outlook Programming - Jumpstart for > >> > Administrators, Power Users, and Developers > >> > http://www.outlookcode.com/jumpstart.aspx> >> > > >> > "Nkv" <Nkv[ at ]discussions.microsoft.com> wrote in message news:E33F9210-E413-4CB3-A552-D6C29B90A085[ at ]microsoft.com... > >> > > Sorry Sue, I didn't correctly explain the part I was missing. > >> > > Putting the folders in favorite is ok, the thing I would like > >> > > programmatically is to open a new explorer with the contact view (this is > >> > > also ok programmatically) but after that (and it is what I missunderstand) I > >> > > want to select and display programmatically one of the folder listed in the > >> > > "other contacts" part of the navigation pane of contact type (folder > >> > > previously added to favorite) > >> > > > >> > > Thank you. > >> > > > >> > > "Sue Mosher [MVP-Outlook]" wrote: > >> > > > >> > >> Add the folder to the Public Folders\Favorites hierarchy using the AddToPFFavorites method. > >> > >> > >> > >> "Nkv" <Nkv[ at ]discussions.microsoft.com> wrote in message news:3B8F73D0-8309-4760-BEC0-281FBF56C426[ at ]microsoft.com... > >> > >> > Hi, > >> > >> > > >> > >> > I try to program with VS2005 and VSTO an AddIn to pop up contact type public > >> > >> > folder when call arrives. > >> > >> > I would like to get by program the same Outlook 2003 display that I get > >> > >> > manualy which is this: > >> > >> > I added the PF as favorites, so I can see them in "other contacts" section > >> > >> > when I click contact button in the navigation pane. With this way, I can see > >> > >> > cards of contacts, selected contact in preview pane, and I can also have the > >> > >> > different views I can select in the navigation pane. > >> > >> > Does anybody know how I can program this when I open the Public folder in my > >> > >> > Addin ? because by default, I get the all folders list in the navigation pane. > >> > >> > > >> > >> > Thank you. > >> > >> > > >> > >> > >> > >
|
|
I don't believe you can.
-- 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
"Nkv" <Nkv[ at ]discussions.microsoft.com> wrote in message news:BF0BE151-8116-4368-9AF9-12482A16E10B[ at ]microsoft.com...
[Quoted Text] > Sorry I didn't succeed in geting the navigation pane filled with the > contact > pane content, like manually when clicking on the contact pane on the left. > Do > you know how to get this done ? > > Thank you.
|
|
Ok, thank you for this answer, I will make my customer accept it. Sorry by the time I also post it to MSDN forum.
"Ken Slovak - [MVP - Outlook]" wrote:
[Quoted Text] > I don't believe you can. > > -- > 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> > > "Nkv" <Nkv[ at ]discussions.microsoft.com> wrote in message > news:BF0BE151-8116-4368-9AF9-12482A16E10B[ at ]microsoft.com... > > Sorry I didn't succeed in geting the navigation pane filled with the > > contact > > pane content, like manually when clicking on the contact pane on the left. > > Do > > you know how to get this done ? > > > > Thank you. > >
|
|
|