Results 1 to 3 of 3

Thread: Professionally help needed bout Deployment

  1. #1

    Thread Starter
    Member
    Join Date
    Jul 2005
    Location
    London
    Posts
    38

    Professionally help needed bout Deployment

    I finished my program and tried to make a setup application for it. I deployed the program and installed without any problem but it didnt work because of the database problem!

    I used OleDbDataAdapter wizard to setup the connection and again generated the dataset from oledbdataadapter. I only wrote a simple code to fill the datagrid of my program with the table in my microsoft access database file. I think, I need to write some proper codes to setup a connection instead of using VB sh..t wizard. because when I try to run the program, it still tries to get the table from my C:\VisualBasic Projects\mypro\bin\db2.mdb and I want the program to be run on another computers directly. which codes do I need for this database connection and make my program a self executable file so my lovely supervisor can be able to run and test my program on his computer??

    Professionally help needed!!

  2. #2
    Hyperactive Member The_Duck's Avatar
    Join Date
    May 2005
    Location
    Leamington, UK
    Posts
    351

    Re: Professionally help needed bout Deployment

    What you need to do is put your connection string into an App.Config file!

    To do this simply load the properties panel for one of your connection objects. Click on Dynamic Properties then dynamically set your connection string!

    When deploying your project you need only edit your conenction string with the correct database location!

  3. #3
    New Member
    Join Date
    Feb 2002
    Location
    Parsippany NJ
    Posts
    8

    Re: Professionally help needed bout Deployment

    That's correct, but how one can do so?

    What is the exact procedure to add a connection string to a web.config/app.config file during the installation?
    M. F. Ghazi

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