compact-framework

Disabling Windows CE Console on Handheld

Does anyone know how to disable the Windows CE Console on a Windows Mobile v5.0 handheld device? ...

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

Drawing over a TextBox in .NET Compact Framework

Is it possible to draw over a TextBox control in .NET Compact Framework? I want to create a watermark over it. I have read this answer. It's currently my best approach, but I do not want to limit myself to displaying the watermark only when the TextBox does not have the focus. I'm ready to try any hack! ...

Version number in .net compact framework application

I need to display the version number on the screen. I am using .net CF 2.0 with WinCE 4.0 So far, I have been ignoring the version number completely. Do I need to add anything to the assembly? how do I retrieve it programmatically? Thanks! ...

Upgrading Compact Framework 1 app from VS 2003 to VS 2005 breaks form designer?

I am trying to move a C# Compact Framework 1 application from Visual Studio 2003 to Visual Studio 2005 (no comments please on how outdated all this is :-)). I am now able to compile and run the app in VS 2005 just fine, however when I open one of the forms, the form designer does not show the actual form layout but just some rows of icon...

C# Formatting - How to correctly format a name? I.e. forename or surname

I'm currently being visually assaulted by all of the names that are being displayed and entered on one of my systems. Basically, users have use of an on-screen keyboard and don't tend to write things in neatly! I.e. John Smith ends up getting entered as JOHN SMITH or john smith. I want a way to neatly enter names and display them. I've ...

Packaging and deployment of .net Compact Framework solutions.

How did you go about this: 1) did you use exe and dlls or created a cab file? 2) as far as deployment goes, did you implement a web service updater or use a third party deployment tool? Any help/ideas is appreciated. Thanks! ...

Monitoring WLAN Radio Connection in Windows Mobile 6/C#

I am currently developing an app targeted for the HP IPAQ 210. Part of this app requires the WLAN radio to be enabled/powered on to connect to a pre-configured access point. I'm currently using the IPAQ SDK (via P/Invoke) to enable the WLAN radio, but I'm having trouble reliably determining when the radio has established a connection w...

Can I get the functionality of MsgWaitForMultipleObjects in .Net CF?

We're migrating a C++ application to .Net CF. We need to monitor both the UI and several external events. I therefore wonder if we can get the same functionality of MsgWaitForMultipleObjects in the unmanaged world also in the managed world? Edit: P/Invoke is not the complete answer I'm seeking, since what I meant was that we want the fu...

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

Maintaining two versions of a business class library

Our core business application uses a library (C# project) of business objects. Data access is done using the Wilson O/R Mapper (we're migrating to NHibernate this summer). The application has 3 front-end UIs: Windows Forms, ASP.NET, and a Windows Forms app that is installed on tablet PCs. The three front-ends perform different functions ...

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

Compact Framework - Get Storage Card Serial Number

Morning all, How would I go about getting the serial number of the storage/sd card on my mobile device? I am using C#.Net 2.0 on the Compact Framework V2.0. Thanks. ...

C# - Store and then update a property

Evening all, I've written a transfer application that needs to perform an update, then update a date corresponding to that update. I.e. string content = string.Empty; IIvdManager manager; DateTime configDate; if (table == Tables.Asset) { content = WebService.GetTblAsset(companyId); manager = ivdData.Instance.Asset; configD...

Large XML file, XmlDocument not feasible but need to be able to search

I am struggling with a sensible logic loop for stripping out nodes from an XML file too large to use with XPath supporting .NET classes. I am attempting to replace the single line of code I had (that called SelectNodes with an XPath query string) with code that does the same but uses an XmTextReader. I have to go several levels down as...

How do I include the .NET Compact Framework as part of a Smart Device CAB Project?

I'm working on a VS2008 Smart Device app that includes a Smart Device CAB Project for deployment. I was surprised to find out that this installer project doesn't install the .NET Compact Framework if necessary. Can it be made to do so? ...

Prevent parent-form from getting click when child-form is dismissed

In my cf.net project, I have a main "parent" form that will sometimes display a child-form like so: Subform A = new SubForm(); A.ShowDialog(); //Get a property from the SubForm and use it. In my subform contains some linkLabels. The linkLabel's click event does something and sets the dialogresult like this: this.TextProperty = SomeN...

Creating cab files on CF 2.0

How to? what components do i need to have(platform builder?) ? Please be as clear as possible - I find that this subject is very hazy and most people just give you a very vague answer. I am running WInCE 5.0 with CF .net 2.0 Ultimately I need to create a self-updating application but I am going to start with creating a cab installer...

.cab creator for WinCE CF 2.0

So I created a cab file in Visual Studio and it all was fine and dandy. i am using HP thin client with WinCE 4.0 One thing though, there is a folder called Program Files on My Device and there is a folder called Program Files on Hard Disk. Now, My Device memory resets itself each time the machine is rebooted. Unfortunately, VS 2008 wo...

.net compact framework accessing audio metadata

Are there any libraries which exist for accessing audio (mp3 wmw) metadata using the .net compact framework? ...