Results 1 to 4 of 4

Thread: Logon Help

  1. #1

    Thread Starter
    Lively Member
    Join Date
    May 2008
    Posts
    90

    Angry 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

  2. #2
    Addicted Member tsungik's Avatar
    Join Date
    Aug 2004
    Location
    Philippines
    Posts
    194

    Re: Logon Help

    PM me and I'll work on this
    Begin with the end in mind.

    My Profile

    while( !( succeed = try() ) );

  3. #3

    Thread Starter
    Lively Member
    Join Date
    May 2008
    Posts
    90

    Re: Logon Help

    PM has been sent

  4. #4
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538

    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:
    1. 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.
    2. messagebox.show

    There may be similar in the vb6 forums if you perform a search for something like config file or configuration file...

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width