Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Conversion of old DAO VB6 to .NET .. old sample class code needed

Status
Not open for further replies.

mb22

Programmer
Sep 4, 2002
258
US
I have an old app using DAO .. and data controls. It is a rather extensive application that I need to migrate to .NET. However the DAO data control is not supported. Moreover the application was writteen poorly as a 1-tier.

Reading the .NET migration suggestions.... it appears to prevent a rewrite... I am going to try to separate the app into 3 tiers (user interface, business logic, data access component) and employ classes for the Data access layer. I will also use ADO objects which is supported in .NET.

Does any one have a sample VB6 app that uses 3 tier.. with all data acces doen thru the class modules? I mean like all the data connections, recordset updates, taking place in the classes... with simple methods?
 
You will probably do better to restart rather than hack an old VB6 into a new VB6 just to update it. There are many references to n-tier applications with VB.NET on MS site:

________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first

'People who live in windowed environments shouldn't cast pointers.'
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top