Solved

Storing data into executable files. How?

Posted on 2006-11-29
1
184 Views
Last Modified: 2011-09-20
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
Comment
Question by:donniedarko801
1 Comment
 
LVL 7

Accepted Solution

by:
Dimandja earned 250 total points
ID: 18038445
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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now