Monday, 5 September 2011

How To VB6 Connection For Access DataBase

How To Connection For Access Database ???
Step-2 
1. Microsoft Visual Basic 6.0 open.
2. Select Standard EXE.

3. Add Your TextBox.


4. Add Your Command And Command Name Is 
(1)Save      =Command1
(2)Update =Command2
(3)Delete   =Command3
(4)Exit       =Command4

5. Right click To ToolBox And Select To Components...(Short Cut Key Is Cnt + T)


6. Select Controls is Microsoft FlexGrid Control 6.0 To use is Fill Record Direct To Access database


7. Add To FlexGrid And FlexGrid Name is MSFFlexGrid1.

8. Click References

9. Select References Microsoft ActiveX Data Objects 2.6 Library To Use The Database Connection

10. Red Round is Database Path And Database1.mdf  is Database Name.
11. Run your application and if Error Not come then Your Connection is Success.

No comments:

Post a Comment