469,352 Members | 1,768 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,352 developers. It's quick & easy.

How to retrieve outlook pst file information

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

Nov 21 '05 #1
4 9878
Mamatha,

This question you have asked more in this newsgroup,

See these answers.
http://groups-beta.google.com/group/...rch+this+group

I hope this helps

Cor
Nov 21 '05 #2
"Mamatha" <ma***********@yahoo.com> schrieb:
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.


Please read the answers that were given to your question some days ago if
you want information on how to do that in VB.NET:

<URL:http://groups.google.de/groups?threadm=1ea301c50ab1%24b9436ca0%24a601280a% 40phx.gbl>

For VB6, consider posting to one of the groups in the microsoft.public.vb.*
hierarchy.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #3
This subject was discussed around 2 months ago in the Outlook Forum.

There are programs on the Internet that read PST files, but the passwords
are held within the file. What happens if the PST file you are trying to read
contains an unknown password?

I agree about the security warnings that the user will receive that cannot
be suppressed, as far as I am aware.

You could try asking your question on the http://www.gotdotnet.com website,
which is also run by Microsoft & has a few Microsoft programmers answering
some of the posts.

Here's a direct link to the VB.NET forum:

http://www.gotdotnet.com/Community/M...oard.aspx?id=8

You will need to register for a FREE account using your passport.
Nov 21 '05 #4
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

Nov 21 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Fritz Switzer | last post: by
2 posts views Thread by James | last post: by
2 posts views Thread by Jeff | last post: by
7 posts views Thread by =?Utf-8?B?UVNJRGV2ZWxvcGVy?= | last post: by
6 posts views Thread by Kevin | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.