954,535 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

visual basic and access

pliz assist in linking visual basic 6.0 with access step by step

walba
Newbie Poster
15 posts since May 2007
Reputation Points: 10
Solved Threads: 0
 

what is it you are trying to do?

pbrookee
Light Poster
34 posts since Apr 2007
Reputation Points: 10
Solved Threads: 0
 

perform these steps:-

1.open vb6 and create a new project
2.save the project
3.tools->visual data manager
4.file->new->microsoft access database->version 7.0 mdb
5.select the folder where u saved ur project
6.enter new db name and click create
7.right click on database window->new table
8.enter new table name->click add field
9.enter a field name and mention its type
10.click ok->close
11.click build the table
12.double click on the table name to open it
13.click add
14.enter some data
15.close vis-data
16.in the form take a textbox and a data control
17.select datacontrol and press f4
18.select databasename and locate ur access db
19.scroll down and select recordsource and select the table from list
20.open properties of the textbox
21.select datasource and make it to the datacontrol's name
22.select datafield and select the field u created in the table
23.save ur work and press f5
24.use navigation buttons of datacontrol to browse between the records

choudhuryshouvi
Posting Pro
553 posts since May 2007
Reputation Points: 30
Solved Threads: 49
 

why u don't u use the wizard instead.
when u start a new project/form choose the data wizard.

only make some selections .no need to add any code

debasisdas
Posting Genius
6,872 posts since Feb 2007
Reputation Points: 666
Solved Threads: 434
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You