View Single Post
  #4  
Old August 28th 06, 09:22 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Find and run Outlook.exe

This is a hard drive on a network machine? That you'd need to access using a
UNC path or mapped network drive.

If it's a local drive on that machine the path you used should work. Other
than that the only thing I can think of would be to try one of the short
paths like C:\Progra~, etc.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Culverin" wrote in message
...
Thanks Ken.

It looks like using the path key has potential, but it didn't work when I
tried it. I got an invalid root in path key error. We currently have
Outlook 2000. It is installed locally on each user's machine. In a few
months we'll be going to Outlook 2003 on a thin client installation using
a
Citrix server.

If I look for the key in regedit, the value is "C:\Program Files\Microsoft
Office\Office\"; which when concatenated to "Outlook.exe" as the path
argument to the shell should run Outlook. Given that I receive an invalid
root error with the code "oPath = oShell.regread(oRegKey)" and that I was
originally receiving a file not found error with simply a string as the
argument to the shell.run, I would say that there must be something I'm
missing here in how to reference the local disk on a networked machine.

Any ideas?


Ads