473,386 Members | 1,752 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

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_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ExitButton.Click

'Bye!

Application.Exit()

End Sub

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles UpButton.Click

'Up

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

End Sub
__________________________________________________


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



Regards
Oct 31 '08 #1
0 1271

Sign in to post your reply or Sign up for a free account.

Similar topics

7
by: AES | last post by:
For stepping forward and back through a multi-page HTML slide show or seminar presentation, it's a _lot_ more convenient to use arrow keys, or other keyboard shortcuts, rather than mouse clicks on...
9
by: kbd | last post by:
Hello: I know that hardware requirements are dependent upon many factors. However I need a sanity check on this configuration. First the purpose of the database. - database will be used to...
3
by: Devron Blatchford | last post by:
Hi there, Can someone tell me how I can detect media buttons (play, stop etc) in VB.NET. KeyPress, up, down events don't seem to capture them. Thanks Devron
4
by: Neil Wallace | last post by:
Hi there, I have an application in which a grid of 100 or more buttons are put on a form in columns of 10. All the buttons are within a panel. They are added in runtime, and so they adopt a...
2
by: NeilCarmichael | last post by:
I am new to writing javascript and am a little confused by all the options to do want Ii want to do so I thought I'd pick your brains. I would like to create somthing like windows default login...
2
by: Sheikko | last post by:
Hi, I am deveopping an application on the pocket pc and I need to program hardware buttons to toggle between 2 application. Exactly from the code of the first application I open a second...
2
by: colin | last post by:
Hi, I have a form with some buttons and a graphical user control, I need to use the cursor keys to move the camera position in the control, but it has the unfortunate side effect of cycling...
16
by: ImpactMan | last post by:
Need help to create an windows mobile application with a few buttons that when they are pressed/clicked they assign keys, like up, down, left, right. It is just like to create a "virtual d-pad",...
2
by: Rune Allnor | last post by:
Hi all. I consider to let a client have a test version of some of my software. If the software turns out to do what it is supposed to do, I would like to protect it from being distributed, e.g....
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.