VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Protect your application to run if renamed.No API

by Karthikeyan (187 Submissions)
Category: Windows System Services
Compatability: Visual Basic 5.0
Difficulty: Unknown Difficulty
Originally Published: Wed 17th January 2001
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Protect your application to run if renamed.No API

Rate Protect your application to run if renamed.No API



'include this code in form_load

Private Sub Form_Load()
If App.EXEName <> "RESTRICTCPL" Then
MsgBox "Sorry I cannot run this program unless you name it as RestrictCPL.exe"
End
End If
End Sub

Download this snippet    Add to My Saved Code

Protect your application to run if renamed.No API Comments

No comments have been posted about Protect your application to run if renamed.No API. Why not be the first to post a comment about Protect your application to run if renamed.No API.

Post your comment

Subject:
Message:
0/1000 characters