Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
0Activity
0 of .
Results for:
No results containing your search query
P. 1
PROGRAMN10

PROGRAMN10

Ratings: (0)|Views: 3|Likes:
Published by ahmadfiroz

More info:

Published by: ahmadfiroz on Nov 12, 2010
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as DOC, PDF, TXT or read online from Scribd
See more
See less

05/12/2014

pdf

text

original

PROGRAM NO
CONECTING VB6.0 WITH MS ACCESS
1. Start a new application. We’ll develop a form where we can skim through the books database,
examining titles and ISBN values. Place an ADO data control, two label boxes, and two text
boxes on the form.
2. If you haven’t done so, create a data link for the BIBLIO.MDB database following the steps
given under Data Links in these notes.
3. Set the following properties for each control. For the data control and the two text boxes, make
sure you set the properties in the order given.
Form1:
BorderStyle - 1-Fixed Single
Caption - Books Database
Name - frmBooks
Adodc1:
Caption - Book Titles
ConnectionString - BIBLIO.UDL (in whatever folder you saved it in - select, don’t type)
RecordSource - SELECT * FROM Titles
Name - dtaTitles
Label1:
Caption - Title
Label2:
Caption - ISBN
Text1:
DataSource - dtaTitles
DataField - Title
Locked - True
MultiLine - True
Name - txtTitle
Text - [Blank]
Text2:
DataSource - dtaTitles (select, don’t type)
DataField - ISBN (select, don’t type)
Locked - True
Name - txtISBN
Text - [Blank]

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->