Multi User License

Started by Randem, August 19, 2012, 12:07:00 AM

Previous topic - Next topic

Randem

There is no code to send, YOU have to create it for YOUR needs. EVERY application would have different needs and the code would not be the same.
 
Here is something you can look at to get you started:  
http://msdn.microsoft.com/en-us/library/windows/desktop/ms737889%28v=vs.85%29.aspx
http://www.vbforums.com/showthread.php?351269-VB-Instant-Message-Client-Server
http://www.vb6.us/source-code/simple-client-server-chat-program-using-winsock-control

rahulcjain

Can you just send me the vb6 code.

Randem

You would need to have an app installed on the server that will be ready to communicate with the client portion of your app (the one that runs on the users computer). You could use the Winsock control to establish and maintain communications between the two apps.
 
The server portion will just wait for the client to start communication and keep count of the number of connections it is managing. That is about all it needs to do for a simple application.
 
The communications could be as simple as the client sending a message to the server app asking if it is allowed to run by passing the machine ID, HD Serial Number etc... Where the server app will store this information to make sure that three different machines are accessing the server app then responding to the client app that it is OK or not OK for the client to continue.

rahulcjain

How to do that .. i am not getting any idea.

Randem

You would need to develop a Server portion to your app that runs on the Server to keep track of connections that your application makes then do what is needed when you reach the user license number.

rahulcjain

Hi buddies, I have develop a small application in vb6 as comes to the security of the application i want to add multi user security level in my application. I want to multi user license to the user. Let say if i give 3 user license only 2 client machine can be connected to server and the application should run. when the user connect the 4th user the application should not run it should show u have only 3 user license . How should i count the client machine connected to server and using my application. Pls help me
Thanks in advance.