Wrox Programmer Forums
|
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 8th, 2006, 02:28 PM
Friend of Wrox
 
Join Date: Oct 2004
Posts: 564
Thanks: 0
Thanked 4 Times in 4 Posts
Default Touch Screen Programming

Does anyone have any experience coding an Access application for use with a touch screen? I don't have a touch screen to experiment with yet, but was wondering if an end-user touch on the screen would fire off a click event, just like a mouse click without any additional programming for applications that I currently have?

Thanks

Mike

Mike
EchoVue.com
__________________
Mike
EchoVue.com
 
Old February 8th, 2006, 03:02 PM
Friend of Wrox
 
Join Date: Dec 2005
Posts: 142
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Touch screens work just like a mouse in my experience. I worked on a design project last year using one and when an impact was recorded it moved the mouse to the location. I can't remember if we had it click at that location but I'm positive that there was an option to enable/disable clicking on impact. You'll have to consult the documentation that comes with the touchscreen for specifics, but the general way they work is (if you're assembling your own) is a touch screen (resistive, capacitive, or near-field), a controller that translates the voltage read from the contact into a position and reports that position through a USB/PS2/serial port, and a driver on the computer being used (in case of serial, USB worked natively for me).

They're a lot of fun to work with, but I'd recommend buying one preassembled if cost isn't an issue and you're not looking for a larger screen (ours was 9x12 so we had to assemble our own, biggest we could find prefabbed was 6x8 I think). If not, it can be tough to match parts up exactly.. I spent a good 9 hours resoldering the circuit board of the controller to get it working.

 
Old February 8th, 2006, 03:05 PM
Friend of Wrox
 
Join Date: Oct 2004
Posts: 564
Thanks: 0
Thanked 4 Times in 4 Posts
Default

Thanks Kindler!

So it sounds like the big trick is just assembling the screen, and getting it configured right.

Thanks again,

Mike

Mike
EchoVue.com
 
Old June 21st, 2006, 08:19 PM
Registered User
 
Join Date: Jun 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I don't mean to bring up old topics, but I have some questions regarding touch-screen programming.

This mainly regards the programming language used for touch screen. What language do touch screens use? I've surf the web and found something like cT. My work place is looking into using touchscreens to streamline order transactions. We think that touchscreens can eliminate most of the paperwork and have stuff printed out as the order is recieved.

Any additional info on this touch screen programming language is welcomed. Thanks in advanced.


 
Old June 23rd, 2006, 05:43 AM
Friend of Wrox
 
Join Date: Dec 2005
Posts: 142
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Like I told Mike, you can use basically any language capable of capturing mouse input to capture touchscreen input, at least in a Windows system. I did most of my work with one in Matlab since we were using it as part of an embedded control system. I'd need more info about the order systems you have in place already to give a better idea.

 
Old June 23rd, 2006, 08:06 AM
Registered User
 
Join Date: Jun 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

alright, thanks.

I was thinking of doing some preparations, but from what you said, it all depends on the hardware.

Is there an 'ideal' or recommended language for touch screen?



 
Old June 23rd, 2006, 09:33 AM
Friend of Wrox
 
Join Date: Dec 2005
Posts: 142
Thanks: 0
Thanked 0 Times in 0 Posts
Default

It depends on the software you're interfacing it with, if it's software that is operated with a mouse then there's really no coding required at all, you just calibrate it and that's that. Just think of it as a big trackpad like you'd find on a laptop.

 
Old June 23rd, 2006, 06:38 PM
Registered User
 
Join Date: Jun 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

so what I'm working with is just a normal pc and different stdout and stdin?

 
Old March 19th, 2008, 01:46 AM
Registered User
 
Join Date: Mar 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Where would I find a pre assembled touchscreen which I can program. I googled some options but they came out to be too expensive.

 
Old March 19th, 2008, 11:53 AM
Friend of Wrox
 
Join Date: Mar 2004
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

You don't program the touch screen. You program your application display, and the touch screen acts like the cursor. The touch screen also allows double-clicks and right-clicks.

If your application works with a mouse, it will work with a touch screen. Most touch screens allow you to bring up a keyboard emulator, and you can type on the screen.

Try SmartTech for an overlay. Those are less expensive than a touch crt or lcd.

Did that help?

mmcdonal

Look it up at: http://wrox.books24x7.com





Similar Threads
Thread Thread Starter Forum Replies Last Post
Pain: A touch-up on Beginning JSP Chapter 23 Swede BOOK: Beginning JavaServer Pages 1 January 12th, 2014 10:59 AM
no-touch deployment! viper .NET Web Services 2 December 31st, 2008 10:25 PM
Reading Touch Tablet in PHP MisbahAnsari PHP FAQs 0 October 30th, 2008 06:02 AM
Draw on the screen without clearing the screen pu132 Visual Basic 2005 Basics 0 August 25th, 2006 09:03 PM
Touch screen Stanny Access 2 August 23rd, 2005 11:12 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.