By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,086 Members | 1,452 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,086 IT Pros & Developers. It's quick & easy.

Program Distributing with alternate default path

P: n/a


I am distributing a program and have several Rich Text files linked to
the default installation path on the target computer. i.e., In my code,
the path to the text files to be displayed in the Rich Text Boxes uses
the default path listed in the installation. If the client changes the
path, the program will point to an invalid path for the files which will
cause an error.

Is there a way to have the statements in the code change to reflect the
new path, and accurately retrieve the files, or should I be using
another way to point to the files that is not dependent on the clients
path?

Any help would be greatly appreciated.

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 20 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
You could use an xml string and allow the user to configure the location of
the file themselves.

Let me know if this is not clear.
Is there a way to have the statements in the code change to reflect the
new path, and accurately retrieve the files, or should I be using
another way to point to the files that is not dependent on the clients
path?

Nov 20 '05 #2

P: n/a

Sounds interesting, please explain.
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 20 '05 #3

P: n/a
Give me a day and I will have something for you on this okay?
Nov 20 '05 #4

P: n/a
>
Sounds interesting, please explain.


Jim,

It is not ready completely but try this and see if it helps:

http://kjmsolutions.com/xmlsettings.htm

There is work to be done on it yet but maybe it will help.
Nov 20 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.