|
-
May 7th, 2007, 04:34 AM
#1
Thread Starter
Hyperactive Member
database vb6 - Activation
I am planning on making a registration program, but i would like it use a database to see if it has been activated before.
I have a database with these fields:
RegID, PID (Primary key), Activated - the Activated field is Yes/No
On activation if the PID isn't there i want to add it, and set the Activated to Yes. If the PID is there and Activated = Yes, it will not activate the program.
If the PID is there and Activated = No then it will activate and set Activate to Yes.
I am going to use a Access Database on a server, the thing is i dont have a clue how to use a database with vb6.
First of all i would like to know how to connect to a password protected database on a remote server.
Thanks in advance
If your question is answered then mark your thread RESOLVED and give credit to whoever answered it.
If you fail, try and try again, its the only way to success.
-
May 7th, 2007, 05:02 AM
#2
Re: database vb6 - Activation
to learn about database connectivity use ADO and for examples do a google here, you will hit lots of tutorials and also codings...
check here for the connection strings
If an answer to your question has been helpful, then please, Rate it!
Have done Projects in Access and Member management systems using BioMetric devices, Smart cards and BarCodes.
-
May 7th, 2007, 12:13 PM
#3
Re: database vb6 - Activation
And here for a tutorial on using ADO to manage a database.
The most difficult part of developing a program is understanding the problem.
The second most difficult part is deciding how you're going to solve the problem.
Actually writing the program (translating your solution into some computer language) is the easiest part.
Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.
Please Help Us To Save Ana
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|