Solved

Full path to .Dbx files for Outlook Express

Posted on 2006-07-13
5
3,794 Views
Last Modified: 2012-06-21
What is the best way to determine if Outlook Express is the default Email client and if so get the Fully qualified path to the .Dbx files for Outlook Express. On my machine is is "E:\Documents and Settings\dseaman\Local Settings\Application Data\Identities\{E3FE25C3-210E-45A6-B609-8ECF67EA2CA1}\Microsoft\Outlook Express" but I want to get it programatically.

And what if the default was Outlook. Is the method similar?
0
Comment
Question by:danaseaman
  • 3
5 Comments
 
LVL 5

Expert Comment

by:Davidshc76
ID: 17104887
Determine if Outlook Express is the default Email client .... Please refer to the following link.......
http://email.cityu.edu.hk/faq/outlookexpress/oedefaultemail.htm

To change the default storage location of both the Mail and the News
folders:
1.. Start Outlook Express.
2.. On the Tools menu, click Options.
3.. Click the Maintenance tab, and then click Store Folder.
4.. Click Change, and then click the location where you want to store the
Mail and the News folders.
5.. Click OK four times.
6.. On the File menu, click Exit.
7.. Restart Outlook Express.

Re-register Outlook Express as your default mail program and see if that
fixes it. It should:
Go to Start | Run and type the following:
"C:\PROGRAM FILES\OUTLOOK EXPRESS\MSIMN.EXE" /reg
(Check the path to msimn.exe to make sure that is correct)

0
 
LVL 22

Author Comment

by:danaseaman
ID: 17104912
Sorry. That doesn't answer the q
0
 
LVL 22

Author Comment

by:danaseaman
ID: 17104920
Sorry. That doesn't answer the question. All I need is the current path to the database (*.dbx) files of Outlook Express and it must be done programtically so it will work on any computer.
0
 
LVL 9

Accepted Solution

by:
Naveen Swamy earned 500 total points
ID: 17107301


'***** to open the default email client********
Option Explicit
Private Declare Function ShellExecute Lib "shell32.dll" _
    Alias "ShellExecuteA" (ByVal hwnd As Long, _
    ByVal lpOperation As String, ByVal lpFile As String, _
    ByVal lpParameters As String, ByVal lpDirectory As String, _
    ByVal nShowCmd As Long) As Long

Const SW_SHOWNORMAL = 1

Private Sub Command1_Click()
    Dim ret As Long
    ret = ShellExecute(Me.hwnd, "Open", "mailto:AzraSound@aol.com", 0&, 0&, SW_SHOWNORMAL)
End Sub


this link might give the right direction to start up
http://www.experts-exchange.com/Programming/Programming_Languages/Visual_Basic/Q_20189572.html
0
 
LVL 22

Author Comment

by:danaseaman
ID: 17107490
Thanks for link. The registry search engine by Ark http://www.freevbcode.com/ShowCode.Asp?ID=3175 finds the item HKEY_CURRENT_USER "Store Root" under SubKey "Identities" but REG_EXPAND_SZ format is not supported. Easy enough to add this though.  
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

User Beware!  This is a rather permanent solution to removing your email from an exchange server.  The only way to truly go back is to have your exchange administrator restore your mailbox from backups.  This is usually the option of last resort.  A…
The new Microsoft OS looks great, is easier than ever to upgrade to, it is even free.  So what's the catch?  If you don't change the privacy settings, Microsoft will, in accordance with the (EULA) you clicked okay to without reading, collect all the…
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
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…

911 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

23 Experts available now in Live!

Get 1:1 Help Now