Help - Search - Members - Calendar
Full Version: Visual Basic Game Database
Pixel2Life Forum > Help Section > Desktop Programming
Dragolux
Hey everyone,

I've been working on a game in Visual Basic 2008 for the past week or so, and I've encountered a problem. Actually, that's not true. I just can't figure out how to do something.

Ok, here's the setup. I have a main form where the user can login (i.e. username and password fields). I also have a button on the main form that brings up a "Create a Character" form. On that form, the user can enter a username, password, etcetera, and then press the "Submit" button to create the character.

What I want the program to do is, when the user presses the "Submit" button on the "Create a Character" form, I want it to add the username, password, etcetera, to a database that can be accessed by other computers.

Is there any way to do this? I'm sure there is, but I just don't know how. tongue.gif

Thanks in advance!

Dragolux
Metameta
Good luck? haha If it was local I could possibly help, but networking ehehe...tongue.gif

Local would be easy you could just say write to like userInfo.dll or something and read in the info with each login to check it etc tongue.gif

For a network I'd say start learning SQL...
Dragolux
QUOTE (l3lueMage @ Dec 7 2007, 03:38 PM) *
Good luck? haha If it was local I could possibly help, but networking ehehe... tongue.gif

Local would be easy you could just say write to like userInfo.dll or something and read in the info with each login to check it etc tongue.gif

For a network I'd say start learning SQL...


Isn't there a way to create a database on the internet that can be accessed from multiple computers? I've done it with PHP, but I'm not sure if it's possible with Visual Basic. Any thoughts?
vekien
If you've done it in PHP, im guessing (i know jack almost about programming languages) it would be a little bit of the same.

Your best bet would be to do it via SQL, and try something like this to connect it.
Dragolux
Thanks. I'll try it.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.