compact-framework

SQLCEException was unhandled: Internal Error: Cannot open the shared memory region

I am trying to do a TableAdapter.Fill(dataTable) and it fails with the above error. Here is the code in ...DataSet.Designer.cs [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] public virtual int Fill(Zenwar...

Find the rectangle of the currently selected item in a list box

I need the find the rectangle (or really just top, left point) of the selected item in a List Box. Any one know how to do it? ...

WinMo > ASMX WebException - how to get details?

Okay, we've got an application which consists of a website hosting several ASMX webservices, and a handheld application running on WinMo 6.1 which calls the webservices. Been developing in the office, everything works perfect. Now we've gone to install it at the client's and we got all the servers set up and the handhelds installed. ...

CF - Mobile Managed Gestures

Im looking for a nice demo/sample using Windows Mobile Managed Gestures. I have a main view that contains a single panel. Every item in the panel is another panel containing pictureBox and a label. I would like to implement scrooling (finger flicking) to avoid using thin scroolers. Are the Windows Mobile Managed Gestures the right sol...

Validation framework for .NET Compact Framework 3.5.

Do you know of a fast and simple entity validation framework that could be used in a Compact Framework project? I've done some experiments with FluentValidation (using db4o System.Linq.Expressions, but it's rather slow) and EViL (but it seems a bit half-baked). Can you suggest any other or maybe point me to some resources on how to d...

Find the height of text in a panel

I have panel that I have customized. I use it to display text. But sometimes that text is too long and wraps to the next line. Is there some way I can auto resize the panel to show all the text? I am using C# and Visual Studio 2008 and the compact framework. Here is the code I am wanting to adjust the size for: (Note: HintBox is m...

Has MSDN Dropped Compact Framework already?

MSDN Documentation used to indicate if a method was supported on the compact framework. But now I can't find that info anymore. I know that Microsoft has dropped Compact Framework like a hot potato, but I did not know that they had ripped it out of the docs. As examples of what I am talking about here is a link to the Graphics Members...

Compact Framework: Tab Order Is Not Working As Specified In Properties

compact framework app: .net 3.5, c#. i have a user control with 4 drop down lists on it. it's a progressive selection scenario - pick first drop down list, and the next one fills up with items. pick the next item, the third fills up with items, and same with third to fourth. it seems that no matter how i set the tab order of these dro...

[C#] Array as DataSource of a DataGrid: how to customize columns?

In my Windows Mobile .NET application I have a simple array of object with the data I want to display in my DataGrid. To do this, I simply call: myDataGrid.DataSource = myArray; This works, but I have a problem with it: it uses all properties as columns and uses the names of the properties as the column headers. I can't figure out how ...

Build a custom drawn control for .net compact framework

I just started on the .net compact framework. I want to draw a Sudoku field on the screen. So I put down a PictureBox and defined a method for the Paint event: private void pictureBoxPlayfield_Paint(object sender, PaintEventArgs e) { // use e.Graphics to draw the grid, numbers and cursor } This works, but you can see as the grid i...

is there any way to show checkbox in dataGrid - windows mobile ?

hi is there any way to show checkbox in dataGrid in my C# program on Windows-mobile ? (FW 3.5) thank's in advance ...

Is Graphics.DrawImage asynchronous?

Hi all, I was just wondering, is Graphics.DrawImage() asynchronous? I'm struggling with a thread safety issue and can't figure out where the problem is. if i use the following code in the GUI thread: protected override void OnPaint(PaintEventArgs e) { lock (_bitmapSyncRoot) { e.Graphics.DrawImage(_bitmap, _xPos, _yPos); ...

CF - How to "lose" focus from a control

Hello. I have a control with two buttons (zoom in, zoom out). Both buttons have onClick event that handle the zoom. When any of the button is pressed, the button gets focus and bolds its border and text. Is there a way to disable/remove focus? Actually the solution im looking for would be that on mouseDown the button would receive fo...

Compact Framework Remote Performance Monitor Error connecting to a device

I am trying to do a memory profile on a .Net CF app. It was originally compiled in 2.0, but I converted it to 3.5 so I can use the 3.5 CF PowerToys Remote Perf Mon. I am getting the following error message when trying to connect: ActiveSync device: transport incompatible. I am connecting via DMA through ActiveSync, should I be doing s...

CF - DataGrid onClick event (or similar) for the cell / row ?

I want to use DataGrid. I parse the data from an XML. In the XML for each row i have a tag that holds a specific command. I want that the user can click on any cell of the row (or a specific one), and i need to catch the click event execute the command and redirect to another form... I can do this with custom control made of panels and...

Microsoft Message Queueing on Microsoft Windows Mobile 6

Hello people, i installed msmq on a windows mobile 6 device using the msmq cab from wm 5 server tools which provides the visadm utility and the required dlls for msmq. The msmq installed without any issues (installed -> registered -> soft reset -> enable binary -> enable srmp) The thing is when i run the app i developed (Vb .net , compa...

Open source Graph control library or control for .net compact framework.

Hi All, Does anyone know any graph control library for .net compact framework ? Please provide me with links or details if someone knows about it ? ...

set backlight time

Hi, Is there any way to change backlight turn off TIME using programming(Preferred c# or vb.net other c++ can be used too)? I guess, may be it is changed using registry info or API. Manually, it is done by: Setting > Backlight (Battery Power and External Power) Thank you ...

how to upgrade compact framework applications?

i'm looking for a way to manage application upgrades for my compact framework app. let's say i have v1 of the app installed on my device, and v1.1 has been released. I want the app to make a call to my server to see if there is a new version. since a new version is found, i want to send down the new version of the app to the device and ...

NETCF - Displaying custom shaped form in compact framework

Hi guys, I am developing some small little application that sits on the screen and on top of all window and flies around the screen, could be a bird or a butterfly or a fish. But I have a little bit of problem. How do I redraw the background without my images included? or how do I copy the background (not the wallpaper) behind my form...