Sample Database using ADODB in VB 6.0

Submitted by: 
Visitors have accessed this post 36160 times.

Hello guys, this is one of my easy to learn tutorials about database programming in Visual Basic 6.0 using ADODB. It was pure hard coded, but has a clean and easy to understand codes and I put some guides on how my codes worked.

I hope this will help beginners in Visual Basic 6.0,..

Happy Programming!


Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.


1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.


first of all thanks.i will need more students manually add database in access and coding.when i start project error showing on "Run time error 94 Invalid use of null".Pls help need soluction

can you help me about thi program

hi dear friend
please help me!

i changed your code to use in my project.
it add to database but do not edit or delete


tnx poe ahm ask qoe bka pd humingi ng tulong gumgawa kac aq ng database ei pano qoe poe b mareregister ang user sa oras ng login at log out nia....

can you help me!! . plzz.. give an example of random database connected to visual basic 6.0 .. .tnx

tanx bro.....for your really helps me!!!!

helo gud eve . may defen po kasi kami sa vb namin ..
pinapagawa po kami ng program tru vb connected to database.. dn i dnt hav an idea kung ano ang gagawin q.wala pa po kc akong napili..ano po ba ang maganda

connection naman para sa log in with database oh T.T

i am getting error Run-Time error '383. Property is read-only
om update page after some modification.

hello, will u help me on what system is good for our thesis,? i dont have any idea, bcoz library,enrollment,payroll,billing are common .. send me a msg. on my fb acct. [email protected]

if im not late,.you can try to make an advance LAN CHAT SYSTEM using winSock Control in VB 6.0,..That's is the one of the best system that you can try to work,.. :-)

i want to devolp some form can you halp me please il send form desgn if you accept

oh yes brother, of course, you can ask me some questions about my article in vb6.0.. you can send your forms in my email:

[email protected] (both capital and small letters..)

i hope i can help you in your problems,..just pm me if you want some answers in your questions,.. ^^

Add new comment

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • You may insert videos with [video:URL]
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <th> <img> <h1> <h2> <h3> <iframe> [video]
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <asp>, <c>, <cpp>, <csharp>, <css>, <html4strict>, <java>, <javascript>, <mysql>, <php>, <python>, <sql>, <vb>, <vbnet>. The supported tag styles are: <foo>, [foo].
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.