-
Logon Help
Hi, if someone could help me i would be greatfull, i am getting really frustrated! What i want to be able to do is have the path / Connection string stored in an external file, like ini and then the user is to logon, authenticating through the defined database. If the database is not there then there will be a messagebox error and load a form asking to fill in the "Path" to the database.
Many Thanks
Stuart Jones
-
Re: Logon Help
PM me and I'll work on this :)
-
Re: Logon Help
-
Re: Logon Help
You'd be better off PM'ing a moderator to place this in the appropriate forum.
If you are using .Net, then there is an app.config file which is an XML settings file external to your application which allows you to define settings. It has a connectionstrings node specifically for connection strings also.
If you are using ASP.Net, there is a web.config file which is similar in nature. You can search the following terms upon this forum in order to retreive sample code for all of this:
- App.config or connectionstrings - can put my name in the user box to shorten the results. This will describe storing the values along with code to retreive them.
- messagebox.show
There may be similar in the vb6 forums if you perform a search for something like config file or configuration file...