Solved

Find PST File path using StoreID in Outlook

Posted on 2003-12-02
1
575 Views
Last Modified: 2010-05-18
I am using Visual Basic to interface with Outlook, and I'm trying to find the PST file path if I know the StoreID value - i can't seem to find it at all. If i load a pst file using the LoadStore function, how do I know which store i've loaded in the hierarchy if I cannot connect the StoreID to the PST name?
0
Comment
Question by:stauffec
1 Comment
 
LVL 44

Accepted Solution

by:
bruintje earned 350 total points
Comment Utility
that seems not easy from this link on the topic

source : http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&selm=OYQTcHkiBHA.2260%40tkmsftngp07

---------
create a string from the storeid (every two bytes should be converted from hex to a single byte which must be cast to a character), that should give you the path name
---------

hope this helps a bit
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now