Program Distributing with alternate default path

J

Jim Bradley

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.
 
S

scorpion53061

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top