Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Installation Paths
Message
From
27/04/1998 11:46:08
 
 
To
27/04/1998 11:15:10
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00095134
Message ID:
00095173
Views:
24
>>If I were to write the path to the registry will >>this slow down the load time to start the exe, >>or is it so minimal that it will not matter? >> >Writing to registry, instead of config.fpw you're beating soft coding. You only need to write to the registry once (unless a path changes). Then you just read the registry each time the program starts, just as you would read the path from a dbf. The advantage of the registry is that you won't have to have assume a path to the dbf that holds the path info. The registry is always there and accessable. Then just take what the registry says and put it into SET PATH TO ®istry-variable It is still soft coding the path. But reading the registry is slower then reading a dbf. How much slower? Probably not too noticable unless the registry has grown tremendously over time.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform