473,406 Members | 2,620 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,406 software developers and data experts.

When Create Separate ADO VS Projects?

Are there rules/policy for creating a new ADO VS project to a solution? When
should I create a new ADO project for a VS solution? Is there anything like
a limit to the number of object files you can have to a VS project?

Background:
I have a top level local business getter application/project (lets call it
ProjectA). One of the things this project links to/gets is an Access ADO
application (DataSet, etc) for one particular database. The ADO files are
physically located in ProjectA and, use an Interface file I wrote.

Now, I need to use this same Interface file/template and write additional
ADO type applications for other/different databases which need to be
accessible from ProjectA.

Should I:
- Copy and save the existing solution ADO application files into a ProjectB
so I now have a VS ProjectA and an ProjectB (other ADO applications will be
placed into a ProjectC, ProjectD, etc)
- Keep everything in ProjectA? (very messy)
- Start all new ADO applications from this point forward into separate
projects?

AND (most important) where should I place that ADO Interface file so I can
get at it? How do I get at it?

I hope I haven’t lost you. Please/requestyou take the time to respond or
point me in a direction.

Steve

Nov 16 '05 #1
4 1144
Steve,

I think that you make it yourself difficult to get an answer, when you ask
a question you should at least use the elementary names as used in the
language.

ADO is as well called ADODB which uses Recordsets
ADONET uses Datasets.

Starting reading your text, gave me the idea you where using ADO while going
on it became ADONET.

Than I thought he wants to create an interface using his ADO code with
ADONet. However than it did not sound reasonable as well reading the text.

Getting a solution means first writting the problem down right, that is
elementary with development in my opinion.

You can use both in VS Net by the way, although ADONET is much prefered.

I hope this helps something?

Cor
Nov 16 '05 #2
Cor

Thanks for responding and the info

In using ADONet. and connecting to the database using MS.Jet.OLEDB
connection. The Interface file contains common ADONet type set/get methods
common to ADONet applications (DataSet, DataTable, DataGrid, ErrorProvider,
seaching, etc). The following are few stubs from the interface

//General data
DataGrid setGridCaption(..);
DataGrid SetCellWithFocus(...);
DataGrid setGridNamesAndWidth(...);
DataGrid moveDataGridIndex(...);

Steve
"Cor Ligthert" wrote:
Steve,

I think that you make it yourself difficult to get an answer, when you ask
a question you should at least use the elementary names as used in the
language.

ADO is as well called ADODB which uses Recordsets
ADONET uses Datasets.

Starting reading your text, gave me the idea you where using ADO while going
on it became ADONET.

Than I thought he wants to create an interface using his ADO code with
ADONet. However than it did not sound reasonable as well reading the text.

Getting a solution means first writting the problem down right, that is
elementary with development in my opinion.

You can use both in VS Net by the way, although ADONET is much prefered.

I hope this helps something?

Cor

Nov 16 '05 #3
Steve,

This is easy to answer, one of the reasons for OOP is reusability. That
would be not much when you copied it in your project or was using it from
another project. In my opinion when you would use it in more projects you
should at least seperate it in one seperated namespace and DLL.

(An approach, create a Dynamic Link Library copy your old project in it, and
start with that to remove everything not direct for data, use that for
project B, and maintenance as soon as possible after that Project A. Watch
that you do not change major things that can bring you in problem for the
last)

Just my thought,

Cor
Nov 16 '05 #4
Thank You

I understand OOP/OOD but my problem is I don't really understand
development/OS environments I can program almost anything but that doesn't
help me if I don't know if I'm writing ADO or ADONet. For example, I know
what a development library is but I don't really know what a DLL is even
though my application is full them and I use Interop DLL's as references to
ProjectA

I guess what your saying is the Interface should become a DLL for other
namespaces to access - I agree. Right now the top level files and the ADONet
files are all mixed up together and I know that's wrong. I'll have to do
some research. Note: When I started this task I said to myself "I'll deal
with it later" - now is later.

Thanks
Steve

"Cor Ligthert" wrote:
Steve,

This is easy to answer, one of the reasons for OOP is reusability. That
would be not much when you copied it in your project or was using it from
another project. In my opinion when you would use it in more projects you
should at least seperate it in one seperated namespace and DLL.

(An approach, create a Dynamic Link Library copy your old project in it, and
start with that to remove everything not direct for data, use that for
project B, and maintenance as soon as possible after that Project A. Watch
that you do not change major things that can bring you in problem for the
last)

Just my thought,

Cor

Nov 16 '05 #5

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

Similar topics

2
by: Konrad L. M. Rudolph | last post by:
Hello, For some weeks now I seem to be unable to create new projects in Visual Studio 2003. It does not matter which language I use, nor which project type I want to create. As soon as I...
2
by: Vikram Sinha | last post by:
Hi, I am unable to step into a method call on a webservice(WS) from a webform(WF) when WS and WF are located in separate VS.NET solutions. When I try to step in, step over occurs. BTW, I am...
1
by: ad | last post by:
I use vs2005. I wnat to create a dataset in design time. I have a connection string in web.config. At the first step of DataAdapter wizard, it prompt me to enter a new connection, At the last...
2
by: jkodroff | last post by:
Hi all, I am getting a bc30311 error (Value of type 'x' cannot be converted to 'x'). Note that the source and destination types are the same. I have run into this issue on 2 separate...
62
by: robert | last post by:
I'd like to use multiple CPU cores for selected time consuming Python computations (incl. numpy/scipy) in a frictionless manner. Interprocess communication is tedious and out of question, so I...
14
by: Lambda | last post by:
I'd like to create separate character pointers, pass them to a function to assign each one different value, and assign the pointers to an array. But when I try: #include <stdio.h> #include...
4
by: =?Utf-8?B?QmVubnk=?= | last post by:
How do I create a new IE window (client script or ASP.NET server code) so that it will create a new ASP session with each new window? Thanks.
10
by: mzmishra | last post by:
I would like to develope one application in (asp.net 2.0)where I like to have my aspx files in website and my .cs files in a separate project.The reason I like to put .cs in a separate project is I...
0
by: silwar | last post by:
Qusetion 1 I am developing a website mainly for maintaining students record in asp.net and using sql server 2005 database as backend. These site has three types of user Admin, faculty and...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.