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 » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

How to get selected calendar folder list in Outlook2003?



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old January 19th 07, 12:05 PM posted to microsoft.public.outlook.program_vba
Ami
external usenet poster
 
Posts: 4
Default How to get selected calendar folder list in Outlook2003?

Hi All,
In Outlook-2003, We can select multiple calendar folders for
simultenous view by checking the checkbox in left side pane. Is it
possible to track that which calendar folders are selected (checked in
UI) for current view using Outlook Object model or any other coding
way.

It would be great help, if some one can give me some pointer for it.

Thanks in advance.

With best Regards,

Ads
  #2  
Old January 19th 07, 07:43 PM posted to microsoft.public.outlook.program_vba
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default How to get selected calendar folder list in Outlook2003?


You can check with Explorer.IsFolderSelected.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
Keep your Outlook categories organized!
http://www.shareit.com/product.html?...4&languageid=1
(German: http://www.VBOffice.net/product.html?pub=6)


Am 19 Jan 2007 03:05:00 -0800 schrieb Ami:

Hi All,
In Outlook-2003, We can select multiple calendar folders for
simultenous view by checking the checkbox in left side pane. Is it
possible to track that which calendar folders are selected (checked in
UI) for current view using Outlook Object model or any other coding
way.

It would be great help, if some one can give me some pointer for it.

Thanks in advance.

With best Regards,

  #3  
Old January 21st 07, 03:07 PM posted to microsoft.public.outlook.program_vba
Ami
external usenet poster
 
Posts: 4
Default How to get selected calendar folder list in Outlook2003?

Many thanks Michael for your reply. Can i use this function using VC++.
Any idea how can i do it in VC++. Any sample code would be great help.
Thanks again for your reply.

  #4  
Old January 21st 07, 04:55 PM posted to microsoft.public.outlook.program_vba
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default How to get selected calendar folder list in Outlook2003?



Sorry, I can't help with C++ code. Did you Google for the mentioned function
in the proper newsgroup?

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
Keep your Outlook categories organized!
http://www.shareit.com/product.html?...4&languageid=1
(German: http://www.VBOffice.net/product.html?pub=6)

Am 21 Jan 2007 06:07:36 -0800 schrieb Ami:

Many thanks Michael for your reply. Can i use this function using VC++.
Any idea how can i do it in VC++. Any sample code would be great help.
Thanks again for your reply.

  #5  
Old January 22nd 07, 12:34 PM posted to microsoft.public.outlook.program_vba
Ami
external usenet poster
 
Posts: 4
Default How to get selected calendar folder list in Outlook2003?

Once again thansk for your reply. In Explorer object, i cannot find any
method named "IsFolderSelected". There is another function
"get_CurrentFolder", which return the name of currently selected
folder. Could you please give me some helper code in VBA itself, to get
the calendar navigation pane and accessing the check box state in it?
(Left hand side navigation pane in Outlook 2003)

I got success in using OOM with VC++ but cannot get access to Pane
object from Panes collection. I get all time crash so smaple VBA
code would be really helpful to see the standard way to retrieve panes
and then controls in it which i can try to translate in C++.

Thanks for your help...

  #6  
Old January 22nd 07, 04:23 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default How to get selected calendar folder list in Outlook2003?

The Navigation Pane is not available in the Panes collection. You'd have to
find it using Win32 API calls and then there's no way to program it anyway
using the Outlook object model. Anything you did with it would involve Win32
API calls and overlaying things and trying to get at child windows used for
the controls. Not something I'd want to be tasked with programming.

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


"Ami" wrote in message
oups.com...
Once again thansk for your reply. In Explorer object, i cannot find any
method named "IsFolderSelected". There is another function
"get_CurrentFolder", which return the name of currently selected
folder. Could you please give me some helper code in VBA itself, to get
the calendar navigation pane and accessing the check box state in it?
(Left hand side navigation pane in Outlook 2003)

I got success in using OOM with VC++ but cannot get access to Pane
object from Panes collection. I get all time crash so smaple VBA
code would be really helpful to see the standard way to retrieve panes
and then controls in it which i can try to translate in C++.

Thanks for your help...


  #7  
Old January 22nd 07, 05:33 PM posted to microsoft.public.outlook.program_vba
Ami
external usenet poster
 
Posts: 4
Default How to get selected calendar folder list in Outlook2003?

Thanks a lot, Ken for your reply. Atleast now i know, i should look for
another way to find it .
Thanks once again.

 




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
Personal Calendar Item copied to a selected public folder calendar Wanda Outlook and VBA 1 November 1st 06 07:57 PM
Is there a way to set Folder List as the default view for Outlook2003 installation? Cappy Outlook - General Queries 2 July 21st 06 04:56 PM
Is there a way to set Folder List as the default view for Outlook2003 installation? Cappy Outlook - Installation 2 July 21st 06 04:56 PM
Calendar folder missing from folder list in outlook 2003 Bill B Outlook - Calandaring 11 July 7th 06 05:44 PM
Create a search folder to look at all emails in one folder and selected criteria in other folders [email protected] Outlook - General Queries 1 April 10th 06 10:40 AM


All times are GMT +1. The time now is 08:55 PM.


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.