Results 1 to 6 of 6

Thread: Hidden Commands using Keycodes(Hotkeys)

Threaded View

  1. #1

    Thread Starter
    Addicted Member Reapism's Avatar
    Join Date
    Sep 2012
    Posts
    170

    Hidden Commands using Keycodes(Hotkeys)

    I have been fiddling with the keys and stuff and I stumbled upon adding a "Secret" key that opens up a form.

    I have been trying to add this key to Form1.load() so it is secret but upon doing so I receive a error

    Code:
        Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
            Dim Reap As System.EventArgs
            Reap.keycode = Keys.F1 then
            Form1.Show()
    
    'I understand you can use e.keycode but I like to be fancy :P
    How do I make it work, Should i have a default focus and then add the keycode method or using the form1.load() Please be explanatory

    All replies are invaluable.

    I am new to the VBForums, be nice I am only 16
    Last edited by Reapism; Oct 4th, 2012 at 03:46 PM. Reason: I messed up the title :(

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width