Hi, I'm looking for advice on where to start with interfacing VB 2005 with
Access 2003. For starters I would like to be able to add data to tables and
retrieve queries from tables.
Thanks,
David 8 1787
You'll need an OLEDB.OLEDBConnection object and it's connection string
property set up to "Provider=Microsoft.JET.Oledb.4.0;Data Source=" &
pathToTheAccessDB.
Then you can create OLEDB.OLEDBCommand objects to do the querying.
"David" <da*********@yoowhoo.comwrote in message
news:dK******************************@comcast.com. ..
Hi, I'm looking for advice on where to start with interfacing VB 2005 with
Access 2003. For starters I would like to be able to add data to tables
and retrieve queries from tables.
Thanks,
David
"David" <da*********@yoowhoo.comwrote in message
news:dK******************************@comcast.com. ..
Hi, I'm looking for advice on where to start with interfacing VB 2005 with
Access 2003. For starters I would like to be able to add data to tables
and retrieve queries from tables.
The example is using ordinal field position numbers, but you can give field
names as well, use Google and look it up. http://visualbasic.about.com/od/lear.../aa050303a.htm
You should get yourself a good ADO,Net book.
"Mr. Arnold" <MR. Ar****@Arnold.comwrote in message
news:Od***************@TK2MSFTNGP06.phx.gbl...
>
"David" <da*********@yoowhoo.comwrote in message
news:dK******************************@comcast.com. ..
>Hi, I'm looking for advice on where to start with interfacing VB 2005 with Access 2003. For starters I would like to be able to add data to tables and retrieve queries from tables.
The example is using ordinal field position numbers, but you can give
field names as well, use Google and look it up.
http://visualbasic.about.com/od/lear.../aa050303a.htm
You should get yourself a good ADO,Net book.
I'm going to take your advice and start studying ADO.NET.
After I posted my question on here I had found this page: http://www.codeproject.com/vb/net/atcl.asp. There is a class library
available there that aids in data extraction and table maintenance. Does
this look worth using over ADO? I'm just wondering how much time I would
save by starting with this instead- I am hoping that using ADO to perform my
tasks (adding data to tables, retrieving queries from tables) won't take
more code than the example code on that page which demonstrates how to use
the class.
David
"David" <da*********@yoowhoo.comwrote in message
news:xI******************************@comcast.com. ..
>
"Mr. Arnold" <MR. Ar****@Arnold.comwrote in message
news:Od***************@TK2MSFTNGP06.phx.gbl...
>> "David" <da*********@yoowhoo.comwrote in message news:dK******************************@comcast.com ...
>>Hi, I'm looking for advice on where to start with interfacing VB 2005 with Access 2003. For starters I would like to be able to add data to tables and retrieve queries from tables. The example is using ordinal field position numbers, but you can give field names as well, use Google and look it up.
http://visualbasic.about.com/od/lear.../aa050303a.htm
You should get yourself a good ADO,Net book.
I'm going to take your advice and start studying ADO.NET.
After I posted my question on here I had found this page: http://www.codeproject.com/vb/net/atcl.asp. There is a class library
available there that aids in data extraction and table maintenance. Does
this look worth using over ADO? I'm just wondering how much time I would
save by starting with this instead- I am hoping that using ADO to perform
my tasks (adding data to tables, retrieving queries from tables) won't
take more code than the example code on that page which demonstrates how
to use the class.
The Code Project is where I go to get good examples of how to do things in
VB or C#.net, with source code, so I can do cut and past. Why reinvent the
wheel I say? :)
But you still need a good ADO.NET book. There is more to ADO.NET than what's
being shown in the examples, which you might need to call upon. It's best to
know that it's there and not knowing at all.
The link may help you too. http://msdn2.microsoft.com/en-us/library/ms971481.aspx
David,
Access has no database. It uses the Jet Engine or SQL Server. Those
Databases (although Jet is not real a complete database works with AdoNet.
To access Access (in fact the Jet Engine) you use OleDb where the Jet engine
is the default in showing samples.
You can look at our website which is filled with samples for that. http://www.vb-tips.com/default.aspx
Cor
"David" <da*********@yoowhoo.comschreef in bericht
news:dK******************************@comcast.com. ..
Hi, I'm looking for advice on where to start with interfacing VB 2005 with
Access 2003. For starters I would like to be able to add data to tables
and retrieve queries from tables.
Thanks,
David
This example uses ADO .NET (by the way ADO is not what we are talking about
here).
Yes, you should ADO .NET if you are going to be working with data in .NET.
"David" <da*********@yoowhoo.comwrote in message
news:xI******************************@comcast.com. ..
>
"Mr. Arnold" <MR. Ar****@Arnold.comwrote in message
news:Od***************@TK2MSFTNGP06.phx.gbl...
>> "David" <da*********@yoowhoo.comwrote in message news:dK******************************@comcast.com ...
>>Hi, I'm looking for advice on where to start with interfacing VB 2005 with Access 2003. For starters I would like to be able to add data to tables and retrieve queries from tables. The example is using ordinal field position numbers, but you can give field names as well, use Google and look it up.
http://visualbasic.about.com/od/lear.../aa050303a.htm
You should get yourself a good ADO,Net book.
I'm going to take your advice and start studying ADO.NET.
After I posted my question on here I had found this page: http://www.codeproject.com/vb/net/atcl.asp. There is a class library
available there that aids in data extraction and table maintenance. Does
this look worth using over ADO? I'm just wondering how much time I would
save by starting with this instead- I am hoping that using ADO to perform
my tasks (adding data to tables, retrieving queries from tables) won't
take more code than the example code on that page which demonstrates how
to use the class.
David
Well, not quite Cor. Technically, there is no such type of database called
Access. Access is just an IDE for a JET or SQL database, but Access does
have a database, just not one called Access.
"Cor Ligthert [MVP]" <no************@planet.nlwrote in message
news:uh****************@TK2MSFTNGP05.phx.gbl...
David,
Access has no database. It uses the Jet Engine or SQL Server. Those
Databases (although Jet is not real a complete database works with AdoNet.
To access Access (in fact the Jet Engine) you use OleDb where the Jet
engine is the default in showing samples.
You can look at our website which is filled with samples for that.
http://www.vb-tips.com/default.aspx
Cor
"David" <da*********@yoowhoo.comschreef in bericht
news:dK******************************@comcast.com. ..
>Hi, I'm looking for advice on where to start with interfacing VB 2005 with Access 2003. For starters I would like to be able to add data to tables and retrieve queries from tables.
Thanks,
David
Scott,
You are right "has", has to be, "is"
Cor
"Scott M." <s-***@nospam.nospamschreef in bericht
news:ud****************@TK2MSFTNGP02.phx.gbl...
Well, not quite Cor. Technically, there is no such type of database
called Access. Access is just an IDE for a JET or SQL database, but
Access does have a database, just not one called Access.
"Cor Ligthert [MVP]" <no************@planet.nlwrote in message
news:uh****************@TK2MSFTNGP05.phx.gbl...
>David,
Access has no database. It uses the Jet Engine or SQL Server. Those Databases (although Jet is not real a complete database works with AdoNet.
To access Access (in fact the Jet Engine) you use OleDb where the Jet engine is the default in showing samples.
You can look at our website which is filled with samples for that.
http://www.vb-tips.com/default.aspx
Cor
"David" <da*********@yoowhoo.comschreef in bericht news:dK******************************@comcast.com ...
>>Hi, I'm looking for advice on where to start with interfacing VB 2005 with Access 2003. For starters I would like to be able to add data to tables and retrieve queries from tables.
Thanks,
David This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Adam Short |
last post by:
I am trying to write a routine that will connect a .NET server with a
classic ASP server.
I know the following code doesn't work! The data is being returned as a
dataset, however ASP does not...
|
by: Shaurya Anand |
last post by:
I would like to know more about Interfacing hardware devices through .NET.
We're students and what we're trying to do is control our robots with
printer or serial port interfacing... very similar...
|
by: Cherry |
last post by:
I have an ID Innovation card reader that I am trying to connect to my
Access database. The first problem is that when I swipe the card
through the reader, it reads the id but it adds digits to the...
|
by: Lauren Wilson |
last post by:
Ok I have searched the MS website for info on this. I am totally
confused.
If I want to deploy an Access 2003 app and allow my users to run it
using Access 2003 Runtime, where do I get the...
|
by: headware |
last post by:
I'm relatively new to ASP.NET and ADO.NET, but I have a basic design
question regarding the use of web services and APS.NET applications.
Right now we have an application that uses web services to...
|
by: keliie |
last post by:
Hello,
I've recently completed a database that tracks my food purchases and
inventory and I want to add another piece to the database that tracks
sales. Our company's waitstaff enters order...
|
by: dev |
last post by:
hi
i want to know about interfacing or accessing a serial port using
c-program please help me with an example thanks for whom who reply
me soon
|
by: Viewer T. |
last post by:
I am quite a newbie and I am trying to interface with Microsoft Word
2003 COM with Python. Please what is the name of the COM server for
Microsoft Word 2003?
|
by: tontobiker |
last post by:
I have a 2003 server. A server 2008 with exchange and several laptops with vista business, windows 7 and xp.
I use an EMR(i am a doc) that appears to be an addon for MS word. The backend is SQL...
|
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...
|
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
|
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...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
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...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
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,...
| |