windows-mobile

Can't convert the PocketPC project in Visual Studio 2010 project format

Just downloaded the Visual Studio 2010 Premium and realized that can't compile the project, made for PDA! The error log in output window says: Loading D:\Work...\PDA2.csproj ... D:\Work...\PDA2.csproj : error : The project file 'D:\Work...\PDA2.csproj' cannot be opened. The project type is not supported by this installation. I want to...

populate combox on windows mobile 5.0

Hi, I try populate combobox in windows mobile 5.0 pocket pc but i have this error: Value does not fall within the expected range. the datatable return from dataset on the webservice: the method is: public void loadComboBox(ref ComboBox ComboBoxGen, string DisplayText, string Value,DataTable dt) { ComboBoxGen.DataSource = dt; ...

[WM6] Owner of a component. What exactly is this for?

I am developing an app for Windows Mobile 6 and there is a CameraCaptureDialog class that enables me to call a camera app from my own application. The class has an Owner property that most examples on the internet set to "this". cam.Owner = this; What exactly does this do? I've seen a similar scenario with Windows Forms components/cont...

How to get a textbox to only display Uppercase letters?

Using Windows Mobile 6.5 and C# The CharacterCasing property seems to be missing from WinMo 6.5 and I decide to just catch the textchanged event and set the text with ToUpper. This works - but on every keypress, it sends the cursor back to the beginning of the string, not the end. ...

Store an image in a SQL Server CE database

Does any one know of an example on how to store an image in a SQL Server CE database? What data type should the column be? (I am guessing binary.) I use Linq-To-Datasets. Is it possible using that to put the image into the database and pull it out again later? Thanks for any advice. Here is how I did it: MemoryStream stream = ne...

Windows Mobile 6 - .net Socket advice [Compact Framework 3.5]

Hi, I'm trying to open a socket that will receive all packets sent to the Windows Mobile Device over the Active Sync network. I'm using code from: CS Network Sniffer for Windows Specifically: //For sniffing the socket to capture the packets has to be a raw socket, with the //address family being of typ...

Get Taskbar's Battery and PhoneSignal indicators icons and draw into a picturebox

Is there any way to get taskbar's battery and phonesignal indicators icons and then draw into a picturebox or something? Why do I need this? I need all screen space available, so all forms are maximized and they cover up the windowsmobile taskbar. But, I have to display information about battery e phone signal strength in just a coup...

How to expand REG_EXPAND_SZ in Windows Mobile?

I saw ExpandEnvironmentStrings is used here for Desktop. How do I do it in Windows Mobile? The data type looks valid in Windows Mobile ...

How to use WINAPI from newer SDK but still using the old SDK in WindowsMobile.

Specifically, I want to use Point-to-point Message Queue but because I am still using legacy codes in eVC++ 4 and it only support until PocketPC 2003SE SDK, I cannot find CreateMsgQueue and friends in the headers (the port to newer VisualStudio is still in progess) I am using the Message Queue to do IPC with apps developed with WM-6.5-D...

Windows Mobile 6 / 6.5 performance monitoring

I'm writing an app for a Pocket PC device which appears to be slowly leaking resources - after 24hrs the device slowly becomes unresponsive and eventually locks up altogether. On XP/Vista I would at this point fire up trusty PerfMon and plot graphs of handles, threads, memory, mutexes etc - anything that could be leaking. Can someon...

Is programming Windows Mobile 7 different from normal .NET programming ?

I know that there must be some differences. I have a silverlight component (Timeline) and I want to make it work on Mobile 7. do I need to make a lot of changes ? I know .NET and Silverlight but I'm new to mobile phones programming. ...

Windows Mobile 6.5 Application Data?

Can you tell me where to store application specific data on a Win Mobile phone. Let's say my app is named MyApp and I install it in the program files folder. I have two initial files in My Documents that it uses with no problems. But what is the correct destination on the device? Also, when I do an uninstall, do I leave the modified ap...

Custom Buttons in Windows Mobile SDK 6

Is there a way to change the appearance of a button to use an image in Visual Studio Windows Mobile development. I have tried using a picture box but found the event handler was very slow to execute. Thanks. ...

How can I sign a Windows Mobile application for internal use?

I'm developing a Windows Mobile application for internal company use, using the Windows Mobile 6 Professional SDK. Same old story: I've developed and tested on the emulator and all is well, but as soon as I deploy to advice I get an UnauthorizedAccessException when writing files or creating directories. I'm aware that an application ins...

make desktop sms application using windows mobile 6.1

hey all, I have to make a SMS sending application in .NET which uses a connected CDMA based Windows mobile 6.1 device to send sms. The problem is I have never worked on smartphone app development so don't have any idea about how should i go about it. Couldn't find anything useful on SO or elsewhere, so please guide me in the right direct...

BarCode reader API to use on Windows Mobile

Hi I am very new to software development, I am looking for an API/SDK which I can use with Windows Phone O/S. Any Ideas? Thanks ...

Is Silverlight for Mobile now available?

Is Silverlight for Mobile now available as of today, April 21, 2010? Is it supported in Windows Mobile 6 phones? I read that it will only be supported in Windows 7 Phones http://arstechnica.com/microsoft/news/2010/02/can-silverlight-save-windows-mobile-from-plummeting-sales.ars ...

SystemState.PhoneSignalStrength never changes! (C#/WindowsMobile)

Hi, I'm using Microsoft.WindowsMobile.Status.SystemState.PhoneSignalStrength to get current signal strength. But the value never changes. It only changes when phone turns on/off. I'm sure that signal is changing, 'cos taskbar shows little variantions (bars). This piece of code has been running for hours straigth, but phonesignal_Chan...

How can I convert a C# application that uses StandardInput and StandardOutput in .NET Compact Framework?

I have an application that uses the Process class, StandardInput, and StandardOutput to communicate with an external executable. I am using this to pass strings back and forth, and it works well in my Windows application. On the mobile device, I do not see StandardInput or StandardOutput in the Process class. Is there an easy way to r...

Where should I catch WM_HIBERNATE and WM_CLOSE in Windows Mobile/WinCE?

I have read about Windows Mobile's X button's behaviour and also about WM_HIBERNATE and WM_CLOSE which are sent on Low Memory Situation to all valid applications. MSDN on WM_HIBERNATE: This message is sent to an application when system resources are running low. An application should attempt to release as many resources as possible ...