I have a simple program that has a start and stop buttons. I want the user to be able to use the buttons on the PDA front to activate the start and stop buttons. I'm having a hard time finding info on how to recieve button push notifications and how to tie these to the start and stop buttons of my application. Any help is very much appreciated. I'm using VB for the .net compact framework.

Re: How to use hardware buttons on PDA in application with VB by Maarten

Maarten
Sat Jan 24 16:52:06 CST 2004

You should take a look at the new P/Invoke article on MSDN:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetcomp/html/PInvokeLib.asp.
It contains a sample of handling the hardware buttons, see the Input section
in the article. The sample code is available to download.

--
Regards,

Maarten Struys, eMVP
PTS Software bv

"MeatHanky" <anonymous@discussions.microsoft.com> wrote in message
news:34880C7E-92CF-4F42-9628-33A7E3364CE0@microsoft.com...
> I have a simple program that has a start and stop buttons. I want the
user to be able to use the buttons on the PDA front to activate the start
and stop buttons. I'm having a hard time finding info on how to recieve
button push notifications and how to tie these to the start and stop buttons
of my application. Any help is very much appreciated. I'm using VB for the
.net compact framework.



Re: How to use hardware buttons on PDA in application with VB by anonymous

anonymous
Sat Jan 24 17:36:06 CST 2004

I took a look at that sample. Unfortunately, I think it is beyond my level of programming at this time. I'm just beginner and it looked like a bunch of stuff that I've never seen before. Thanks for the pointer... I think that is what I was looking for, I'm simply too inept to handle it at this time.

Re: How to use hardware buttons on PDA in application with VB by Maarten

Maarten
Sun Jan 25 02:29:53 CST 2004

To get familiar with some of these things you might want to check out these
articles as well:
http://smartdevices.microsoftdev.com/Learn/Articles/501.aspx. This article
explaines what P/Invoke is rather well. To get some relatively easy code
samples on various topics you should take a look here:
http://samples.gotdotnet.com/quickstart/compactframework/.

--
Regards,

Maarten Struys, eMVP
PTS Software bv

"MeatHanky" <anonymous@discussions.microsoft.com> wrote in message
news:5260774B-88B6-4190-A02B-46FA516968B8@microsoft.com...
> I took a look at that sample. Unfortunately, I think it is beyond my
level of programming at this time. I'm just beginner and it looked like a
bunch of stuff that I've never seen before. Thanks for the pointer... I
think that is what I was looking for, I'm simply too inept to handle it at
this time.