compact-framework

Detecting network state (connected - disconnected) in C#

I am in need of a piece of code that can detect if a network connection is connected or disconnected. The connected state would mean a cable was plugged into the Ethernet connection. A disconnected state would mean there is not cable connected. I can't use the WMI interface due to the fact that I'm running on Windows CE. I don't mind in...

Sharing a DataTable across multiple forms in winforms

I'm trying to write a simple Compact Framework winforms app. The main form has a DataGrid bound to a DataTable (with data from an xml file). I want to bring up another form that displays the details of the current record. I have something like the following code as the constructor for the detail form. public DetailsForm(DataTable dtL...

How to get a programmatic list of all loaded assemblies (referenced) in the .NET Compact Framework

I am running on Windows CE and using the Compact Framework. I need to get a list of all reference assemblies that my application has loaded. It would be nice to be able to get to the AssemblyName (object) of these assemblies. An example is like getting my running assembly by doing: Assembly.GetExecutingAssembly(); except I need to get t...

Compact Framework Charting

Hi! I'm doing an app in .NET Compact Framework 3.5 and I need to do some charting (xy, bar graph, pie and so on and stuff)... Is there any open source library to do so? Which Excel classes should i call to do so? thanks in advance ...

What is the best mechanism for communicating cross-process in Windows CE?

I need to broadcast an event that can be picked up by any application running on a Windows CE 5 device. Haven't done this before so i'd be interested in knowing what techniques people would suggest to see if there is anything i've not considered. All of the applications that need to receive this event are .NET Compact Framework based s...

.Net Compact Framework & WinCE Question

Hello, I have never had any experience working with the compact framework or WinCE, however, I have a fair bit of experience developing in C#. How different is it developing for these platforms as opposed to just normal console or winforms applications in C#? Easy to pickup or are there lots of differences? Regards ...

Play Flash file under WinCE?

Is it possible to play a Flash file under WinCE? I know there is a player for Windows Mobile but WinCE seems to not have one. I seems like you can license a player from Adobe for WinCE but I have not had any luck getting information from Adobe. I found this post that mentions using a AxShockwaveFlashObjects using C# and .NET Compact F...

Why does compact framework WebBrowser control load pages in opera?

Hi There, I need to be able to display html files that are stored locally on device using a WebBrowser control on a windows form. I simply point the WebBrowser to page like so : ctrlBrowser.Url = new Uri("file://\\My Documents\test.html"); The pages load perfectly into control excepet for a windows mobile 6.1 device that has oper brows...

.NET Compact framework - make scrollbars wider

Is there some way, how to make scrollbar wider in winforms for .net compact framework? I want to be application finger-friendly, but the scrollbars are very narrow for people with not-small fingers. EDIT: The problem is with built-in scrollbars in components like ListView, DataGrid, etc... Windows Mobile 6.0, .NET Compact Framework 3....

NotSupportedException when creating button with .NET CF on CE5 device?

Hey I have an application that runs well on WinCE and WM devices (all that I have tested so far). I have just received a new device to test on and the Form throws a NotSupportedException when the designer creates a button on the device. The device is a Motorola EWP2100 Wifi Phone. According to its about page it runs WinCE 5 Here is th...

Windows Mobile 5 Smartphone DNS error for local html files

Hi There, Im getting a DNS timeout error in Windows mobile five when ever I try to load a local html file into WebBrowser view control after viewing an online page. eg ctrlBrowser.Url = new Url("http://www.google.com"); followed by ctrlBrowser.Url = new Url("file:///\My Documents\test.html"); However it I try to open local file only wi...

.net cf TextBox that displays keyboard on focus

I have a few text boxes on my UI that I want to display the mobile keyboard for when the control has focus, then go away. Note: for this particular program, it is a tall screen and has no physical keyboard on the device. ...

FileInfo compact framework 3.5 - cannot find file

Hello, I am using the FileInfo class. However, the file info cannot find the file. The file is called log4Net.config and I have added it to my project. I have set the properties to build action = 'Content' and copy output = 'copy always' When I run the following code: FileInfo logfileInfo = new FileInfo("Log4Net.config"); if (!log...

display images in datagrid with Compact Framework

is it possible to display an image in a datagrid cell? i'm currently working with compact framework 3.5. any tips on that? ...

Compact framework equivalent of traceview

My day job is using the compact framework but as a home/side project I'm starting to learn Android development. Having seen Androids traceview (a visual profiling tool) does anyone know if there's anything similar for .net and the compact framework (version 2)? ...

C# Extension methods on PocketPC Windows CE

Are extension methods available on CE framework as well? I have an extension method for string that works fine in a windows forms project, however it wont build in PocketPC application. I figured this would be an easy thing to find out, however I was unable to find any info regarding extension methods on PocketPC. Edit: Ooops this was ...

How to reject a call without delay in ring on windows mobile?

Hello, I am trying to write a code to reject the incoming call programatically on windows mobile 6. my requirement is to achieve this without a single ring. I tried using systemstate property but it gives deley of one ring. I even tried with OpenNETCF's tapi wrapper but still i am getting the same result. Can anybody tell me what act...

How do I embed ads in .NET Compact Framework application?

I'm writing a C# .NET Compact Framework application and would like to embed ads into it (e.g. small banner on top of every screen). However, I couldn't find any advertising SDKs. Aren't there really any? If implementing it from scratch, how would you do it? Google's Ad Sense for example only works with mobile websites (that can be reach...

How to hide a tab (not just disable it) in .NET CF

When a particular tab on a TabControl is selected, I currently disable all other tabs using TabControl.Enabled = false. I would also like to hide them to avoid confusing users. Is there any way of doing this without removing the tabs and then adding them back in? ...

Is there an alternative to ITScriptNet

Is there anyone developing mobile industrial/enterprise/ERP/Inventory type applications who really loves their development tools and can reccommend an alternative to ITScriptNet? I've recently used ITScriptNet Omni to develop a mobile application on HHP (Honeywell) Dolphin mobile scanner with Windows CE. Prior to that, we developed from...