Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Table
Message
From
27/12/1999 02:35:27
 
 
To
27/12/1999 01:22:08
Narong Tohku
Knownet Co.,Ltd.
Bangkok, Thailand
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Re: Table
Miscellaneous
Thread ID:
00300191
Message ID:
00308713
Views:
39
>Hi.. Ed Rauh
>How I can set path for free Table ..when I install my program different environment.
>Sample ...My file at F:\pub\patient or G:\pub\patient ...Can you tell me?
>
I'd store the locations somewhere in a configuration file or registry key and retrieve the data table location when the application started.

If users could screw around with their drive mappings and I had to use mapped drives, I'd store the information on the registry on a per-user, per system basis; I tend to use UNCs rather than mapped drive letters for file locations on the network so that file location names are uniform across systems. It's too easy for someone to screw up drive mappings. If I need them, I can always map the proper UNC to a drive letter with either the Win32 API or something like the Wscript.Network object.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform