compact-framework

Consuming Web Services in CF 2.0

I made it work. However, there is a curious detail I noticed. My Web Service is retrieving data from the database and returns a list of objects: public List<RunResult> GetRunResults(string runno) When called from the CF project it is shown that this web method returns RunResult[]. What gives? am using CF 2.0 and the web service i...

Client/server architecture for mobile device (Win CE)

I am trying to rearchitecture a program which runs on Win CE 5.0 devices, using Compact Framework. Right now the application communicates directly with the database, pulling down data, making changes, and sending those back to the database. Each client is responsible for retrieving updates via polling the database. I want to develop som...

Thread-safe invoke on NET CF

I have a background thread running that fires events, but how can I ensure a thread safe invocation of these events using NET CF? I would use ISyncronizeInvoke on the NET platform, but I can't find this on NET CF. I'm sure there are an equivalent available.... or? ...

Alternatives to Reflection.Emit for the Compact Framework

It seems that .NET CF is missing the very useful Reflection.Emit. So far, I found this library as an alternative: http://www.codeplex.com/EmitCF. However it seems to be an abandoned early version, so I'm looking for more options. Does anyone know of another alternative to Emit? Or perhaps someone used EmitCF and can comment on its st...

KeyNotFoundException: SQLCE Database Exception

I am using a dataSet in C#. I have done a direct count for the number of items in the SQL CE database, so I know how many items that I have in the database. There are no deletions in the the database. I get the following unexplained exception(s) : A first chance exception of type 'System.Data.SqlServerCe.SqlCeException' occurred in Sys...

Automated GUI Testing .NET CF (Windows Mobile 5)

My company is looking into using automated GUI testing for our current app before proceeding to alpha. Our current main focus is robustness testing, one way we want to achieve this is automated UI testing that can be repeated over several hours/days. For our desktop version we've decided on AutomationElement, and I've seen several free...

.Net 1.0: Is there a Serializable attribute for the Compact Framework

Going "old school" with a .Net 1.1 Compact Framework app and I'd like to be able to serialize a list of objects to memory -- are there any serialization libraries included in the 1.0 framework? I should add that the System.Runtime.Serialization namespace doesn't exist in the 1.1 Framework (or so my compiler says). ...

Speeding up a Web Service

I have a web service running and I consume it from my desk application that is written on Compact Framework. It takes 13 seconds to retrieve 8 results which is kinda slow. I also expect to be retrieving more results in the future. The database query runs fast. Two questions: how do I detect where the speed slow down occurs? Do I put ...

First call to web service is slow; consumed by compact framework win app

i have a .net 2.0 web service running on IIS 7.0. i consume this service from a compact framework written application (CF 2.0). The first call takes 13 seconds, all subsequent calls are super fast (under 1 sec). No data is cached. Any ideas how to solve this? ...

How to transfer files to a mobile device over a wireless network using (C#)

hello, we are planning to a C# Compact Framework application using Mobile Client Software Factory. The application should talk to a content server(we are building the content server) using WiFi network and download the required files to the mobile device. Download size may be appox 30 MB to 60 MB. Do we need to use FTP to download the ...

Do not close Menu on selection of certain items in Compact Framework

Is it possible to leave a Menu open after a selection/check of certain menu items in Compact Framework? I found an answer to this but it doesn't work for Compact Framework. I want to check a menu item but have it stay open after I check the item. ...

How do I sync a windows mobile application when attached?

I'm writing a windows mobile application which will be running on a PDA, not a smartphone. It will also be used in an area with spotty wifi reception, so I need to be able to sync the data on the application when it is connected to another computer. What APIs or frameworks should I look into to perform this? I've looked at RDA and Syn...

Asynchronous Compression Library for Compact Framework

I'm looking for Asynchronous Compression and Decompression Streaming. By asynchronous I mean it supports BeginRead, EndRead, BeginWrite, and EndWrite. The only library that I've found that claims to is the native .NET classes. (I haven't tried them out yet, but it looks like they support it). I'm hoping to write this for the Compact ...

.NETCF 2.0 WebBrowserControl Pocket IE enable JavaScript

Need help to get Pocket IE configured to execute javascript in WebBrowser Control from a VB app. Get message that security settings for Pocket IE do not authorize scripts. Is it possible to configure Pocket IE on .NET CF 2.0 to execute client side scripts? Thanks in advance and happy coding. ...

DataGridView in .NET Compact Framework 3.5

I know that there is a DataGrid control in CF. However, is there a DataGridView control in .NET Compact Framework 3.5? ...

Determine all referenced assemblies

I need to determine all assemblies referenced by a certain .NET Compact Framework assembly. Do you think this is possible with Cecil? This way our deployment tools could automatically resolve all dependencies of our .NET Compact Framework applications. ...

VB.NET: Resize an image (jpg,gif,png) to avoid out of memory error in Picturebox Control on .NETCF 2.0

I'm searching for a solution to resize image(jpg) being passed in from an array in Picturebox Control on .NETCF 2.0 in VB.NET without resorting to using the opennetcf library, is it possible? ...

Achieving AES-256 Channel Encryption with the .NET Compact Framework

Hi There, I am working on a business application where the clients are Windows Mobile 6.1 Professional devices. The server is a Java enterprise application. The industry working group recommends AES-256 encryption for client/server communications. This is necessary to gain certification. The encryption doesn't necessarily need to be ch...

How to identify the storagecard removed notification of smartphone devices

Hi!, I am using windows mobile device, i want to know how to get notification if the storage card is removed from the device.I have DLL it has all the imported methods which send messages if the card is added or removed, but this case works fine if the DLL is in the device memory.If the application is installed in storage card, then DLL...

How to lock file

Hi, please tell me how to lock file in c# Thanks ...