Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Temp Files Location in Config.fpw
Message
From
04/09/2016 05:56:46
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
04/09/2016 04:37:44
Thomas Ganss (Online)
Main Trend
Frankfurt, Germany
General information
Forum:
Visual FoxPro
Category:
Installation, Setup and Configuration
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01640409
Message ID:
01640435
Views:
63
>>>I tried all the things suggested! Just wondering why they do not work. I thought the Config.fpw should allow control of each workstation as needed. Any other suggestions would be appreciated.
>>
>>There's the question of the folder in which your app starts, because the config.fpw will be taken from that folder. If you don't specify the folder, there's no way to know where your app will be launched - the location may depend on the version of the OS, whether it's launched as a service or as an in-process dll etc. Check set("directory") (undocumented but works) to see where the app is running, and try to put the config.fpw there.
>
>IMO explicit call on the command line is ***much*** better - for those afraid of that black square the option of multiple, nicely named shortcuts with explicit config file is a nice solution ;-)

And a maintenance headache. Can you imagine explaining to some IT moron what exactly to put into a shortcut, pointing to an UNC on the server, which would then have to be replicated across dozens of workstations?

Though, I've seen this being circumvented by having them make just a shortcut to the launcher, and the launcher would then launch the app with the complete line, including fullpath to the config.fpw. And that worked nicely.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform