Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Detecting/Starting Lotus Notes in Win7
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01534863
Message ID:
01534935
Views:
42
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
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform