Opennetcf signature control

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I am using VB.NET 2003 with the Opennetcf signature control. Code is listed
below:

Dim signatureBytes As Byte() = Signature1.GetSignatureEx
Signature1.Clear()
Signature1.LoadSignatureEx(signatureBytes)

Dim fs As New System.IO.FileStream("signature1.bmp", IO.FileMode.Create)
Dim writer As New System.IO.BinaryWriter(fs)
writer.Write(signatureBytes)
writer.Close()
fs.Close()

The information does pass into the variable signatureBytes because when I
clear the controls, it appears again perfectly. However it does not save to
the file. It does create the file but not save it. Any ideas anyone?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top