VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Licence Mailslot

by Rodney Safe Computing (Tiger Software) (6 Submissions)
Category: VB function enhancement
Compatability: Visual Basic 3.0
Difficulty: Advanced
Date Added: Wed 3rd February 2021
Rating: (67 Votes)

This program is an advance Edition of the mailslot program I posted ealier.
Now this sample will protect your software of beiing running more than the maximum user licence your software allowed.
Any one connected to the network will not be able to run your application if they exits the maximum user licence allowed by your application.
Offcourse you've to defind how many users are allowed to run your application at the same time.
When start it will looks over the network if thera are any copy running. If found it will count the Computer name as a user. If at final the maximum user count >= than MaxUser License permitted. Program will Quit.
I prevent the program of running twice on the same machine by including the command App.PrevInstance at formload.
This command only works when the program is compiled as an executable.
In Design mode you can run the program twice.
This program is well commented.
Take a look VOTE and have fun.
Rodney Godfried.

Assumes
You must have a network to test it.

Rate Licence Mailslot

Download Licence Mailslot

Download Licence Mailslot (17 KB)

Licence Mailslot Comments

No comments have been posted about Licence Mailslot. Why not be the first to post a comment about Licence Mailslot.

Post your comment

Subject:
Message:
0/1000 characters