i need step by step tutorial about this database connection in vb...
i need step by step tutorial about this database connection in vb...
Visual Basic Code at vbcode.com
visual basic, vb, active server pages (ASP),java, javscript,c, c++, c__ , vbscript,active server pages, ASP, vbscript,SQL, database, informix, oracle, SQL Server,Perl, CGI,Delphi, PHP,Free source code for the taking. Over five million lines of progra
i learned vb from internet.
Hey, i found this site hopefully it may help you.
Visual Basic Source Code .Net Sample, Visual Basic 2010
Visual Basic Source Code Blog
Last edited by mikesaga; 04-26-2010 at 08:04 PM. Reason: edit link
sa google nalng search hehehehe
database with vb using basic ms access
1. create a db using access 2002-2003
2. n ur vb window go to components then add, microsoft ado controls
3. on your left pane, drag to create "Adodc" box.
4. Right click adodc box, select properties, under "Use connection string", click "build" butn.
5. sel. microsoft jet, under "Select/nter db name" browse and look for your db in your dir.
6. Click test conn buttn, if success then congrats
7. copy the ntire path under "Use connection string"
8. in your vb window, add "module" then ini. a connection ex. dim conn as adodb.connection
9. go to your main form then type "set form = new adodb.connection"
10. type this to create a connection.... conn.connectionstring = "[your db connection string here]"
11. type conn.open [naa naka connection sa imo db]
12. create a recordset ex. dim myRS as new adodb.recordset
--------------That should be it, naa naka clue unsaun pag establish sa connection from vb to access---
Similar Threads |
|