Bin and Obj Folders

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Diarmuid

    #1

    Bin and Obj Folders

    Some questions on these

    1) If I want to copy my project to another PC, do I need to copy the Bin and
    Obj folders? I notice that they are rather large, especially if I'm mailing
    to my home PC, where I only have dial up.

    2) I have a database in the project, C:\Planner\Plan ner.mdb. It seems when I
    run the project, that Planner.mdb gets copied into
    C:\Planner\bin\ Debug\Planner.m db

    Is there a way round this? I get the concept, its just that when I store
    some data using the program, it seems to get overwritten the next time I
    open the project.

    Thanks
    Diarmuid


  • Chris

    #2
    Re: Bin and Obj Folders

    Diarmuid wrote:[color=blue]
    > Some questions on these
    >
    > 1) If I want to copy my project to another PC, do I need to copy the Bin and
    > Obj folders? I notice that they are rather large, especially if I'm mailing
    > to my home PC, where I only have dial up.
    >[/color]

    No, the bin and obj folders are recreated when you build.
    [color=blue]
    > 2) I have a database in the project, C:\Planner\Plan ner.mdb. It seems when I
    > run the project, that Planner.mdb gets copied into
    > C:\Planner\bin\ Debug\Planner.m db
    >[/color]

    Did you include the mdb in the project? There is no reason it has to
    reside in the bin directory. How are you referencing the database in
    your program? (what is your connection string)
    [color=blue]
    > Is there a way round this? I get the concept, its just that when I store
    > some data using the program, it seems to get overwritten the next time I
    > open the project.
    >
    > Thanks
    > Diarmuid
    >
    >[/color]

    Chris

    Comment

    • Diarmuid

      #3
      Re: Bin and Obj Folders

      Thanks. I did include the mdb in the project.Connect ion string as follows:
      Public Const conCONNECT As String = "PROVIDER=Micro soft.Jet.OLEDB. 4.0;Data
      Source= HTPlanner.mdb"




      "Chris" <no@spam.com> wrote in message
      news:OoXolxVtFH A.464@TK2MSFTNG P15.phx.gbl...[color=blue][color=green]
      >> 2) I have a database in the project, C:\Planner\Plan ner.mdb. It seems
      >> when I run the project, that Planner.mdb gets copied into
      >> C:\Planner\bin\ Debug\Planner.m db
      >>[/color]
      >
      > Did you include the mdb in the project? There is no reason it has to
      > reside in the bin directory. How are you referencing the database in your
      > program? (what is your connection string)
      >[/color]


      Comment

      Working...