Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Detecting/Starting Lotus Notes in Win7
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01534863
Message ID:
01534935
Vues:
46
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform