Solved

Find PST File path using StoreID in Outlook

Posted on 2003-12-02
1
595 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 44

Accepted Solution

by:
bruintje earned 350 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

Enroll in June's Course of the Month

June's Course of the Month is now available! Every 10 seconds, a consumer gets hit with ransomware. Refresh your knowledge of ransomware best practices by enrolling in this month's complimentary course for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

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…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
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…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

717 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