Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
File 'shellexecute.prg' does not exist
Message
 
 
À
03/11/2022 10:51:09
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
01685206
Message ID:
01685216
Vues:
37
>>>It could be it. Although strange thing is that sometimes it works, other times it does not. I think that if Admin forbade the exe to shell out, it would stop running this (shellExcute) all the time.
>>>I just asked the user who sent me the error email this morning to reboot her PC. I will see if the problem will be fixed.
>>>I am also thinking that I should enclose this call into Try Catch and avoid the user having to see this error.
>>>Thank you.
>>
>>I looked at the code and see that the call to ShellExecutre is already enclosed in Try Catch. And yet, the error occurred and the customer sees the error.
>
>Could it be that some other component that you use also calls ShellExecute()? Anything that, for example, opens a webpage or a pdf, or does something else outside of the app.

The error message has a name of the function from which the bad call happens. So, it is just in one place in the app where the ShellExecute() is called.

Btw, after rebooting her PC, the user sent me an email that the ShellExecute didn't produce the error.

Thank you.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform