473,387 Members | 1,942 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,387 software developers and data experts.

Handheld device

Hi,

A customer requested to permanently activate the red Function key on a HHP
Dolphin 9550. This key behaves like a SHIFT key for function keys. They have
to make a lot of key entries:

RED KEY - F1
RED KEY - F2
RED KEY - F3

.... and so on...

It would be very desirable if the RED KEY could be permanently 'pressed',
but it also has to be possible to deactivate ('unpress') the RED KEY.

Does anybody know how to do this using VB.NET?

Regards,

Marcel
Nov 21 '05 #1
3 1123
Define a local variable that means that the key is pressed for the purposes
of your application. The user can then do something to make your code set
the variable to true.

Then, in the rest of the code, if the user happened to press the red key, or
if your variable is set to True, then act as if it is true.

"NedMetric Solutions BV" <m.*****@nedmetric-solutions.nl> wrote in message
news:43***********************@news.xs4all.nl...
Hi,

A customer requested to permanently activate the red Function key on a HHP
Dolphin 9550. This key behaves like a SHIFT key for function keys. They
have to make a lot of key entries:

RED KEY - F1
RED KEY - F2
RED KEY - F3

... and so on...

It would be very desirable if the RED KEY could be permanently 'pressed',
but it also has to be possible to deactivate ('unpress') the RED KEY.

Does anybody know how to do this using VB.NET?

Regards,

Marcel

Nov 21 '05 #2
One day, NedMetric Solutions BV wrote:
Hi,

A customer requested to permanently activate the red Function key on a HHP
Dolphin 9550. This key behaves like a SHIFT key for function keys. They
have to make a lot of key entries:

<snippedy-doo-dah>

Hi Marcel,

Are you talking about some arbitrary application that responds to the
"red-key"? Or, is it your own software that processes the "red-key"? If
it's the former, then if you're on Windows, you'll probably need to do a
bit of P/Invoke to set the state of the "red-key" to 'on'. Also, if this
is the case, then you'll need the key-code for the "red-key".

If it's the latter, then you can simply add some logic to your application
to decide whether or not to listen to the "red-key".

I'm going to assume you need to toggle it for some arbitrary application, in
which case, you should take a look at the following Windows API call:

UINT SendInput ( UINT nInputs, LPINPUT pInputs, int cbSize );

(URL may wrap)
http://msdn.microsoft.com/library/de.../sendinput.asp

--
Tom Spink
Nov 21 '05 #3
Hi Marina,

Could you give me a short code sample?

Best regards,

Marcel

"Marina" <so*****@nospam.com> wrote in message
news:ey**************@TK2MSFTNGP15.phx.gbl...
Define a local variable that means that the key is pressed for the
purposes of your application. The user can then do something to make your
code set the variable to true.

Then, in the rest of the code, if the user happened to press the red key,
or if your variable is set to True, then act as if it is true.

"NedMetric Solutions BV" <m.*****@nedmetric-solutions.nl> wrote in message
news:43***********************@news.xs4all.nl...
Hi,

A customer requested to permanently activate the red Function key on a
HHP Dolphin 9550. This key behaves like a SHIFT key for function keys.
They have to make a lot of key entries:

RED KEY - F1
RED KEY - F2
RED KEY - F3

... and so on...

It would be very desirable if the RED KEY could be permanently 'pressed',
but it also has to be possible to deactivate ('unpress') the RED KEY.

Does anybody know how to do this using VB.NET?

Regards,

Marcel


Nov 21 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Philipp Lenssen | last post by:
I'm looking for samples which make use of the XHTML Basic doctype and handheld CSS. Anybody know some good URLs which use plain CSS to layout the page (as opposed to many graphics)? I want to...
9
by: boclair | last post by:
In a discussion between AJ Flavel and Spartanicus, The later said. "Layouts that work well on the desktop and on small screen devices are single column layouts. Layouts that use more than one...
3
by: David C. Holley | last post by:
Is it possible to run ASP on a handheld device? There's information on my website that I would like available on a portable device without connecting to the internet. Basically, I'm looking to run...
4
by: Michael Sparks | last post by:
Hi, I hadn't seen any announcements regarding this, but there's a little device recently released called a GP2X which is a small dual CPU (2x200Mhz) device which runs Linux. Anyway, I...
1
by: Harlan Messinger | last post by:
English Wikipedia allows registered users to define custom styles. I created a set of styles inside a @media handheld wrapper to see if I could override the default absolute positionings and floats...
0
by: dtittle | last post by:
I am working on an app which will run on a hand held device. I am using Terminal Services to access a progarm on a server. This app needs to get accept an input and then send it to the (app) on ...
1
by: noodyn | last post by:
Hi, I want to have a table for screen layout like this: One Two Three Four One Two Three Four When i access the page via handheld, i want that table to look like this: One Two
0
by: alitheg007 | last post by:
Hi All, I am intrested in doing a project in which I want to stream live video from anyhand held device could be a mobile phone (via USB or Bluetooth) or CCTV camera or video camera to a PC. ...
2
by: CD Tom | last post by:
Here's what I'm trying to do. First I export an existing table to a .txt file and move it to a handheld computer, it is then added to a database on that handheld. Data is inputted into the...
0
by: cherl | last post by:
Hello, I am novice in developing java applications for PDAs, e.g handhelds. I just want to start a simple application, but don't know how to test which version of java is available on the device....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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,...

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.