but for all purposes we'll make a simple app to show a message and the user has to read the message and only then can they escape the app, unless they use tastmanager but if u wanna make a virus then put a timer in and block the taskmanger app and presto! they are screwed ha ha it ever blocks ALT-F4 combo's enjoy!
First add a text box (txt_enter)
Add a Richtextbox (rtb_read)
Add a Button (btn_go)
now this is in VB-Studio 2008 so waht you want it to is
put a random wods in the richtextbox and put in there
"this is the password to leave" and then under the txt_enter
is where they have to put that word.
other code u need to do:
-set your main form to maximise on start.
-disabled maximise and minimise buttions on GUI.
-Set Form1.topmost =true 'to make it the top screen
so the code for button is:
-----------------------------------------------------------------------
Private Sub btn_go_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn_go.Click
If txt_enter.Text = "Word" Then
End
Else
MsgBox("Nope that ain't it buddy")
End If
End Sub
-----------------------------------------------------------------------
Now you need to external code files named (included in .zip and .rar demos)
-FormImmobiliser.vb
-SystemMenuManager.vb
these files make the following code effective.
add this code to the main form:
-----------------------------------------------------------------------
Private myMenuManager As New SystemMenuManager(Me, False,SystemMenuManager.MenuItemState.Greyed)
Private immobiliser As New FormImmobiliser(Me)
------------------------------------------------------------------------
now run it and your app is indistructable!
enjoy.
Jared Woodruff
<i>Stinger Software Systems Lead Designer</i>


Sign In
Create Account




Back to top









