From: JB on 4 Oct 2005 22:17 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?
From: Ginny Caughey [MVP] on 5 Oct 2005 10:38 JB, Please see my reply to you on the compactframework newsgroup. -- Ginny Caughey ..NET Compact Framework MVP "JB" <JB(a)discussions.microsoft.com> wrote in message news:6D2738D4-3333-46F3-A9D2-BA8A24EB817A(a)microsoft.com... > 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?
|
Pages: 1 Prev: Windows <Mobile 5 Rapi Database Access Next: Visual Studios 2005 |