I am writing a program on a handheld in Visual Basic .NET. Unfortunatly, this uses the .NET Compact Framework instead of just the normal .NET Framework package, but it is still VB.NET :)
I have a bunch of button on the screen, touch screen buttons that the users prefer to use over the numeric keys themselves on the handheld device. some of the time these buttons represent words or letters and i have programmed for that. However, most of the time the buttons just represent numbers. I do not want to write code for the buttons to tell them where to write a "1" to, instead i just want to make the button act as though they hit the numeric key. I thought this might have been with the SendKey function but I am not having any luck. It may be because I do it wrong or it may be because the .NET Compact Framework will not support it. A simple example of how to do something like this would be much apperciated!