Just starting out with Mobile apps....

Any guidence on how I might do the following...

Save a copy of the signature that the receiver of an order would provide (it
would be scribbled onto the Pocket PC) and saved to some kind of file (maybe
a .jpeg), then store the contents of that file in a sql server table ? or
maybe just store the path to the file there ?

Any direction is appreciated...

Thanks !

Re: How to program for saving a signature file by Ginny

Ginny
Thu May 18 18:31:26 CDT 2006

Rob,

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetcomp/html/PPCSignatureApp.asp

Although this sample sends the signature to another machine, it's easy to
modify the sample to store the signature instead.

--
Ginny Caughey
.NET Compact Framework MVP


"Rob" <rwchome@comcast.net> wrote in message
news:rfGdnbEu8p4tc_HZnZ2dnUVZ_tydnZ2d@comcast.com...
> Just starting out with Mobile apps....
>
> Any guidence on how I might do the following...
>
> Save a copy of the signature that the receiver of an order would provide
> (it would be scribbled onto the Pocket PC) and saved to some kind of file
> (maybe a .jpeg), then store the contents of that file in a sql server
> table ? or maybe just store the path to the file there ?
>
> Any direction is appreciated...
>
> Thanks !
>
>
>
>



Re: How to program for saving a signature file by Rob

Rob
Tue May 23 20:42:39 CDT 2006

Ginny,

Thanks for the link, it maybe it is easy for you to modify.... but I have
been spinning in circles for days now... can you give me some hints as to
what is relevant to just obtaining and saving the signature ? I just want
to store the signature to a jpg or bmp. I have tried to compartmentalize
the sample into just the pieces I need but am having great difficulties.

I am using vb.net, not C#...

Thanks,
Rob



"Ginny Caughey [MVP]" <ginny.caughey.online@wasteworks.com> wrote in message
news:esVabNteGHA.3456@TK2MSFTNGP05.phx.gbl...
> Rob,
>
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetcomp/html/PPCSignatureApp.asp
>
> Although this sample sends the signature to another machine, it's easy to
> modify the sample to store the signature instead.
>
> --
> Ginny Caughey
> .NET Compact Framework MVP
>
>
> "Rob" <rwchome@comcast.net> wrote in message
> news:rfGdnbEu8p4tc_HZnZ2dnUVZ_tydnZ2d@comcast.com...
>> Just starting out with Mobile apps....
>>
>> Any guidence on how I might do the following...
>>
>> Save a copy of the signature that the receiver of an order would provide
>> (it would be scribbled onto the Pocket PC) and saved to some kind of file
>> (maybe a .jpeg), then store the contents of that file in a sql server
>> table ? or maybe just store the path to the file there ?
>>
>> Any direction is appreciated...
>>
>> Thanks !
>>
>>
>>
>>
>
>



Re: How to program for saving a signature file by Ginny

Ginny
Wed May 24 07:16:04 CDT 2006

Rob,

Here's some code that uses that signature control and writes the signature
out as a PNG file. It would be the same for BMP except you'd use
ImageFormat.Bmp and the file would be much bigger:

FileStream fs = new FileStream(BmpFileName, FileMode.Create);
Bitmap bitmap = sigControl.Bmp;
bitmap.Save(fs, System.Drawing.Imaging.ImageFormat.Png);
fs.Close();

--
Ginny Caughey
.NET Compact Framework MVP


"Rob" <rwchome@comcast.net> wrote in message
news:esCdnbiByOKSJ-7ZnZ2dneKdnZydnZ2d@comcast.com...
> Ginny,
>
> Thanks for the link, it maybe it is easy for you to modify.... but I have
> been spinning in circles for days now... can you give me some hints as to
> what is relevant to just obtaining and saving the signature ? I just
> want to store the signature to a jpg or bmp. I have tried to
> compartmentalize the sample into just the pieces I need but am having
> great difficulties.
>
> I am using vb.net, not C#...
>
> Thanks,
> Rob
>
>
>
> "Ginny Caughey [MVP]" <ginny.caughey.online@wasteworks.com> wrote in
> message news:esVabNteGHA.3456@TK2MSFTNGP05.phx.gbl...
>> Rob,
>>
>> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetcomp/html/PPCSignatureApp.asp
>>
>> Although this sample sends the signature to another machine, it's easy to
>> modify the sample to store the signature instead.
>>
>> --
>> Ginny Caughey
>> .NET Compact Framework MVP
>>
>>
>> "Rob" <rwchome@comcast.net> wrote in message
>> news:rfGdnbEu8p4tc_HZnZ2dnUVZ_tydnZ2d@comcast.com...
>>> Just starting out with Mobile apps....
>>>
>>> Any guidence on how I might do the following...
>>>
>>> Save a copy of the signature that the receiver of an order would provide
>>> (it would be scribbled onto the Pocket PC) and saved to some kind of
>>> file (maybe a .jpeg), then store the contents of that file in a sql
>>> server table ? or maybe just store the path to the file there ?
>>>
>>> Any direction is appreciated...
>>>
>>> Thanks !
>>>
>>>
>>>
>>>
>>
>>
>
>



Re: How to program for saving a signature file by TestIT

TestIT
Thu May 25 13:53:48 CDT 2006

Could any one suggest how to code in vb.net to save signature bmp file?
please thanks


Re: How to program for saving a signature file by TestIT

TestIT
Thu May 25 13:55:06 CDT 2006

Could any one suggest how to code in vb.net to save signature bmp file?
please thanks


Re: How to program for saving a signature file by TestIT

TestIT
Thu May 25 14:00:58 CDT 2006

Ginny,

I am new in vb.net i can show you my code snippets once I hear from you
thanks


Re: How to program for saving a signature file by Ginny

Ginny
Fri May 26 07:07:04 CDT 2006

Perhaps you will find these links helpful:
http://search.msn.com/results.aspx?q=c%23+to+VB+translator&cp=1252&FORM=MYMSNH&PI=7317&DI=365

Mostly you'd just remove the semicolons from the sample I provided.

--
Ginny Caughey
.NET Compact Framework MVP


"TestIT" <sohinidas@comcast.net> wrote in message
news:1148583228.379133.26480@u72g2000cwu.googlegroups.com...
> Could any one suggest how to code in vb.net to save signature bmp file?
> please thanks
>