Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP App won't Execute from Desktop
Message
From
24/06/2021 11:50:14
Lutz Scheffler (Online)
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
01681572
Message ID:
01681573
Views:
126
This message has been marked as the solution to the initial question of the thread.
Hi Dave,

You run your app via a desktop link, yes?
Where are the DLLs stored?
If you run the app directly from explorer in it's folder (not via link), what happens?
Generate an global ON ERROR that gives better error return, and compile with Debug Info on.

Lutz

>Folks,
>
>A VFP application I've developed generates an intermittent error when the program executable is run from its desktop icon. The program error is ‘Operator/Operand Type Mismatch.’ (see image). When this error occurs, the program fails to run.
>
>What’s frustrating and confusing for me is that this error sometimes happens and sometimes not. When the app fails to run, it’s commonly due to an open file folder window or an open window for an FTP internet location. The program run will only run after closing these windows.
>
>I suspect this issue relates to the application not finding the VFP Run-Time Resource DLLs (e.g: VFP9RENU.DLL) or not finding the correct DLLs for the application. But why this happens is a mystery.
>
>Can anyone advise on what’s causing the problem, and more importantly, what the solution is.
>
>Any guidance is welcome,


>Dave
>
>ps. I do have the executable path set in the icon’s “Start In” property.
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform