P
PaulH
Hi there,
I am writing an application which should also launch Outlook (if it has not
been launched already). My problem is to locate Outlook in the Vista registry.
So far, I am trying to use the entry
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\UnreadMail]
which appearently has keys for every mail account which had been identified
by Outlook. Each of these keys contains a value [Application] with a string
like
%SystemDrive%\PROGRA~1\MICROS~1\Office12\OUTLOOK.EXE /profile XYZ
It is no problem to isolate the path from the execution parameters but there
is still the [%SystemDrive%] which is not expanded by the system.
Is there a unique method to find out from the registry what the SystemDrive
is?
Or -- is there a more intelligent method to find out if Outlook is
installed, which version it is and what the startup path is?
Thanks in advance. PaulH.
I am writing an application which should also launch Outlook (if it has not
been launched already). My problem is to locate Outlook in the Vista registry.
So far, I am trying to use the entry
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\UnreadMail]
which appearently has keys for every mail account which had been identified
by Outlook. Each of these keys contains a value [Application] with a string
like
%SystemDrive%\PROGRA~1\MICROS~1\Office12\OUTLOOK.EXE /profile XYZ
It is no problem to isolate the path from the execution parameters but there
is still the [%SystemDrive%] which is not expanded by the system.
Is there a unique method to find out from the registry what the SystemDrive
is?
Or -- is there a more intelligent method to find out if Outlook is
installed, which version it is and what the startup path is?
Thanks in advance. PaulH.