>>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only