Results 1 to 4 of 4

Thread: Storing / retrieving Connectionstrings etc

  1. #1

    Thread Starter
    Hyperactive Member MarkusJ_NZ's Avatar
    Join Date
    Jun 2001
    Posts
    375

    Storing / retrieving Connectionstrings etc

    Hi all, I have a connection string that I want to store in a file and retrieve via VB.net.

    In VB 6 I would have just used an ini file and retrieved the information via an API call.

    How can I do the same thing in VB.net??? I understand that ASP.net has the webconfig file but what about Vb.net??

    Thanks in advance

    Mark

  2. #2
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464
    You can get away from ini files and move to xml files for settings. That is basically what a config file is. I would do a search on the forums for XML and see what others have posted to get you started. I think lethal posted some code a while back to use to store settings as xml.....or was it cander.....or....there are too many smart people here....not sure who it was.

  3. #3
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464

  4. #4

    Thread Starter
    Hyperactive Member MarkusJ_NZ's Avatar
    Join Date
    Jun 2001
    Posts
    375
    Cool, thanks
    Mark

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