Determining location of .pst on user's pc.

  • Thread starter Thread starter Bob Walsh
  • Start date Start date
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!
 
Try Start > Search > *.pst (or outlook.pst)

You'll see the location for outlook.pst.

André
 
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
 
Back
Top