PC Review


Reply
Thread Tools Rate Thread

Converting MS Access 2000 application to a VB / VB.NET application

 
 
=?Utf-8?B?R2VvcmdlIEguIFNsYW1vd2l0eg==?=
Guest
Posts: n/a
 
      25th Mar 2005
Hello All

I am trying to convert a MS Access 2000 application to a VB application
(Just Started Yesterday)

I am using Visual Studio .NET 2003 utilizing Visual Basic .NET

I think I have a good feel to what I have to do, but does anyone know of a
GOOD white paper on what is involved, pitfalls, etc?

So far I have run into one problem that I have not been able to figure away
around.
That is how to access the tables. In access you have Database objects,
Recordset objects and all if the associated methods. I cant seem to find out
how to convert this to VB. I have been reading through postings in this
Discussion Group, but I am still a little bit confused.

Is there a SIMPLE way to access the existing .MDB database tables, and the
individual fields within the tables. Any help would be greatly appreciated,
or a pointer to a good white paper describing the procedure.

Thanks in advance

--
George H. Slamowitz
(602) 765-8111
(602) 765-8222 (FAX)
 
Reply With Quote
 
 
 
 
Jerry H.
Guest
Posts: n/a
 
      25th Mar 2005
Heh, some of my co-workers who are absolute Wizards with MS Access, but
are now asking similar questions as yours. I'd say that, right now,
there isn't really a *simple* way with .NET 1.1, however .NET 2.0
framework will make offer better methods and easier access to
datasources.

Anyway, you might look here, as this person offers some straight
forward examples:

http://www.visual-basic-data-mining....spx?PostID=563

HTH

 
Reply With Quote
 
Cor Ligthert
Guest
Posts: n/a
 
      25th Mar 2005
George,

There is no way to convert a MS Access application to a VBNet application.

However the use of the database itself is very easy to do.

For that you can use ADONET in which are the classes from the so called
system.data namespace

http://msdn.microsoft.com/library/de...systemdata.asp

Do not mix this up with ADO (ADODB) what is completly different and not
really a Net part.

For MS Access the best choise to connect and use it is than OLEDB.

In this newsgroup you will mostly be helped with problems about that.
Another very good newsgroup for that is

Adonet
news://msnews.microsoft.com/microsof...amework.adonet

Web interface:
http://communities2.microsoft.com/co...amework.adonet

When you see samples you see them than as well often for SQLserver they are
almost (with exceptions from the command.parameters) always the same as for
msaccess with the difference where an instructions starts for SQL with by
instance SQLCommand it is for access (OleDB) OleDbCommand

A good place to start is in my opinion.

http://samples.gotdotnet.com/quickstart/

I hope this helps a little bit?

Cor


 
Reply With Quote
 
Dean Slindee
Guest
Posts: n/a
 
      30th Mar 2005
You need to decide one important point first: is the data going to stay in
..mdb tables?

If yes, then you can use VB.NET calling ADO recordsets (not ADO.NET
datasets) This is Not progressive thinking in .NET land, but it works.

If no, then consider upsizing the Access application backend from .mdb to
SQL Server tables. Access has an internal tool to do this. You will need
to convert Access queries into SQL Server stored procedures that can be
called from VB.NET. The stored procedures can also be the recordsource for
the upsized Access front-end (should you decide to retain it for some
reason, or for an interim period).

I have done all of the above over the past several years, and they all work.
Dean Slindee

"George H. Slamowitz" <(E-Mail Removed)> wrote in message
news:19A1511D-5252-46C5-80E2-(E-Mail Removed)...
> Hello All
>
> I am trying to convert a MS Access 2000 application to a VB application
> (Just Started Yesterday)
>
> I am using Visual Studio .NET 2003 utilizing Visual Basic .NET
>
> I think I have a good feel to what I have to do, but does anyone know of a
> GOOD white paper on what is involved, pitfalls, etc?
>
> So far I have run into one problem that I have not been able to figure

away
> around.
> That is how to access the tables. In access you have Database objects,
> Recordset objects and all if the associated methods. I cant seem to find

out
> how to convert this to VB. I have been reading through postings in this
> Discussion Group, but I am still a little bit confused.
>
> Is there a SIMPLE way to access the existing .MDB database tables, and the
> individual fields within the tables. Any help would be greatly

appreciated,
> or a pointer to a good white paper describing the procedure.
>
> Thanks in advance
>
> --
> George H. Slamowitz
> (602) 765-8111
> (602) 765-8222 (FAX)



 
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
Converting Access application to the web =?Utf-8?B?TWFyeSBGcmFu?= Microsoft Access 5 18th Feb 2007 06:58 PM
Converting my ms access application to access pages BJ Betts Microsoft Access Form Coding 0 2nd Aug 2006 03:57 AM
Converting Access XP switchboard to Access 97 (Application.Curren. =?Utf-8?B?TVNMdWNp?= Microsoft Access 2 30th Sep 2004 11:22 AM
Converting an Access Application Randy Microsoft VB .NET 5 28th Apr 2004 08:09 PM
Access 2000 HR application Richard Microsoft Access 0 16th Jul 2003 02:29 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:54 AM.