473,503 Members | 1,797 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

problems with microsoft.ink tablet pc application

1 New Member
Hi, I am turning to this forum in absolute desparation to see if anyone can help me, i am building a simple c# forms application which dynamically creates inkenabled group boxes and text boxes, when i call a save function i need to iterate through the dynamically created controls and save to xml, i have the following code whch works fine for the text boxes, but i cannot get the ink

foreach (Control ctr in this.Controls)
{GroupBox group = ctr as GroupBox;
if (group != null)
{
foreach (InkCollector cfg in group.Controls)
{
byte[] base64ISF_bytes;
string base64ISF_string;
// base64ISF_bytes = ic.Ink.Save(PersistenceFormat.Base64InkSerializedF ormat);
base64ISF_bytes = cfg.Ink.Save(PersistenceFormat.Base64InkSerialized Format);
base64ISF_string = utf8.GetString(base64ISF_bytes);

xwriter.WriteRaw("<FieldInfo>" +
"<Control>Signature</Control>");
xwriter.WriteElementString("Value", base64ISF_string);
xwriter.WriteRaw(
"<Name>" + ctr.Text + "</Name>" +
"<Left>" + rect.Left + "</Left>" +
"<Top>" + rect.Top + "</Top>" +
"<Right>" + rect.Right + "</Right>" +
"<Bottom>" + rect.Bottom + "</Bottom>" +
"</FieldInfo>");


any help would be greatly appreciated.
Aug 1 '08 #1
1 1122
weaknessforcats
9,208 Recognized Expert Moderator Expert
I am moving this to the .NET forum.
Aug 1 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
1107
by: Rajat Dev | last post by:
I am developing a Tablet PC application using C# and InkCollector class from the Tablet PC SDK. I am not able to change the cursor to other type (for example an arrow) when I set the InkCollector...
0
1050
by: Nick | last post by:
I know that when an application is developed for a Tablet PC, it automatically incorporates with the Tablet Pen in the sense that when you hover over a text box, a keyboard icon will popup that you...
2
3532
by: André | last post by:
I'm considering buying a Tablet PC and read somewhere (sorry, can't point to a link) that someone had tried running a "standard" Python program (wxMozilla demo I *think*, but can't be sure) that...
0
953
by: Koen Appeltans | last post by:
Hi all, I'm developping an application for an xp-tablet-pc. It's a full xp, with the whole dotNet-framework (not just the compact-part). Now I'm having a specific problem that only happens on...
2
4518
by: Al | last post by:
Hi, I wrote a similar application for getting ink input before release of the Windows XP Tablet PC edition. However, now I would like to use the Tablet PC Input Panel instead. Can anyone tell me...
3
1570
by: André Nobre | last post by:
Hi all.. i am responsible for coding a project that uses Microsoft.Ink namespace, but i don't have this namespace. Looking in google i found that this namespace comes with a microsoft tablet...
1
3232
by: eolsson | last post by:
I have a .NET application and have added handwriting (via the PenInputPanel class) for users with Tablet PCs. The problem I'm having is that if I call this class it throws a runtime error if the...
0
919
by: poelski | last post by:
I have three users who are having problems when trying to accept task updates in PWA. All three of the users have new gateway tablet pc's. These three are the only ones having this issue, so I...
1
3454
by: SetonSoftware | last post by:
I'm developing a VB.NET 2005 WinForms application that will run on a tablet PC. I want to build a screen resizer method that will position the forms and controls properly depending on whether the...
0
7273
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7322
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6982
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5572
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5000
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3161
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1501
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
731
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
374
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.