Previously, I was trying to use client certificate on .NET CF 2.0 (see here) and I ultimately had to give up. I'm now on .NET CF 3.5 which has support for the ClientCertificates property on the HttpWebRequest object. However, I can't figure out how to instantiate the X509Certificate or X509Certificate2 object with a pfx file. On the f...
I need to draw a textbox in a Compact Framework app, but using directly a Graphics object.
I've found the Control.DrawToBitmap method, which I could use for drawing with GDI, but it's not available on Compact Framework.
Any hints?
...
We have a piece of legacy code in C# .NET, targetted for the Compact Framework. We would like to turn this code into an ActiveX control, which has to run on the .NET Compact Framework under Windows Mobile 5. Is it possible to implement such a control? If so, can anyone provice a good resource that explains how this can be done?
I have a...
Hello,
is there any .net library to make small app to read pdf on Windows CE ?
thanks
...
How can I get the Font object for the default system font used by the particular device? I've noticed that different devices have different resolutions and DPIs, but some of my controls have explicitly defined fonts. I'd like to be able to get the default system font at runtime (as if I never changed the Font property on the control).
...
Hi,
I need to create a utility program which runs on windows mobile. I need to have the .cab file install the program and a shortcut to \Windows\Start Menu\Programs. The user launches the program with this shortcut. I then need to delete the shortcut after the application has been run the first time.
I'm currently getting an Unauthori...
I'm working with Linq expression trees (from the db4o/Mainsoft/Mono port) on the Compact Framework. Since System.Reflection.Emit doesn't exist, I can't compile my LambdaExpressions into delegates, which I want to do for performance reasons.
I thought maybe I could transform my expression tree into IL and basically provide the missing Em...
Quick question regarding the Compact Framework DataGrid.
How can I scroll a particular row into view? We have an application that displays scans in a datagrid. If the user scans a new item I add it to the grid, but if they scan an existing item, I'd like to scroll that item into view. Is there any way to do this?
I tried using the foll...
Is there a way to allow a user to draw with their stylus (a signature in my case) in a Windows Form? Something like InkCanvas in WPF.
I don't think I can use WPF in a compact framework project, or maybe I'm setting it up wrong.
thanks
...
In SQL Compact Edition 3.5 , note that it is the Compact Edition I am talking about- Is there a way to limit the amount of rows to only 2? Something like using LIMIT or TOP. I really don't want to use anything with a SqlCEDataReader, or SqlCEResultSet. I want to do all the limiting in the query. Is this possible now? I have looked around...
Hello.
I'm developing a Windows Mobile 5.0 or above with .Net Compact Framework 2.0 SP2 and C#.
I have a WinForm that only has a Custom Control. I want to call a method of that custom control when the form has finished loading and display the control.
Now I using Activated Event, but these event is thrown everytime when I close a mess...
Hi,
i am trying to build the 7zip code, which i can use in my windows mobile project..
does any one know how to build 7zip code and use the same in windows mobile application..
...
I have developed the application for windows mobile 5.0 and .net compact framework 2.0 sp2. This application communicates to the hardware device using serial port. This application works fine in windows mobile 5.0 based PDAs. I have handled data received event to get the data from serial port.
But when I run my application on windows mo...
Hi, I got it right to create a SQL Server CE database table using the code below:
string connectionString = "DataSource=\"test.sdf\"; Password=\"mypassword\"";
SqlCeEngine en = new SqlCeEngine(connectionString);
en.CreateDatabase();
But how do I create my database tables and insert data? I've got the SQL created statements stored in t...
Hi, I'm getting the error below when trying to use the Windows Mobile 6 emulators please advise how I can fix:
Microsoft Visual Studio
The operation could not be completed
OK
Using Windows 7, VS.Net 2008, WinMobile 6 Pro SDK
...
I have a list of custom types, they need to be saved/loaded to/from a file on a mobile device (Windows Mobile 6) what method would be the most suited, taking into account the limited resources of the device?
EDIT:
The data file will be around 2-5mb
...
I have a listbox that is bound to a strongly typed data table. I also have a textbox in which the user can add items to the list, and the items will be added to the database. Whenever the user attempts to add items to the list, I iterate over the list and check to see if it's a duplicate, in which case i simply select the item in the l...
Hi all..
i googled lot, i am not getting the way to build the icsharp source code for .net compact framework..
here is the link i,e http://www.icsharpcode.net/OpenSource/SharpZipLib/Download.aspx were i am able to download source code, but i am able to build for .net framework not for compact framework 3.5.. i checked the configuration...
We are using NETCFSvcUtil for generating WCF services proxy. The proxy class contains only methods that calls the web services in synchronous way, but we need to call the web service methods asynchronously. Can someone tell me how to generate service proxies for .NET CF that calls WCF Services asynchronously?
...
Simply I am asked to write an application for a smart device (smart cell phone), which will get the GPS coordinates from the device itself.
I have no smart device at all. And I am kind of lost among questions like how can I check if the device have a gps by using the code, if it has how can I obtain them in a "standard" way, do I need ...