compact-framework

Haptic feedback in Compact Framework 2 running on Windows Mobile 6.5

I'm writing a Compact Framework 2.0 application on Windows Mobile 6.5 Several of the built-in controls (e.g. button) produce haptic feedback - small vibrations - when clicked. Is there any way the same thing can be achieved in custom controls? I'm aware of some platform specific APIs for this - but I'm looking for a generic WM6.5 API ...

How to create a full screen application in Win CE 6.0 using .NET Compact Framework 3.5?

We want our application to run in full screen mode with no title bar on a Win CE 6.0 powered device. The application is being developed using .NET Compact Framework 3.5 (C#). Any sample code or pointers to articles is appreciated. ...

What does Bounds do? windows mobile C#

Hi I am wondering what does "Bounds" do? like you can do label1.Bounds = new Rectangle(100,100,100,100); I can't find any information on it(seems sometimes so hard to find information for windows mobile stuff). Does bounds include "Size"? Like would it be redundant to do this? label1.Size = new Size(100, 100); label1.Bounds = ne...

How to test my application on a windows mobile standard sdk?

Hi I made my application in the windows professional sdk. Now I would like to see how my application looks in none touch screen applications. How do I change my emulator to run a standard mobile phone? I have both professional and standard installed. ...

SqlCeResultSet Problem

Hello, I have a SmartDevice project (.NetCF 2.0) configured to be tested on the USA Windows Mobile 5.0 Pocket PC R2 Emulator. My project uses SqlCe 3.0. Understanding that a SmartDevice project is "more carefull" with the device's memory I am using SqlCeResultSets. The result sets are strongly typed, autogenerated by Visual Studio 2008 ...

Tab order in .NET Compact Framework

Hi all, In Compact framework application form,If we do tab-out from a datagrid's any cell to some controls outside the grid,next time when grid get focus ,it will point the old cell . Any idea on setting it to datagrids first cell? ...

How to allocate memory in another process for windows mobile

I'd like to read the contents of another process listview control in windows mobile. To do this, I need a pointer to some free memory to that process in order to put the values there (and then read them from my process). This can be done in normal Windows or Win32 with the VirtualAllocEx function. However, this function is not supporte...

.Net and mobile devices list

Hello guys. I need to develop an application for mobile devices. I'm good in .Net and have no time/willing/money to learn any other libraries/frameworks. So I decided to create my application using .Net CF (is it good choice?). What most popular devices are capable to run .Net CF application these days? I know only Windows Mobile devic...

Compress Object/String through webservice and consume in .net compact framework

We need to compress (or rather uncompress) some data we send to a pda client using a webservice. Below I have a simple concept that will work if consumed by a regular .net app. Unfortuantly, as the compact framework doesn't have the IO.Compression classes we can't see how this is possible without writing our own compression algorithms...

Emulating animation with panels on .Net Compact Framework.

Hello! I'm developing a Windows Mobile 5.0 or above with .Net Compact Framewor 2.0 SP2 and C#. I'm trying to "animate" five panels changing their locations on a Timer_Tick event but these panels move very bad. They move like jumping. What I'm doing wrong? Thank you. ...

Conditional formatting in a DataGrid using .Net Compact Framework 3.5

This is very standard in the full .net version. I want to Bind to a collection of objects and then handle a RowDataBound event of some sort and change the background color of the row based upon one of the objects properties. Is this possible in Windows Mobile using the .Net CF 3.5? ...

Convert HTML to MHTML

HI.. is there any way to convert HTML and its associated images to MHTML in windows mobile... Thanks ...

Is an event thrown when a custom control gets its final size? (.NET Compact Framework).

Hello. I'm developing a Windows Mobile 5.0 or above with .Net Compact Framework 2.0 SP2 and C#. I have a custom control called PullDownMenu (it inherits from System.Windows.Form.Control). This is the code that I use on a WinForm to show it: PullDownMenu menu = new PullDownMenu(); menu.Location = new Point(0, 0); menu.Dock = DockStyle....

An error with... operator precedence?? (.Net Compact Framework)

Hello! I have this operation: t = (x - (y * (z + w)) - w) / 2; where: x = 268; y = 4; z = 20; w = 30; As far as I know the result will be 49, but I getting 19. Where is my error? (In using this code on a .Net Compact Framework 2.0 SP2 WinForm app). Thank you. ...

Compact Framework Configuration Encryption

I have a compact framework 3.5 application that is making a call to a webservice. On a desktop application I would normally just encrypt these and store the encryption keys in the application. However, I'm more concerned about security since this is on a handheld that may walk off. What is the standard practice for encrypting configur...

Throwing events through objects

Hello! I'm developing a Windows Mobile 5.0 or above application with .Net Compact Framework 2.0 SP2 and C#. I have a Winform (Form1) with a control (Control1) that contains another control (Control2). For example, a winform with a panel and inside this panel there is a button, but in my case Control1 and Control2 are custom controls. ...

An application design question.

Hello! I'm developing a Windows Mobile 5.0 or above application with .Net Compact Framework 2.0 SP2 and C#. I have to libraries: one to access SQL Server CE and the other with Custom Controls. When I retrieve data from SQL Server I use structs to return them. These structs are defined on library one. My problem is that these data is ...

set System.Threading.Thread.CurrentThread.CurrentCulture on .net compact framework

I need to show a Hijri Date time picker in windows mobile. .netcf 2.0 System.Threading.Thread.CurrentThread.CurrentCulture is not defined in .net cf 2.0 I have set the controla panel regional settings correctly but the date time picker still shows gregorian dates. How can I get a Hijri date time picker in windowxs mobile. Thanks. ...

How to Play audio from resource(C# Compact Framework 3.5)

Hi all, Am trying to play audio from resource using Dot.net CF, I added an audio file for the resource Property in my application, and am try to using below sample resource file reference code for.. SoundPlayer player = new SoundPlayer(Assembly.GetExecutingAssembly(). GetManifestResourceStream("blessedwav.wav")); player.Play(); B...

LINQ To SQL in Compact Framework

Im on to design my Data Access for a new solution i create. That solution though contains Compact Framework Device Application and libraries besides Desktop. All .NET 3.5. Desktop will handle all Data Access basically. I need the Data Objects to have in CF too, Desktop will communicate with SQL and then with Mobile and give the appropria...