06-13-2011, 09:00 AM
Hey,
I've been working on this a few hours now. I remade my old MySQL connection class. You can do the following things:
You can for example add a 'modify' account option or a 'delete' account option which UID count is already build in (meaning you should (never tested) never have two same UID's).
Code and Info:
The class file:
NOTE: to use this you must have MySql.Data.dll included as reference in your project
Usage is now very simple:
List the table:
Register a new account:
Check if a login exist or is valid:
Downloads:
Whole project (as on the above image YOU MUST DOWNLOAD THE DATABASE FILE BELOW): http://www.mediafire.com/?yu25su89yo79rqb
MySQL.dll (already included on the project): http://www.mediafire.com/?1lk13m1bh8a98p3
Class file: http://www.mediafire.com/?jyu2lunh39jgjjl
Database file: http://www.mediafire.com/?mc8r9c0ob6xp77s
I've been working on this a few hours now. I remade my old MySQL connection class. You can do the following things:
- Login
- Register a new account
- List all the account
You can for example add a 'modify' account option or a 'delete' account option which UID count is already build in (meaning you should (never tested) never have two same UID's).
Code and Info:
The class file:
Spoiler (Click to View)
NOTE: to use this you must have MySql.Data.dll included as reference in your project
Usage is now very simple:
List the table:
Code:
Dim m As New MySQL_VB
m.SetConnectionData("88.198.43.24", "username", "password", "testdba")
m.UsersList_(ListView1)
Register a new account:
Code:
Dim m As New MySQL_VB
m.SetConnectionData("88.198.43.24", "username", "password", "testdba")
m.Register_(TextBox1.Text, TextBox2.Text, TextBox3.Text)
Check if a login exist or is valid:
Code:
Dim m As New MySQL_VB
m.SetConnectionData("88.198.43.24", "username", "password", "testdba")
m.Login_(TextBox6.Text, TextBox5.Text)
Downloads:
Whole project (as on the above image YOU MUST DOWNLOAD THE DATABASE FILE BELOW): http://www.mediafire.com/?yu25su89yo79rqb
MySQL.dll (already included on the project): http://www.mediafire.com/?1lk13m1bh8a98p3
Class file: http://www.mediafire.com/?jyu2lunh39jgjjl
Database file: http://www.mediafire.com/?mc8r9c0ob6xp77s