?
Solved

Find PST File path using StoreID in Outlook

Posted on 2003-12-02
1
Medium Priority
?
608 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 1050 total points
ID: 9864860
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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

749 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