compact-framework

How do I add files to a windows mobile device when deploying it?

I have a number of images and a CSV data file that I want to deploy to a windows mobile device along with my application. I'm using Visual Studio 2008 and C#. I've added a "Content" folder to my project which contains the bmp images and the CSV file. When running my program on the emulator (by hitting F5) only the app is deployed, and n...

Rotate an Image in Windows Mobile Programming

Are there any mechanism within Windows Mobile programming to rotate a Bitmap? I would like to rotate this to any angle. ...

C# on Windows Mobile

Hi friends, I am new to C# , working on C# for windows mobile. I have done basic examples , however where should i get necessary documents (APIS , examples etc ) for C# so that i can explore more . ...

How do I GetCustomAttributes?

I have tried the following code using the 2.0 framework and I get an attribute back, but when I try this on the compact framework, it always returns an empty array. The MSDN documenation says its supported, am I doing something wrong? Test x = new Test(); FieldInfo field_info = x.GetType().GetField("ArrayShorts"); object[] custom...

Flip bitmap in .NET Compact Framework

I have a Bitmap object that I need to sometimes flip horizontally, sometimes vertically, sometimes both. The full framework has the Image.RotateFlip() method which is exactly what I need. Unfortunately like most useful features on the full framework, this method does not exist on the compact framework. Is there a simple way to do this...

CreatePatternBrush / Ellipse not working on WinMobile device but on emulator

To draw a circular part of a bitmap on the screen, I use a PatternBrush created from the bitmap to fill an ellipse. I use P/Invoke to the native functions because there seems to be a bug in CF2.0 if you use the managed functions (see here for more details: http://social.msdn.microsoft.com/forums/en-US/netfxcompact/thread/e831ea2f-039a-4b...

OpenNETCF.Net.Ftp Behaving Flaky

I tried posting on their boards (authors of this library), however it literally takes months for them to reply when it comes to the free software (can't blame them). But anyways I have found that this library is behaving weirdly - for instance, a major problem with my application is when someone is trying to sign in (through FTP), they ...

Missing Linq namespaces (Linq to sql, compact framwork)

I spent this morning in trying to figure out where the system.linq.expressions namespace is. The following is what I did: In VS 2008, Create a new C#/Smart Device/Windows Mobile 6 Professional SDK/.NET CF v3.5/Class Library Used SqlMetal (in Program Files/Microsoft SDKs/Windows/v6.0A/Bin) to generate the data context. Added the data co...

FlowLayoutPanel in CF.NET

I'm writing an application in .NET 2.0 and I need the functionality of a FlowLayoutPanel from WinForms. This is the code I came up with that I'm using right now (mostly with labels): /// <summary> /// Flowable layout panel /// </summary> public partial class FlowLayoutPanel : Panel { public FlowLayoutPanel() { InitializeCom...

better way to communicate between ad hoc wifi windows mobile devices

We are developing wireless ad hoc communication applications on windows mobile 6 devices using 802.11 in ad hoc mode. We are using HP iPAQ 910 devices and OpenNETCF smart device framework 2.3 for development. As a design constraint, each device is represented as an SSID. If two devices want to communicate with each other, initiator swi...

How do I kill my mobile App?

I have this windows mobile application. I'd like to launch an updater.exe that will update my mobile app. But I need to stop my mobile app before the updater process launch .. how can I achieve this? ...

Windows Mobile / .Net Compact Framework - How to bind generic lists to datagrid

I'm building a small vb app using the latest version of the .net compact framework. The datagrid control is a bit more limited than I'm used to. I'm seeing lots of examples where I can bind the grid's datasource to a dataset/datatable. Is it possible to bind to a generic list? If so, how? ...

Should I port app or redesign browser UI for for an app that needs to run on a Windows 6.1 mobile device

We currently have a custom inventory system used to track different assets. The items are bar coded and inventoried using a scanner system already built/running on standard web pages. Currently processing inventory on a desktop or laptop with a usb connected scanner. We bought a Motorola MC 55 PDA that has a built in bar code scanner an...

How to synchronize data received from remote parts connected by serial ports

I have a WinCE master board wich is connected by serial ports to several remote slave boards. These slaves boards measures potentials. The communication protocol between master ans slaves is based upon MODBUS. The master request a measure to one different slave every 300ms. The slave targetted is changed for each request. My problem is...

Compact Framework Picture Box Image Problem

I have two picture boxes on a .net compact framework form. Both picture boxes have their image set to a .png. My problem is that when I compile or run the application, one of the images appears "greyed-out" or like a shadow of the actual image. What might be causing this? ...

.NET Compact Fw 3.5: Where is the numeric updown control?

According to the MSDN the NumericUpDown class is supported by the compact framework. The problem is that I can't find it on the toolbox. Is it possible to add this control to the form in the designer, if yes, how? Thank you ...

.NET Compact Fw 3.5: Background worker

I want to use something similar to the BackgroundWorker on mobile devices. Sadly it is not available in the compact framework. What can I use instead? ...

WinForms: NumericUpDown (.NET CF 3.5) and real numbers

NumericUpDown seems to be only dealing with integers. How can I modify it (?), so I can use doubles as Value and Increment? ...

What's the best way to enter numbers in Windows Mobile? (.NET CF 3.5)

There must be a better way than a constrained numeric updown control. ...

MissingManifestResourceException

Hi guys, I am trying to connect to mysql database from a .NET compact framework using C#. Each time I run the program, I get a missingmanifestresourceexception just at the point of opening the connection. Can any one please tell me how to go about this, I've lost four days already. P.S: I already added the reference Mysql.Data.CF. my c...