compact-framework

Integrating pocket outlook and C# application

Hello Folks, I am hoping someone can help me by pointing in the right direction with a problem I have I want to be able to create appointments using Outlook\Exchange server and sync those to my device using pocket outlook. On the device I want to be able to open the appointments application on the device, clicking on a menu option and ...

I can't load bitmaps on WinCE

I wrote a small project that displays icons on the screen on WinCE. The icons are 28x28 16-color BMP files, placed in the main resource file (Resources.resx) (the resx for the main Form has the same problem, and GIF files don't work either). The first time I try to get any bitmap from the resources, an exception of type Exception with M...

Until when is .NET Compact Framework 1.0 supported?

I'm wondering what is the date when Microsoft will stop supporting .NET CF 1.0. According to Wikipedia .NET CF SP3 was released at January 2005, so standard 5 years support should end at January 2010. However, I was unable to find a .NET Compact Framework on the dev tools support lifetime list, so it's only a guess. Do you know what i...

CF.NET SMTP/POP3 clients

Hello, I'm working on an order entry application targeted to windows mobile devices. I need to be able to send and receive emails from within the application, but without using pocket outlook (this is a customer requirement). I see that the .net mail classes are not available for the compact framework. So I need to look elsewhere. I ...

How to download the entire webpage

Hi, Is there any sample application source which download the entire web-page in windows mobile.. I mean,in desktop when i do save as,entire webpgae gets saved.Same way i want it to be in windows mobile.. Thanks. ...

Change language in mobile application

I make application for windows mobile 5 in Visual Studio 2005 in C#. How can change language of my mobile application. I made each form localizable and i have 2 resources files for each form. but i dont know how to change the language. It doesnt have to be changable in program beacuse i need to 2 version of this application ...

Timers / Tap and Hold gesture problem in .NET CF

Hey, Ive encountered some strange behaviour in my .NET CF 2.0 application running on Windows CE 5.0. I have a timer updating a control periodically, that control can also receive Tap and Hold gestures from the user (in the mouse down handler). What I am finding is that when a TAH begins (but before it exits) a timer event can begin pro...

Why won't my program terminate?

I have a .NET Compact Framework app that can runs on three windows machines (Desktop windows and two WinCE machines) and on the WinCE devices, the process never terminates on exit, even if I call Application.Exit(). Besides .NET, it uses one COM component (which does everything on the UI thread). If I break into the debugger after exitti...

XAML & Windows Mobile (.Net Compact Framework)

Is there any support for XAML on the Windows Mobile? ...

How do I use an MS Access database with the Compact Framework?

I am developing a Compact Framework application that needs to manipulate an existing MS Access database. Apparently the CF has no support for Access databases, or even ODBC. How can I do this, without changing the database? ...

Windows Mobile 6.1 Outlook Contacts VS Messenger Contacts

So on my phone, in contacts, it has all my outlook contacts with phone numbers as well as all my live messenger contacts. Now some of these contacts are in there twice. So I said to myself "self let's create my own contact app and ignore the live messenger ones. I will have a cleaner phone book" While iterating through outlook.contacts....

Single CAB for pocket pc and smartphone versions of same application

Is it possible to create a single cab that will allow me to package both PocketPc and Smartphone version of Windows Mobile application? What I would like is to be able to check during installation if device is pocket pc or smartphone and then install appropriate versions. Thanks in advance for the help. ...

new Bitmap OutOfMemoryException in CF 2.0SP2

Hello. I have this code: if (archivoBinario != null) { MemoryStream ms = new MemoryStream(archivoBinario); Bitmap imagen = new Bitmap(ms); PicBoxImagen.Image = imagen; } It throws a System.OutOfMemoryException when a create a new Bitmap from MemoryStream ms. Note: archivoBinario is a byte array witch its size is 9778 byt...

Retreving an image stored on SQl Server CE 3.1

Hello! I'm developing a WinForm app for Windows Mobile 6.0 with C#, .NET Compact Framework 2.0 SP2 and SqlServer CE 3.1. I have this code that is not working: using (SqlCeDataReader reader = cmd.ExecuteReader()) { if (reader.Read()) { //read the signature from the database long imgSize = reader.GetBytes(0, 0, n...

Rijndael algorithm (How to create our own Key )

Hi all, All the samples for Rijndael algorithm are defining the key from the Rijndael class itself, can't we provide the Key of our own. Any hint on this will help me a lot. The sample application we are creating is for windows mobile and it doesn't support PasswordDeriveBytes Thanks in advance Geetha Update on this topic: As per the...

No Load event on UserControl for Compact Framework?

Looks like there is no Load event for usercontrol on the CF. I'm used to loading data on the Load EventHandler. What is the other alternative to achieve this for CF? So far looks like I have no choice but to do so in the Contructor of the usercontrol... ...

testing if a string can be cast as a integer in VB.NET

Is there a better way of testing if a string can be converted to an integer other than something like the following? Public Function IsInt(ByVal value As Object) As Boolean Try Dim temp As Integer = CInt(value) Return True Catch ex As Exception Return False End Try End Function by "better" I mean l...

How to reload registry settings ? (compact framework on a Symbol device)

Hello, I have a pocket pc from the Symbol manufactor. I would like to change programmaticaly the power timeouts and the backlight timeouts. The application in charge of this settings is written in C# and based on the Microsoft Compact Framework 3.5. I achieved to change these timeouts values : I changed registry keys in HKLM/System/Cur...

web services, generics, typed DS, on Compact framework 2.0, current (2009) best practices?

Struggling here, many documents I find are CF 1.0 centric and talk of the 2.0 changes to allow generics and typed DS'es on CF 2.0. Well, CF 2.0 has come and gone, and MS still shows these without update. I am not ready to jump into WCF, and my clients have a lot of older compact framework 2.0 machines. I am fortunate in that these We...

Rijndael algorithm (Right side 8 bit padding issue)

Hi all, We are creating sample application for windows mobile using Rijndael algorithm. Its working fine. But the problem is when we decrypt the data there is a 8 bit padding up on the right side of the value for the example, we are encrypting a Unique key for transaction and it looks like this : Before encryption: MI031120090446250000...