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...
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 ...
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?
...
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...
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...
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...
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?
...
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...
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 ...
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...
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?
...
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...
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!
...
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?
...
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...
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.
...
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...
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...
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...
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 ...