Will the ShellExecute route work on a 64 bit machine? All the examples I can find declare it in shell32.....
>Did you try ShellExecute API or script? ie:
>
>
>loShell = CREATEOBJECT('Shell.Application')
>loShell.ShellExecute('c:\Program Files (x86)\IBM\Lotus\Notes\notes.exe')
>
>
>>As we start to deploy Win7 laptops, users are getting an error message on the following lines of code (depending on which directory the notes.exe is in):
>>
>>
CASE FILE('c:\Program Files\IBM\Lotus\Notes\notes.exe')
>>RUN /N 'c:\Program Files\IBM\Lotus\Notes\notes.exe'
>>CASE FILE('c:\Program Files (x86)\IBM\Lotus\Notes\notes.exe')
>>RUN /N 'c:\Program Files (x86)\IBM\Lotus\Notes\notes.exe'
>>
>>The intent is to launch Lotus Notes. It has worked fine up until now with XP. The error message is
>>
>>
RUN|! command failed. The system cannot find the file specified.
>>
>>I have done some reading and it looks like it is a problem with trying to issue a RUN command for something in the Program Files folder in Win7.
>>
>>Advice appreaciated. All we want to do is detect if Notes is running and if not, launch it.
>>
>>TIA
Phil Thomas
http://phillipdthomas.comNever let your energy or enthusiasm be dampened by the discouragements that must inevitably come.....