This is a two part question, and the points may be split as such, but here goes.
1. I'd like to beable to have my VB app present a user with a login prompt which will control their access level. I'd like this prompt box to validate the username and password against our Domain Controller directly.
2. I'm using a string like...
...to open the database connection, but that xXxXxXx password might change in the future. I'd like to have a form in the program to read and write that Password in the .exe file itself. Thus a self-modifying .exe. I know this is not the orthodox method, and I know how to do it in the registry and in a text file, but I want to know if I CAN do it this way, and if having a fixed length String would make it any easier?
This way the actual location of the code in the .exe wouldn't change even if modifications to the file were to happen...
Thanks in advance.