PDW Package And deploy

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lee123
    Contributor
    • Feb 2007
    • 556

    PDW Package And deploy

    i have a quick question: i have made a project that uses adodc control, i have also included a access database with it and when i use the PDW it goes through ok but when i install it on to another computer it tells me it can't find the database (Access) doesn't it include this in the project? when you install it on another computer?
  • debasisdas
    Recognized Expert Expert
    • Dec 2006
    • 8119

    #2
    how the application refers to the DB path ? is it hard coded ?

    in that case you need to put the db file in particular location.

    Comment

    • lee123
      Contributor
      • Feb 2007
      • 556

      #3
      is there a way to make it go to the location by code? and if so how would that look like

      lee123

      Comment

      • debasisdas
        Recognized Expert Expert
        • Dec 2006
        • 8119

        #4
        Then instead of hard coding the path, you need to specify App.Path\databa sename and store the database file in the same folder as the EXE of the application.

        Comment

        • lee123
          Contributor
          • Feb 2007
          • 556

          #5
          Thanks I'll Try It

          lee123

          Comment

          Working...