|
-
Jun 3rd, 2008, 12:12 PM
#1
Thread Starter
Lively Member
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
-
Jun 4th, 2008, 09:34 PM
#2
Addicted Member
Re: Logon Help
PM me and I'll work on this
Begin with the end in mind.
My Profile
while( !( succeed = try() ) );
-
Jun 5th, 2008, 04:06 AM
#3
Thread Starter
Lively Member
-
Jun 10th, 2008, 07:20 AM
#4
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...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|