Results 1 to 3 of 3

Thread: Connection & Application.Startup

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2003
    Location
    Phila Pa.
    Posts
    2

    Connection & Application.Startup

    Newbee here,
    Is it possible to set the connection string in the data configuration wizard to say Application.startup path, (with the .mdb in the bin folder) ?
    I know this can be done in hard code when using unbound objects. but what about when using the oledbDataAdapter etc.?
    The goal of Computer Science is to build something that will last at least until we've finished building it.

  2. #2
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    Actually everything is hard coded, the wizard just writes the code for you. Just look in the Autogenerated code at the top of the form and change the connection string info there.

  3. #3

    Thread Starter
    New Member
    Join Date
    Nov 2003
    Location
    Phila Pa.
    Posts
    2
    So if After I setup my dataAdapter etc. I can change the connection string in the form generated code, and thereafter when I move my project from machine to machine ..that connection will be the default connection which will override what I filled out in the wizard initially?
    Thanks for clearing that up for me.!
    The goal of Computer Science is to build something that will last at least until we've finished building it.

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