December 4, 2009, 23:26
Here is some nice code to use a keyboard hook implemented in C# for compact framework.
You can use this to catch the funny OS asigned keys like F1, F2, F3, F4, F6 and F7 (Softkey 1 and 2, Phone, End, Volume Up, Volume Down); and last but not least catch the Win Key press.
Continue reading ‘Hooking the keyboard message queue in compact framework code’ »
October 31, 2009, 21:24
PDF library iTextSharp working in Compact Framework 2: iTextSharpCF
Recently I needed a tool to combine several pictures into one file. First I thought about creating a memory bitmap and then BitBlit the source files into this single bitmap. Then I found an entry about iText and iTextSharp. This is a JAVA and .NET class library to create pdf files. As it seems very easy to use I decided to take a closer look. I found one message, where Marco states he has done a port for .NET compact framework and provided a patch to the sourceforge iTextSharp team. Unfortunately the iTextSharp team seems to ignore this port. So I started with iTextSharp and the patch to get iTextSharp running on Compact Framework.
The patch was done against version 4.0.1 of iTextSharp but there were still some rejects and some additional work to do. The main problem was the use of GetInstance where always the general WebRequest.Create(url); and then GetResponseStream() was used. A first workaround is to load the bitmap first and then provide this to doc.Add:
Continue reading ‘iTextSharp running on Compact Framework – Windows Mobile’ »
Tags:
code,
Compact Framework,
create,
hjgode-itextsharp,
iTextSharp,
iTextSharpCF,
itextsharpcf-download,
pdf,
sample,
source,
windows mobile Category:
CodeProject,
Programming,
Utilities |
Comments Off on iTextSharp running on Compact Framework – Windows Mobile