[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 194
  • Last Modified:

Storing data into executable files. How?

I've designed a front end for a database and sometime the database path, username, and password may need to be changed. I was wondering if there is a way to save these values inside of the executable instead of a log file or something. Thanks for any help.
0
donniedarko801
Asked:
donniedarko801
1 Solution
 
DimandjaCommented:
To save these values in the executable, you must hardcode them: each time they change, you must recompile.

You can save them in a DSN.  The advantage is that the values are changed in one place for all applications.

You can save them in an encrypted file.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now