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

VB6 Getting outlook folder



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old December 12th 06, 04:31 PM posted to microsoft.public.outlook.program_vba
Xiao
external usenet poster
 
Posts: 14
Default VB6 Getting outlook folder

Hi everyone, I'm quite new in this issue. I've been found out some
information about how to get the mails from outlook. but it's a little bit
hassle.
In my case, we've got a Exchange server and I'd like to get the information
of some specific fodlers in my mail account.
Can anyone help me , recommending a good link or a good solutions?

Thanks
Ads
  #2  
Old December 12th 06, 05:12 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default VB6 Getting outlook folder

You can use the Namespace.GetDefaultFolder method to return any mailbox default folder as a MAPIFolder object. Otherwise, you can use the code at http://www.outlookcode.com/d/code/getfolder.htm to walk the folder hierarchy and return the MAPIFolder corresponding to a given path string.

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

"Xiao" wrote in message news
Hi everyone, I'm quite new in this issue. I've been found out some
information about how to get the mails from outlook. but it's a little bit
hassle.
In my case, we've got a Exchange server and I'd like to get the information
of some specific fodlers in my mail account.
Can anyone help me , recommending a good link or a good solutions?

Thanks

  #3  
Old December 13th 06, 09:48 AM posted to microsoft.public.outlook.program_vba
Xiao
external usenet poster
 
Posts: 14
Default VB6 Getting outlook folder

Thanks Sue,
But one thing, i was talking with some mates and they recommend to use CDO
as we have a exchange server. This methods and example look good, but they
work properly over the exchange server. Is there any other solution with CDO.

Thanks a lot again.

"Sue Mosher [MVP-Outlook]" wrote:

You can use the Namespace.GetDefaultFolder method to return any mailbox default folder as a MAPIFolder object. Otherwise, you can use the code at http://www.outlookcode.com/d/code/getfolder.htm to walk the folder hierarchy and return the MAPIFolder corresponding to a given path string.

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

"Xiao" wrote in message news
Hi everyone, I'm quite new in this issue. I've been found out some
information about how to get the mails from outlook. but it's a little bit
hassle.
In my case, we've got a Exchange server and I'd like to get the information
of some specific fodlers in my mail account.
Can anyone help me , recommending a good link or a good solutions?

Thanks


  #4  
Old December 13th 06, 10:56 AM posted to microsoft.public.outlook.program_vba
Xiao
external usenet poster
 
Posts: 14
Default VB6 Getting outlook folder

Sorry, maybe i wasn't very clear in my previous post. My problem is that we
are working with a Exchange server and the application is going to work
remotely through CITRIX, yes i know, it's a little bit confusing, sorry.Then
can i connect to a exchange server using the outlook object model or maybe
I'd need to used the CDO library?.

Thanks again

"Xiao" wrote:

Thanks Sue,
But one thing, i was talking with some mates and they recommend to use CDO
as we have a exchange server. This methods and example look good, but they
work properly over the exchange server. Is there any other solution with CDO.

Thanks a lot again.

"Sue Mosher [MVP-Outlook]" wrote:

You can use the Namespace.GetDefaultFolder method to return any mailbox default folder as a MAPIFolder object. Otherwise, you can use the code at http://www.outlookcode.com/d/code/getfolder.htm to walk the folder hierarchy and return the MAPIFolder corresponding to a given path string.

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

"Xiao" wrote in message news
Hi everyone, I'm quite new in this issue. I've been found out some
information about how to get the mails from outlook. but it's a little bit
hassle.
In my case, we've got a Exchange server and I'd like to get the information
of some specific fodlers in my mail account.
Can anyone help me , recommending a good link or a good solutions?

Thanks


  #5  
Old December 13th 06, 01:03 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default VB6 Getting outlook folder

Are you interested in writing a client application that each user will use or a server application with no client component? If you're writing a client application, whether the users run Outlook through Citrix or have Exchange accounts is largely irrelevant. Note that CDO is not installed by default on clients, but can be added.
--
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

"Xiao" wrote in message ...
Sorry, maybe i wasn't very clear in my previous post. My problem is that we
are working with a Exchange server and the application is going to work
remotely through CITRIX, yes i know, it's a little bit confusing, sorry.Then
can i connect to a exchange server using the outlook object model or maybe
I'd need to used the CDO library?.

Thanks again

"Xiao" wrote:

Thanks Sue,
But one thing, i was talking with some mates and they recommend to use CDO
as we have a exchange server. This methods and example look good, but they
work properly over the exchange server. Is there any other solution with CDO.

Thanks a lot again.

"Sue Mosher [MVP-Outlook]" wrote:

You can use the Namespace.GetDefaultFolder method to return any mailbox default folder as a MAPIFolder object. Otherwise, you can use the code at http://www.outlookcode.com/d/code/getfolder.htm to walk the folder hierarchy and return the MAPIFolder corresponding to a given path string.

