How to connect the .accdb database file of microsoft access
to the Visual Basic 6.0 forms?



How to connect the .accdb database file of microsoft access to the Visual Basic 6.0 forms?..

Answer / Sukwant Singh Gunjiyal

To connect an Access .accdb database file to a Visual Basic 6.0 project, you can use the DAO (Data Access Objects) or RDO (Remote Data Objects) libraries. Here's a basic step-by-step process:
1. Add a new OLE DB Services reference to your VB6 project.
2. Create an instance of the database connection object.
3. Open the database using the Connect method.
4. Use Recordset objects to query and manipulate data in the database.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Programming Languages AllOther Interview Questions

Diffrence between 2.0,3.0,3.5,4.0. versions of .net?

1 Answers  


Write a program to calculate the following i want a Java program for this condition 1+4+9+16+….+100 Like this (1^2+2^2) Hint use function pow(a,b)

4 Answers   HTC,


how do i create my own exception class which will restrict IO exception?

1 Answers  


Tips for blog integration by www.esteemwebsolutions.com. Can Any body suggest me to how to make wonderful questions on web integration..

1 Answers  


Crystal report proffessional 9 to filter the issue date!!

1 Answers  


There are 3 jars containing two types of round marbles. One jar contains only red marbles, one jar contains only blue marbles and the third jar contains a mix of both red and blue marbles. Although the jars are labeled “red”, “blue” and “mixed” – all the jars are mislabeled. How many marbles would you have to pull out, and out of which jars, to find out how to fix the labels correctly?

1 Answers   Syntel,


A combination of multiple keys defined in a physical file or logical file is called a _________ key

3 Answers   IBM,


What sysoption determines where the macro facility searches a specific catalog for complied macro?

1 Answers   GE,


73. How can you set the status and title for a modal dialog box? a) In the attributes of the corresponding screen. b) Before the corresp. call screen statement. c) In a PBO module of the corresponding screen. d) In the PAI module of the corresponding screen.

1 Answers  


in a VB application, where the data will be stored after manipulation? what is the syntax for that?

1 Answers   TCS,


Write a program which inputs 2 integers representing the sides of a triangle, a and b. Next, write a function which accepts the 2 sides as parameters and returns the hypotenuse of the triangle, c. Use c 2 = a 2 + b 2 To raise a number to an exponent, us e the built - in JavaScript function Math.pow() Let’s say you have a variable x and you want to raise it to the 5 th power, use Math.pow in the following manner... Math.pow( x, 5 ); This will raise x to the 5 th power. To find the square root of a number, use t he built - in JavaScript function Math.sqrt () So to find the square root of x, use Math.pow () in the following manner... Math.sqrt( x ) You must create 2 functions to receive credit for this assignment. Your ‘ main ’ function which is called from the button. And your hypotenuse function. Again, the main function calls upon the hypotenuse f unction when it needs that value. Get the user ’ s input, call the function, output your result. Create your own CSS layout

0 Answers  


Write a program to implement BFS/ DFS routine in a connected graph

1 Answers  


Categories