473,386 Members | 1,817 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

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 10009
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Fritz Switzer | last post by:
Can anyone provide a small snippet in C# that pulls out the Contacts in Outlook XP. I've seen a couple of examples in C++ and VB in previous newsgroup posts, but either the originals didn't work...
2
by: James | last post by:
Is it possible for me to generate Outlook objects in an ASP.NET application on a web server (like a calander event for example) and then attach that object to an email so that the recipient can...
9
by: Srinivas | last post by:
hi all how to access the outlook user profiles through VB.net any help.... thanks in advanc Srinivas
6
by: Ernie | last post by:
We have an Outlook 2000 VBA application - 8 user forms, and about a thousand lines of code - that we wish to distribute. We know that we can password-protect the code, but that does not give us the...
2
by: Jeff | last post by:
Ok you can drag and drop from Outlook Express to the desktop and get an EML file on the desktop. Anyone have any idea how I can drag and drop from OE to my application and get an EML file? ...
2
by: Alban | last post by:
Hello My soft gets back information from outlook. But when I create my namespace: OApp = New Outlook.Application oNS = oApp. Session oNS.Logon (Nothing, Nothing, False, True) I have an...
7
maxamis4
by: maxamis4 | last post by:
Hello, I am currious to know how I can extract information from outlook into access. So far I have this code which I am using to test, but I can' t find any other information on the net. All I...
7
by: =?Utf-8?B?UVNJRGV2ZWxvcGVy?= | last post by:
I have a C# logging assembly with a static constructor and methods that is called from another C# Assembly that is used as a COM interface for a VB6 Application. Ideally I need to build a file...
6
by: Kevin | last post by:
In my business, I use Quickbooks extensively for billing and accounting and a custom built Access DB for project management. I recently began using MS Outlooks contacts quite extensively as well...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.