compact-framework

Deploy compact framework without restart

When you use visual studio to deploy to a windows mobile device it automatically picks the correct cab file and installs the compact framework onto that device. All without requiring a restart. If you pick the same cab file and install it using active sync once the install is completed you are required to restart the device. Why? And h...

How do you get the proper mapping name from a binding source bound to a List<t>, or an anonymous type, to use on a DataGridTableStyle?

I'm trying to create a DataGridTableStyle object so that I can control the column widths of a DataGrid. I've created a BindingSource object bound to a List. Actually it's bound to an anonymous type list created though Linq in the following manner (variable names changed for clarity of what I'm doing): List<myType> myList = new List<myTy...

Bluetooth to Serial Adapter - Connection Exception

Hello, currently writes an application to connect to the device "BTLink Bluetooth to Serial Adapter" More information about device: device specification Have created such a code: BluetoothAddress btAddress = null; if (!BluetoothAddress.TryParse(comboBoxDevices.SelectedValue.ToString().Trim(), out btAddress)) thr...

How to monitor microphone for noise sound?

I’m trying to find an algorithm to detect when the user blows into the microphone (like Ninentdo DS or iPhone) on a WM6 device with C#. I was thinking to use Waveform to read from the mic in real time into a small buffer, but I'm a bit lost on how to recognize the blowing sound, I guess it sounds like white noise. Anyone has an idea on ...

Recording at stream in windows mobile

Hi i want to record voice and send it throw Bluetooth stream , the problem is the recorder accepts only I.O Stream And write at the 'stream' without using (stream.write), ''using openNETCF Dim Stream1 As Stream Stream1 = File.OpenWrite("\My Documents\" & txtFileName.Text & ".wav") m_Recorder = New OpenNETCF.Media.WaveAu...

Delay Signing on Compact Framework

I want to use delayed signing for my windows mobile compact framework assemblies. When you sign an assembly using delayed signing it signs it with the public key and leaves space in the assembly for the private keys, which can be added just before shipping the assembly. A delay signed assembly can not be run or debugged unless the sign...

cf.net queuing for webservice

This question is related to this other question I recently asked... http://stackoverflow.com/questions/417789/cf-net-exception-and-other-logging I am generating log messages to be sent to a server using a webservice over a GPRS connection and I want to simply queue these messages in the case the connection to the server is not availabl...

How to tell if any form from my app is in foreground

I'd like my compact framework application to show a notification bubble ONLY when it's running "in the background". The application has several forms which may or may not be visible at any time. I'd like the notification handler (which runs on background separate thread) to be able to tell if any form from my application is currently v...

Is there a way to detect all user generated events (click, keypress, ...) in Windows Mobile?

I'll be developing something for a Windows Mobile device using CompactFramework/C#. I wonder if there is some event available that can capture any user driven event (click, keypress, ...) in context of the device. Sure, I could add some detection code in any of my click event handler for example but I assume that there hundreds of them. ...

How to use the same C# 2008 project for both x86 and CF.Net targets?

Hi, I have a C# project in VS2008 which I wish to build for two targets - x86 and the compact framework for dot net (CF.Net) depending on a chosen configuration (say Debug/SmartDeviceDebug etc). How do I go about this? I have an inkling this can be done somehow using the command line and msbuild but I am interested in a solution which w...

Can anybody recommend a PDF solution for the Compact Framework?

We have a requirement to generate PDF documents using information from a PDA / Mobile Phone. We cannot send the information back to a server as the information is required immediately and the engineers with the devices may be out of coverage. So, can anybody recommend a .NET compact framework component for producing PDFs? Could you als...

Compact Framework - Retrieve a list of countries and regions

Afternoon people! I'm trying to implement a list of counties on my Compact Framework (Mobile) application. I can do this easily in the full .Net framework with CultureInfo.GetCultures(..etc). However, the CF seems to be missing this feature? Is there any way I can return a list of countries (and regions if possible) that I can populat...

Visual Studios 2005 - Clear custom properties in designer/property window

Morning all, I've created a custom control with an image property. That image property is a get/set to a private Image variable. Can anyone tell me how I enable that get/set to clear the property from the designer? I.e. if I add an image to a standard PictureBox, I can hit Del to clear the image from the PictureBox. How can I replicat...

.NET - How can I get more information for an error in my program? Error: "The thread 0x566967f6 has exited with code 0 (0x0)"

Maybe you can help me... I am writing a program in Windows Mobile that connects to a mail-server and retrieves data from a POP3-server. I am using a third-party (free) socket available from here. I am using VS 2008 (in VB.NET) and the device-emulators. I can connect without any problems and execute my various commands (such as logging ...

How to guarantee delivery of data in a Compact Framework Webservice call?

We have a mobile Application in a very unsteady WLan Environment. Sending Data to a webserver could result in a timeout or in a lost WLan connection. How do we ensure, that our data is delivered correctly? Is there a possibility of having Web Services Reliable Messaging (WSRM) on the device? MSMQ is no option at the moment. ...

IoC/DI Container that supports Compact Framework

Hi, Is their any IoC controllers available that will work on .NET Compact Framework? ...

How do you make an application start when the device starts up in Windows Mobile?

As the title says. I'd like for my application to start when the Windows Mobile device is turned on? I'm developing this app using the .NET Compact Framework 3.5 in C#. Thanks! ...

Progress bar for WinCe

hi evreyone is there any Progres-bar for WinCe ? than'k for any help ...

smartphones and buttons

The .net compact framework on smartphones doesn't know the button component, the reasons are unknown to me. My question is: how do people usually get over this problem? I have know smartphone near me to check out, only a pda phone, which of course has touch screen and supports the button component. What would you do ? ...

Why does Windows CE drop key events if you hog the UI thread

Now I appreciate the moral of the story is "don't hog the UI thread" but we tried to KISS by keeping things on the UI thread for as long as possible but I think we've just hit the tipping point and we're going to have to change our design. But anyway..... something I noticed on our device that doesn't happen on desktop: When you hog th...