473,385 Members | 1,908 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

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\Planner.mdb. It seems when I
run the project, that Planner.mdb gets copied into
C:\Planner\bin\Debug\Planner.mdb

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
Nov 21 '05 #1
6 1522
Diarmuid wrote:
Thanks. I did include the mdb in the project.Connection string as follows:
Public Const conCONNECT As String = "PROVIDER=Microsoft.Jet.OLEDB.4.0;Data
Source= HTPlanner.mdb"


"Chris" <no@spam.com> wrote in message
news:Oo*************@TK2MSFTNGP15.phx.gbl...
2) I have a database in the project, C:\Planner\Planner.mdb. It seems
when I run the project, that Planner.mdb gets copied into
C:\Planner\bin\Debug\Planner.mdb


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)



Did you put the mdb in the debug directory?

Did you add the mdb as an item in the project?

Chris
Nov 21 '05 #2
Diarmuid wrote:
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.

No, the bin and obj folders are recreated when you build.
2) I have a database in the project, C:\Planner\Planner.mdb. It seems when I
run the project, that Planner.mdb gets copied into
C:\Planner\bin\Debug\Planner.mdb

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)
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
Nov 21 '05 #3
Thanks. I did include the mdb in the project.Connection string as follows:
Public Const conCONNECT As String = "PROVIDER=Microsoft.Jet.OLEDB.4.0;Data
Source= HTPlanner.mdb"


"Chris" <no@spam.com> wrote in message
news:Oo*************@TK2MSFTNGP15.phx.gbl...
2) I have a database in the project, C:\Planner\Planner.mdb. It seems
when I run the project, that Planner.mdb gets copied into
C:\Planner\bin\Debug\Planner.mdb


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)

Nov 21 '05 #4
Diarmuid wrote:
Thanks. I did include the mdb in the project.Connection string as follows:
Public Const conCONNECT As String = "PROVIDER=Microsoft.Jet.OLEDB.4.0;Data
Source= HTPlanner.mdb"


"Chris" <no@spam.com> wrote in message
news:Oo*************@TK2MSFTNGP15.phx.gbl...
2) I have a database in the project, C:\Planner\Planner.mdb. It seems
when I run the project, that Planner.mdb gets copied into
C:\Planner\bin\Debug\Planner.mdb


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)



Did you put the mdb in the debug directory?

Did you add the mdb as an item in the project?

Chris
Nov 21 '05 #5

"Chris" <no@spam.com> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
Diarmuid wrote:
Thanks. I did include the mdb in the project.Connection string as
follows:
Public Const conCONNECT As String =
"PROVIDER=Microsoft.Jet.OLEDB.4.0;Data Source= HTPlanner.mdb"


"Chris" <no@spam.com> wrote in message
news:Oo*************@TK2MSFTNGP15.phx.gbl...
2) I have a database in the project, C:\Planner\Planner.mdb. It seems
when I run the project, that Planner.mdb gets copied into
C:\Planner\bin\Debug\Planner.mdb
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)



Did you put the mdb in the debug directory?

Did you add the mdb as an item in the project?

Chris

I didn't put it in the debug directory. Well, I think I didn't!
I did add the mdb as an item in the project.


Nov 21 '05 #6

"Chris" <no@spam.com> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
Diarmuid wrote:
Thanks. I did include the mdb in the project.Connection string as
follows:
Public Const conCONNECT As String =
"PROVIDER=Microsoft.Jet.OLEDB.4.0;Data Source= HTPlanner.mdb"


"Chris" <no@spam.com> wrote in message
news:Oo*************@TK2MSFTNGP15.phx.gbl...
2) I have a database in the project, C:\Planner\Planner.mdb. It seems
when I run the project, that Planner.mdb gets copied into
C:\Planner\bin\Debug\Planner.mdb
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)



Did you put the mdb in the debug directory?

Did you add the mdb as an item in the project?

Chris

I didn't put it in the debug directory. Well, I think I didn't!
I did add the mdb as an item in the project.


Nov 21 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Karuppasamy | last post by:
Hi I want to populate all the files and folders of System in a Treeview control like Windows Explorer. I try this using File System Objects. But sometimes I am getting an error like 'Access...
5
by: George Hester | last post by:
If I have 1 Virtual Dirctory with 2 different subfolders are these 2 different folders different virtual folders? Or if I have 2 different Virtual Directories each containing a subfolder are these...
1
by: Jason Steeves | last post by:
Does anyone know an easy way to get all of the folders and their sub-folders and their sub-folders and so on? I need to get all of the folders and their paths from an inputted parent folder...
4
by: Noa | last post by:
Hi, Is there a way to use OpenFileDialog1 in order to multi-select folders? I saw in msdn site a sample of multi-file-selections. I need to select multiple folders and to apply an algorithm on...
0
by: Bob | last post by:
Hi, I'm new to Python and I want to create a script that will import contactitems into an Outlook Public Folder. Therefore I've installed the Python for Windows Extensions. This way I can...
3
by: sva | last post by:
Using C# for an application in which I am working on, I need to display the available shared folders on the computer that's running the application. The shared folder paths need to be in UNC format...
1
by: =?Utf-8?B?UmFjaW5yaG9uZGE=?= | last post by:
I had a hard drive failure and had to re-load Microsoft Office XP. When I first loaded, I had no data files so I imported my pst files from my old hard drive and now I have double of everything...
1
NarenMCA
by: NarenMCA | last post by:
Hi, The below code in MS Outlook gives me the names of folders in "public folders". I am looking forward to get all the subfolders and files in "Public folders" Please assist me in this. ...
5
by: Per Juul Larsen | last post by:
Hi. My application creates empty libraries. How do I ensure that the user copies at least one or more picture files (.jpg) in each of the empty folders ? Result , no empty folders! regards pjl
1
by: veer | last post by:
hi it looks a silly question but i m getting confused actually i want to copy folders from one location to another like from C:\abc To D:\xyz here abc and xyz are two folders in c and d drive it...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.