Solved

Storing data into executable files. How?

Posted on 2006-11-29
1
185 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
This is a video that shows how the OnPage alerts system integrates into ConnectWise, how a trigger is set, how a page is sent via the trigger, and how the SENT, DELIVERED, READ & REPLIED receipts get entered into the internal tab of the ConnectWise …
Delivering innovative fully-managed cloud services for mission-critical applications requires expertise in multiple areas plus vision and commitment. Meet a few of the people behind the quality services of Concerto.

914 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

18 Experts available now in Live!

Get 1:1 Help Now