"Xiao" wrote in message news Hi everyone, I'm quite new in this issue. I've been found out some
information about how to get the mails from outlook. but it's a little bit
hassle.
In my case, we've got a Exchange server and I'd like to get the information
of some specific fodlers in my mail account.
Can anyone help me , recommending a good link or a good solutions?


  #6  
Old December 13th 06, 02:55 PM posted to microsoft.public.outlook.program_vba
Xiao
external usenet poster
 
Posts: 14
Default VB6 Getting outlook folder

I'm writing a client application, i hope that this can help me.
just last question, how i can get the mails in the folder?
sorry if i'm very annnoying, i owe u one.

thanks


"Sue Mosher [MVP-Outlook]" wrote:

Are you interested in writing a client application that each user will use or a server application with no client component? If you're writing a client application, whether the users run Outlook through Citrix or have Exchange accounts is largely irrelevant. Note that CDO is not installed by default on clients, but can be added.
--
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

"Xiao" wrote in message ...
Sorry, maybe i wasn't very clear in my previous post. My problem is that we
are working with a Exchange server and the application is going to work
remotely through CITRIX, yes i know, it's a little bit confusing, sorry.Then
can i connect to a exchange server using the outlook object model or maybe
I'd need to used the CDO library?.

Thanks again

"Xiao" wrote:

Thanks Sue,
But one thing, i was talking with some mates and they recommend to use CDO
as we have a exchange server. This methods and example look good, but they
work properly over the exchange server. Is there any other solution with CDO.

Thanks a lot again.

"Sue Mosher [MVP-Outlook]" wrote:

You can use the Namespace.GetDefaultFolder method to return any mailbox default folder as a MAPIFolder object. Otherwise, you can use the code at http://www.outlookcode.com/d/code/getfolder.htm to walk the folder hierarchy and return the MAPIFolder corresponding to a given path string.

"Xiao" wrote in message news Hi everyone, I'm quite new in this issue. I've been found out some
information about how to get the mails from outlook. but it's a little bit
hassle.
In my case, we've got a Exchange server and I'd like to get the information
of some specific fodlers in my mail account.
Can anyone help me , recommending a good link or a good solutions?



  #7  
Old December 13th 06, 03:15 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default VB6 Getting outlook folder

What is annoying is that you apparently have not learned how to use the object browser (F2 in VBA), Outlook developer Help, or the Microsoft Knowledge Base to look up such basics as the names of objects and collections. Each Outlook MAPIFolder collection has an Items collection. The MSKB has a detailed article on how to write code to work with Items and Folders, to supplement the articles in Help.

CDO would be faster for processing large numbers of items, but would be subject to Outlook security prompts.

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

"Xiao" wrote in message ...
I'm writing a client application, i hope that this can help me.
just last question, how i can get the mails in the folder?
sorry if i'm very annnoying, i owe u one.

thanks


"Sue Mosher [MVP-Outlook]" wrote:

Are you interested in writing a client application that each user will use or a server application with no client component? If you're writing a client application, whether the users run Outlook through Citrix or have Exchange accounts is largely irrelevant. Note that CDO is not installed by default on clients, but can be added.



"Xiao" wrote in message ...
Sorry, maybe i wasn't very clear in my previous post. My problem is that we
are working with a Exchange server and the application is going to work
remotely through CITRIX, yes i know, it's a little bit confusing, sorry.Then
can i connect to a exchange server using the outlook object model or maybe
I'd need to used the CDO library?.

Thanks again

"Xiao" wrote:

Thanks Sue,
But one thing, i was talking with some mates and they recommend to use CDO
as we have a exchange server. This methods and example look good, but they
work properly over the exchange server. Is there any other solution with CDO.

Thanks a lot again.

"Sue Mosher [MVP-Outlook]" wrote:

You can use the Namespace.GetDefaultFolder method to return any mailbox default folder as a MAPIFolder object. Otherwise, you can use the code at http://www.outlookcode.com/d/code/getfolder.htm to walk the folder hierarchy and return the MAPIFolder corresponding to a given path string.

"Xiao" wrote in message news Hi everyone, I'm quite new in this issue. I've been found out some
information about how to get the mails from outlook. but it's a little bit
hassle.
In my case, we've got a Exchange server and I'd like to get the information
of some specific fodlers in my mail account.
Can anyone help me , recommending a good link or a good solutions?



 




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 2007 Control.Context problem VB6.0 [email protected] Add-ins for Outlook 8 December 11th 06 11:35 PM
Outlook 2007 Ribbons and VB6 Sanjay Singh Add-ins for Outlook 13 October 30th 06 08:26 PM
Reading mails from Sent items, Deleted items, Draft folder of outlook from VB6.0 Viswanathan Outlook - General Queries 8 May 26th 06 04:31 PM
VB6 - Read Mail Outlook Viswanathan Outlook - General Queries 3 May 23rd 06 04:37 PM
Any advantages of VSTO instead of VB6 for Outlook add-in? mattiasw Add-ins for Outlook 4 February 24th 06 07:00 AM


All times are GMT +1. The time now is 01:35 AM.


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