468,761 Members | 1,773 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

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

How can we access .pst file information in VB.NET

Hi

I have a doubt,how to know the information of .pst file?
I want to display the information of pst file (which is
maintained by the outlook express) in VB.NET form.When i
click a button in VB.NET then i want to display all
information like,how emails sent,how many emails received
and total messages etc.
If you know the solution please let me know because i am
new to know how can we maintain information of outlook
express.

Thanks&Regards
Mamatha
Nov 21 '05 #1
2 7455
"Mamatha" <ma***********@yahoo.com> schrieb:
I have a doubt,how to know the information of .pst file?
I want to display the information of pst file (which is
maintained by the outlook express)


Outlook Express uses DBX files, not PST files. PST files are used by
Outlook.

--
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 #2
Mamatha,
As Herfried stated. Outlook uses PST files, Outlook Express uses DBX files.

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:1e****************************@phx.gbl...
Hi

I have a doubt,how to know the information of .pst file?
I want to display the information of pst file (which is
maintained by the outlook express) in VB.NET form.When i
click a button in VB.NET then i want to display all
information like,how emails sent,how many emails received
and total messages etc.
If you know the solution please let me know because i am
new to know how can we maintain information of outlook
express.

Thanks&Regards
Mamatha

Nov 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

32 posts views Thread by Mike MacSween | last post: by
11 posts views Thread by Rosco | last post: by
26 posts views Thread by Dragon | last post: by
9 posts views Thread by Wayne Smith | last post: by
1 post views Thread by cpajoe2001 | last post: by
8 posts views Thread by Jeremy Ames | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by Marin | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.