Need help, using VB 2005 Express and Access

MOON's Avatar
Newbie Member
Ok, bear with me, this must be obvious to someone but I can not get it.

I'm writing an application in Visual Basic 2005 Express, and in my project I have an Access database added (.mdb) and the dataset (.xsd). What I need to do is in some functions I'm writing, retrieve information from a Table in said database, and I'm sure there must be some easy built-in functions for doing this but I don't know them.

For example for a constructor:


Public Sub New(ByVal intID As Integer) intClassVariable = some data from the table retrieved using the ID parameter

The ID parameter being the ID on the Table of course.

So how do I accomplish this? I noticed I can declare objects as I need to set a 'DataSet' object to refer to the .xsd part of my project?

thanks in advance

Last edited by shabbir; 24Oct2007 at 21:29.. Reason: Link dropped
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Express edition is free to download from the Microsoft website and you need to be buying the Access.