windows-mobile

Setting file associations in Windows mobile 5+

Its basically the same as in windows, but when your trying to set file associations to a program that lives inside a folder that has spaces in it you need to get the "short" name of that folder. In regular windows i use this: [System.Runtime.InteropServices.DllImport("Kernel32.dll")] private static extern uint GetShortPathName(st...

Using MSMQ for interprocess(inter application) communication on Windows Mobile 5.0

Hello, We have a Native Embedded VC (EVC4.0) application running on a Windows Mobile 5 device. Now there is a requirement to get this application to talk with a new mobile application to be developed using either EVC4.0 or .Net CF. We were thinking of using MSMQ on the Windows Mobile device for inter process communication between these ...

Java (ME) on Windows Mobile

Does anyone have experience deploying Java ME apps to Windows Mobile? What are the high-level steps to getting started with this, and are there any major drawbacks? ...

Windows Mobile - Creating a Device Independent Bitmap by Size in CF.NET

I've been fighting with my rendering (http://stackoverflow.com/questions/297697/outofmemoryexception-when-creating-a-large-bitmap-in-cf-net) for a while, and I'm still looking for a good way to fix my issues. My engine creates a single large bitmap (2x or 3x bigger than the size of the screen), and draws everything to that surface. I th...

How to force parent window to draw "under" children windows?

The environment is plain-old win32 under C/C++ without any fancy MFC or similar mumbo-jumbo. I have a window, which has several children and grandchildren. Some children are oddly-shaped icons, and I need them to have transparent background (oddly-shaped icons). Consider a this pseudo-structure: Parent1 Child1 (normal) Child2 (oddly-s...

.Net- should I use the Split-function or the split-method?

Background: I needed to split a string of numerous words into an array which separates the words for me for further use later on in my code. However, I needed to get rid of any numbers which might be present in the string so I declared a string contaning characters which I wanted to use as separators/delimiters as follows: dim Separato...

Windows Mobile memory corruption.

Is WM operating system protects process memory against one another? Can one badly written application crash some other application just mistakenly writing over the first one memory? ...

sql connection not working after Windows 6 app moved from local to server

I have a Windows 6 app I am developing (in VB). I am pulling data from a MSSQL 2005 database. Everything worked fine running it locally (with an emulator) but when I moved the database to a test box, I get the following error: System.Data.SqlClient.SqlException {"Specified SQL server not found: xx.xx.xx.xxx\sql2005"} My connection s...

How bad is the following snippet?

My question is simple: how bad is the following snippet of code? How would you do it? CancelEventHandler _windowClosing; private CancelEventHandler WindowClosing { set { clearEventHandlerList(); this.Closing += value; _windowClosing = value; /* * if calling the method with null parameters, * it will set ...

How to show a minimized application in the Running Apps bar in Windows Mobile?

Hello, I'm a beginner so sorry if my question seems basic. I've looked online but haven't find anything on it so it must be something very simple. I'm trying to get my application to show in the running apps bar in windows mobile when minimized. I minimize the app using ShowWindow(this.Handle, SW_MINIMIZED); and it works fine but my ap...

How to detect ActiveSync connection on a mobile device?

Im using the CompactFramework 3.5 on a WindowsCE 5.0 device to build an application that should use active sync's connection to get some data. How can i detect if the mobile device is in the cradle and has an active connection? Is there some kind of PInvoke call for this? ...

desktop to windows mobile communication

Hi I want to make a desktop application trigger an event on a Windows Mobile 6 standard device (smartphone). How can I make the smartphone and desktop communicate? Where can I find some code examples of this? I'm using C#... To clarify: It will not be docked with USB. I would like to use WLAN. I want to trigger an event within m...

How to change font/color on MFC dialog for Windows Mobile?

Hi, Does anyone know how to set font and color on a static text and other controls of MFC dialog for Windows Mobile? Where can I get the list of supported fonts? Thanks! ...

Drawing lines in Visual Studio for Compact Framework 2.0

I'm looking for a toolkit to allow me to draw lines and boxes at design time in Visual Studio 2008 for .NET Compact Framework 2.0. I've looked over the VisualBasic PowerPacks but that seems to be available only for desktop .NET. Does anyone know of any such tool? ...

Application Verifier for Mobile 5.0 cannot connect to my WM 6.0 device.

I’m trying to connect with Application Verifier for Mobile 5.0 to Windows Mobile 6.0 Professional device and I fail. Is this even possible? ActiveSync and VS2005 debugging on this device work fine. I’ve setup Application Verifier transport and startup server as Microsoft ActiveSync, if I click Test button it says “Connection to device...

Where can I find a flexible logging library for Windows Mobile?

Can anyone suggest any open and free library for logging on Windows Mobile application written in C++? It would be nice if it supports logging to files, syslog (would be nice) and logging level. ...

How to read a pim.vol file

Is there any desktop-based way to read the pim.vol file that stores contacts, tasks and calendar information on a Windows Mobile device? Ideally I'd like to find an export tool that would allow me to extract the data from mine, but I'd also settle for a library that would allow me to interface with the file and pull data out of it. I'v...

DataGrid Width has no affect in Windows Mobile. C#

I a beginner in Windows Mobile development and found that when I set the Width using a DataGridTextBoxColumn it does not affect the DataGrid column size. Here is my code: DataGridTableStyle tableStyle = new DataGridTableStyle(); tableStyle.MappingName = "MainStyle"; DataGridTextBoxColumn tbcName = new DataGridTe...

How to play mp3 from a url on windows mobile

I am looking for a way to play an mp3 file from a url on Windows Mobile 5. The examples I've found using the wmplib.WindowsMediaPlayer.url property work for a file on the device but don't seem to work for a http: url. The function seems to succeed without throwing an exception but no audio is played. I have tried the player.settings.vol...

How to get operating system version asp.net

Hi everybody, I want to get the os version that the browser opens, actually my project is an asp.net project and i want to know which operating system runs on the client but there is a question about it. Because the client will use xp but at the same time will use Windows CE 5.0, so the internet explorer in Windows CE is not as good as ...