PC Review


Reply
Thread Tools Rate Thread

When Create Separate ADO VS Projects?

 
 
=?Utf-8?B?U3RldmUgQi4=?=
Guest
Posts: n/a
 
      12th Feb 2005
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

 
Reply With Quote
 
 
 
 
Cor Ligthert
Guest
Posts: n/a
 
      13th Feb 2005
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


 
Reply With Quote
 
=?Utf-8?B?U3RldmUgQi4=?=
Guest
Posts: n/a
 
      13th Feb 2005
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
>
>
>

 
Reply With Quote
 
Cor Ligthert
Guest
Posts: n/a
 
      13th Feb 2005
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


 
Reply With Quote
 
=?Utf-8?B?U3RldmUgQi4=?=
Guest
Posts: n/a
 
      13th Feb 2005
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
>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Avoiding circular reference between two forms in separate projects? Kylarean Microsoft Dot NET Framework Forms 1 25th Jun 2007 11:22 AM
Re: DAL and BLL as separate projects? sloan Microsoft ASP .NET 1 5th Dec 2006 09:54 PM
Re: DAL and BLL as separate projects? sloan Microsoft ASP .NET 0 5th Dec 2006 09:26 PM
Can't create projects / open projects jaredea Microsoft ASP .NET 4 10th Aug 2005 08:01 PM
Cannot create asp.net web projects. (Yes, again) =?Utf-8?B?QmlsbCBST3dlbGw=?= Microsoft ASP .NET 7 2nd Jul 2004 09:09 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:41 AM.