PC Review


Reply
Thread Tools Rate Thread

How can I capture a signature?

 
 
jmDesktop
Guest
Posts: n/a
 
      20th Apr 2007
I have a writing/sketch tablet attached to a PC and want to capture
the signature with c#. I am not using a tablet pc or a pda, but a
regular computer. I am using 2.0 framework.

Was hoping someone could point me in the right direction.

Thank you for any help.

 
Reply With Quote
 
 
 
 
jmDesktop
Guest
Posts: n/a
 
      20th Apr 2007
On Apr 20, 10:04 am, jmDesktop <needin4mat...@gmail.com> wrote:
> I have a writing/sketch tablet attached to a PC and want to capture
> the signature with c#. I am not using a tablet pc or a pda, but a
> regular computer. I am using 2.0 framework.
>
> Was hoping someone could point me in the right direction.
>
> Thank you for any help.


It is a wacom tablet, if that helps. I can't find anything on how to
do this.

 
Reply With Quote
 
Ignacio Machin \( .NET/ C# MVP \)
Guest
Posts: n/a
 
      20th Apr 2007
Hi,

"jmDesktop" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I have a writing/sketch tablet attached to a PC and want to capture
> the signature with c#. I am not using a tablet pc or a pda, but a
> regular computer. I am using 2.0 framework.
>
> Was hoping someone could point me in the right direction.


Personbally I have never used a writing tablet. But I bet it simulate the
mouse.
See what events your app receive when using the tablet, that will tell you
how to capture your writting, after that you can use any signature example
you find in the web.


 
Reply With Quote
 
jmDesktop
Guest
Posts: n/a
 
      20th Apr 2007
On Apr 20, 11:13 am, "Ignacio Machin \( .NET/ C# MVP \)" <machin TA
laceupsolutions.com> wrote:
> Hi,
>
> "jmDesktop" <needin4mat...@gmail.com> wrote in message
>
> news:(E-Mail Removed)...
>
> >I have a writing/sketch tablet attached to a PC and want to capture
> > the signature with c#. I am not using a tablet pc or a pda, but a
> > regular computer. I am using 2.0 framework.

>
> > Was hoping someone could point me in the right direction.

>
> Personbally I have never used a writing tablet. But I bet it simulate the
> mouse.
> See what events your app receive when using the tablet, that will tell you
> how to capture your writting, after that you can use any signature example
> you find in the web.


Do I use the spy for seeing the events? The tool that comes with
Visual Studio.

 
Reply With Quote
 
Eugene Mayevski
Guest
Posts: n/a
 
      20th Apr 2007
Hello!
You wrote on 20 Apr 2007 07:04:52 -0700:

j> Was hoping someone could point me in the right direction.

Just use regular windows messages: handle WM_MOUSEMOVE and check the state
of the left mouse button. If it's pressed, than the pen is pressed and the
user is putting a signature.

With best regards,
Eugene Mayevski
http://www.SecureBlackbox.com - the comprehensive component suite for
network security

 
Reply With Quote
 
Chris Dunaway
Guest
Posts: n/a
 
      20th Apr 2007
On Apr 20, 10:13 am, "Ignacio Machin \( .NET/ C# MVP \)" <machin TA
laceupsolutions.com> wrote:
> Hi,
>
> "jmDesktop" <needin4mat...@gmail.com> wrote in message
>
> news:(E-Mail Removed)...
>
> >I have a writing/sketch tablet attached to a PC and want to capture
> > the signature with c#. I am not using a tablet pc or a pda, but a
> > regular computer. I am using 2.0 framework.

>
> > Was hoping someone could point me in the right direction.

>
> Personbally I have never used a writing tablet. But I bet it simulate the
> mouse.
> See what events your app receive when using the tablet, that will tell you
> how to capture your writting, after that you can use any signature example
> you find in the web.


Another option is to use the Ink API. I'm not sure if you can use it
from a non Tablet PC, but it might be worth looking into:

http://msdn2.microsoft.com/en-us/library/ms704040.aspx

Chris

 
Reply With Quote
 
Peter Duniho
Guest
Posts: n/a
 
      20th Apr 2007
On Fri, 20 Apr 2007 10:30:54 -0700, Eugene Mayevski <(E-Mail Removed)>
wrote:

> Just use regular windows messages: handle WM_MOUSEMOVE and check the
> state of the left mouse button. If it's pressed, than the pen is pressed
> and the user is putting a signature.


Though...

Since this is the C# newsgroup and everyone is likely actually using .NET
Framework, you really want the MouseMove event, checking the
MouseEventArgs.Button property for whether the pen is pressed.

That's assuming that for whatever reason the Ink API isn't suitable. I've
never used it, but if it offers a convenient way to capture the signature
without having to do all the mouse tracking and data collection, that
might be preferable.

Pete
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Signature Capture Again ohs Microsoft Dot NET Compact Framework 2 5th Feb 2006 01:37 PM
Signature Capture =?Utf-8?B?S3VydCBTYXR1cm5pYQ==?= Microsoft Dot NET Compact Framework 1 17th Mar 2005 04:05 PM
Signature Capture bing Microsoft Dot NET Compact Framework 8 4th Mar 2005 09:04 PM
Signature Capture Aaron Microsoft Dot NET Compact Framework 5 3rd Mar 2005 10:05 PM
Signature Capture =?Utf-8?B?aW5ldmVyZ3JlZW4=?= Microsoft Word Document Management 1 4th Sep 2004 12:55 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:26 PM.