Assign Buttons to hardware UP and Down Keys (VisualStudio2008)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ImpactMan
    New Member
    • Oct 2008
    • 9

    Assign Buttons to hardware UP and Down Keys (VisualStudio2008)

    Hello!

    I'm trying to develop one application for pocket pc with Visual Studio 2008.

    Now, I'm having troubles, cause I want to make a button of my application correspond to one hardware key!

    For example, I want software button1 makes the same that dpad UP key!

    Not getting any results! I've already try to search it on google and forums but, not helping!

    So, if anyone here could help, I will be glad!


    I've made a simple example to make me understanding.. . see the picture below:




    _______________ _______________ _______________ _____
    Here is my try:

    Public Class Form1

    Private Sub ExitButton_Clic k(ByVal sender As System.Object, ByVal e As System.EventArg s) Handles ExitButton.Clic k

    'Bye!

    Application.Exi t()

    End Sub

    Private Sub Button1_Click(B yVal sender As System.Object, ByVal e As System.EventArg s) Handles UpButton.Click

    'Up

    !!!!!!CODE HELP PLEASE!!!!!!!

    End Sub
    _______________ _______________ _______________ _____


    Any one there could code one button to me please???



    Regards
Working...