Capture signature using Touch screen computer in C#.Net 2005 application

We have touch screen computer & we  want to develop application which can capture signature from touch screen & can store in my database.
Actually We need some common tools which can run in all touch screen machine. Our application should not be hardware or machine oriented.
Does visual studio provide any kind of facility or what we need to develop the application?
Our  application is in C#.Net 2005 & Database is Sql server 2005
atulmodiAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Kyle AbrahamsConnect With a Mentor Senior .Net DeveloperCommented:
That is correct, there is no cursor in a picture box.  A signature isn't text, it's a picture.  Essentially you need to create a picture on the fly.  

As I said earlier when using the touch screen is essentially generating a mouse_click event (I think even for a picture you get the onmouseClick event which would be really helpful)

Draw a pixel in the location that just occured in the picture box, and continue to loop while the mouse is down, thereby capturing the signature.

See this for an example of what I'm talking about:
http://bytes.com/topic/net/answers/417283-capturing-signature-using-picturebox-bitmap
0
 
Kyle AbrahamsSenior .Net DeveloperCommented:
http://discuss.joelonsoftware.com/default.asp?dotnet.12.431824.10

C# should be fine.  The touch screen is essentially a mouse click event.  So while mouse_down in your text box you would paint a pixel.  

0
 
atulmodiAuthor Commented:
Yes touch screen is essentially a mouse click event but user can not sign in text box. Every touch screen has specific application for signature which is hardware specific & by help of that application we have to develop our own application to capture signature using C#.Net 2005

but I need to develop application which should not be hardware specific. For that which tool I have to use?
0
Evaluating UTMs? Here's what you need to know!

Evaluating a UTM appliance and vendor can prove to be an overwhelming exercise.  How can you make sure that you're getting the security that your organization needs without breaking the bank? Check out our UTM Buyer's Guide for more information on what you should be looking for!

 
Kyle AbrahamsSenior .Net DeveloperCommented:
What do you mean by capturing a signature?  

If you mean by having the user sign in your application think of it like paint . . . every time the user clicks in an area paint the pixel black.  (pixel by pixel).


0
 
atulmodiAuthor Commented:
Still I am not getting solution which i need. In simple words, I need to develop application using C#.Net 2005. Is there any third party tool required for that or just visual studio provides all the facility to capture signature from touch screen computer & save in our sql server 2005 database?
0
 
Kyle AbrahamsSenior .Net DeveloperCommented:
Visual studios c# .net 2005 is fine for the task.
0
 
atulmodiAuthor Commented:
Yes visual studio is fine for the task. I need to evelop the application using C# only. My problem is how to do this using C#.Net 2005?  Is there any inbuilt functionality or I have to use any third party tool?
0
 
Kyle AbrahamsSenior .Net DeveloperCommented:
C# .net 2005 handles mouse support.  Build a form and when you have a mouse click paint the pixel.  

Here's an example.

http://www.codeproject.com/KB/mobile/Signature_Capture.aspx
0
 
Kyle AbrahamsSenior .Net DeveloperCommented:
Answer was provided
0
 
atulmodiAuthor Commented:
Hello ged325,

I got how to capture signature in touch screen computer. Generally In such machine, user can write anywhere in any application. Just he has to point mouse over that place so when cursor blink at particular place, user starts writing down & that control or application can capture that.

but i have to capture signature in picture box. The problem is we can't set cursor in picture box beacause that control doesn't have 'Got focus' property. & if we set focus in that control then also cursor will not be there & without placing cursor, we can't sign in that area.

I need solution for that. Is there any other control available for that or any other way by which i can capture signature in picture box?

If you need any further detail, please ask me. Any guidance in this will be great help.
Thanks in advance..
0
 
Kyle AbrahamsSenior .Net DeveloperCommented:
Atulmodi,

post your code.  Why did you request to delete the question if there was still issues?

You don't need a get focus, you know where the X,Y of your picture box begins and ends.  So on screen click if X and Y are within the range of your picture box, draw the pixel.

0
 
atulmodiAuthor Commented:
ged325,

We haven't done any coding for that. No need to do any separate programming for that.

In touch screen machine,  there is separate application provided for writing. With the help of that, you can write anythng in any of the application. For that, first you have to set cursor in any of the control or application, then whatever you write in that application. It will be captured by that control or application.

I have created one application developed in C#.Net 2005. In each text boxes, I can write but in picture box, i can't sign. It is because In textbox, we can set cursor but in picture box we can't set cursor. This is the problem.
0
 
Kyle AbrahamsSenior .Net DeveloperCommented:
Modus: would recommend to accpet

http://www.experts-exchange.com/Programming/Languages/C_Sharp/Q_25728371.html#32339320

as an answer to the solution, but I'm fine leaving it open to ensure atulmodi gets the help needed.  Just objected to it being deleted.
0
All Courses

From novice to tech pro — start learning today.