Mamatha,
As I stated the other day:
I would recommend using Outlook automation to read the PST. Alternatively
you could use CDO or Extended MAPI to read the PST, however I believe in
both cases you need to have Outlook installed.
NOTE: When you use Outlook Object Model or CDO to read the PST you will get
security prompts as it appears you are harvesting addresses to spam or worst
spread viruses with your friends.
For a list of articles on using Outlook from .NET see:
http://www.microeye.com/resources/res_outlookvsnet.htm
For a plethora of automating Outlook with VBA, VB6, and VBScript see:
http://www.outlookcode.com/
To avoid the Outlook security prompts its generally easiest to create a
properly constructed COM-Addin for Outlook 2003. There are other methods
available for other versions of Outlook...
See:
http://msdn.microsoft.com/library/de...scomaddins.asp
Further info can be found at:
http://www.slipstick.com/dev/ol2003problems.htm http://www.slipstick.com/outlook/esecup/admin.htm
The links I gave have samples of creating add-ins.
Both of these are good articles to start with:
http://msdn.microsoft.com/library/de...addinvbnet.asp http://support.microsoft.com/?kbid=302896
Also, be certain you have explicitly installed the Outlook PIAs! The Outlook
2003 PIAs are an optional install, while the Outlook XP PIA is a download.
Hope this helps
Jay
"Mamatha" <ma***********@yahoo.com> wrote in message
news:0f****************************@phx.gbl...
Hi
I need to know..how to retrieve values of Microsoft
Outlook in VB,i want to retrieve how many emails contains
in my inbox,outbox,sentitems etc.
Please give me the solution for retrieving values of
outlook in VB6.If you know the solution or code,please
help me,thanks in advance.
Mamatha