Determining location of .pst on user's pc.

B

Bob Walsh

How do I retrieve the location of Outlook's default .pst file? I'm a
VB programmer writing an app that needs this path so I can via ADO
pull appointments and tasks.

Thanks in advance!
 
A

Andre Morin

Try Start > Search > *.pst (or outlook.pst)

You'll see the location for outlook.pst.

André
 
B

Bob Walsh

uhhh, not quite.

I need a way to resolve in code where the user's .pst file resides.
Here's the key part of the code:


With ADOConn
.ConnectionString = "Provider=Microsoft.JET.OLEDB.4.0;Exchange
4.0;MAPILEVEL=Personal
Folders|;PROFILE=Outlook;TABLETYPE=0;DATABASE=[D:\Outlook Data
Files\master Outlook 8250.pst]"
.Open
End With


I'm trying to access via ADO the user's schedule and tasks.

Regards,
Bob
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top