compact-framework

How can i determine which .Net features the compact framework has?

此生再无相见时 提交于 2019-12-14 03:09:07
问题 I need to know which classes/types the compact framework supports. I found this, but it doesn't seem to help much. Specifically, I need to know if CF supports MultipartFormDataContent, as I need to upload a file from a handheld device to a Web API app. Does anybody know of a source that shows which classes/types are available in CF? 回答1: MSDN shows this information. If you go to a page, for example a class, and select the .NET 3.5 version of it, the members of the class will have a PDA icon

Drawing a rectangle (or line, or bitmap) on the camera preview stream (.NET Compact Framework)

北战南征 提交于 2019-12-14 02:59:20
问题 I'm working on a .NET CF 2.0 application that uses the camera, showing the preview and allowing the user to take a photo. I'm using the CameraCaptureDialog component and I wanted to draw a rectangle on the preview screen, but I wasn't able to do it... Any ideas? Do you think the Overlay mixer filter in DirectShow can be useful? If so, do you have any example? (The problem is I work on the CF 2.0, so many solutions that work ok for the normal framework here don't work...). Thanks in advance,

There is no DoubleClick event for ListView control in .NET CF 3.5

冷暖自知 提交于 2019-12-14 02:24:16
问题 In my project, tree is a list of customers displayed in an ListView control, When user double clicks (or taps) on an item I should show the details of that customer, But there is no double click (or click event, mouse up and down events etc.) event in .NET CF 3.5 ListView control (we only have ItemActive and SelectedIndexChanged events) Is there anyone has figure out this problem? 回答1: I ended up using popup menu with functions that I need (like edit/delete/create new). 回答2: ItemActivate

Unable to load DLL 'coredll.dll' : the specified module could not be found

橙三吉。 提交于 2019-12-13 18:43:24
问题 I am writing a small application to test OpenNETCF library loading and have stumbled upon this curious message Unable to load DLL 'coredll.dll' : the specified module could not be found I am using Compact Framework 3.5 on a Windows Embedded 7 Compact thin client. The code is using System; using System.Linq; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using OpenNETCF.Threading; namespace

Set Device Time on .NET CF

泄露秘密 提交于 2019-12-13 17:41:39
问题 Looking for a code sample that takes a .NET CF DateTime object, and sets the device's date and time to that date (and/or time zone). The purpose of this is to get the current "real" time off of a server via web service and set the device's time correctly. Anyone done this before? 回答1: You can use Opennetcf's DateTimeHelper class. Alternatively you can p/invoke SetLocalTime. 回答2: Regarding kgiannakakis' answer: Definitely the way to go, but if you don't want to require the entire OpenNETCF

Detect and prevent/delay windows mobile power off

一笑奈何 提交于 2019-12-13 16:43:29
问题 I have a window mobile application which needs to detect power off and perform some operation before the device shuts down. I have been able to detect that the device is shutting down using pinvoke to the RequestPowerNotifications win32 api. However I can not figure out how to block the power off for long enough to run my code. 回答1: As an application, you can't prevent it unless the OEM has somehow provided a custom API for doing so (and I've never seen it on any WInMo device, only on a few

Logging Library for .NET Compact Framework? [closed]

为君一笑 提交于 2019-12-13 14:14:43
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 3 years ago . Any good logging libraries that support .NET compact framework? 回答1: log4net is a good choice, I use it for all projects. 回答2: Nlog does too. There are some functionalities not available in compact network (logging of Exception instances out of the box for example). 回答3: log4net actually supports compact

How to differ between Windows Mobile 6.5.3 and previous versions during runtime?

↘锁芯ラ 提交于 2019-12-13 13:59:15
问题 Is there an established or unofficial way of finding out if my application is running on a Windows Mobile 6.5.3 device or if it's a previous version? Managed or native doesn't matter and I don't mind interop-ing. 回答1: Since I want some reputation ;) Here is the information I found on the web: How to detect Windows Mobile 6.1 (Detecting AKUs) List of AKUs on channel9 Windows CE / Windows Mobile Versions 回答2: Use System.Environment.OSVersion That gets the CE version number, which would have to

Which form event should I use to pop up a login form?

佐手、 提交于 2019-12-13 10:36:02
问题 Before the user makes use of the main form, I want to pester them to enter their username, password, and siteNumber. Should I invoke a ShowDialog on the login form from the Main form's Load(), Activated(), GotFocus(), or Validate() events? Or should I just invoke the login form from the main form's constructor? This is a Windows CE app, and those are the only options I have, event-wise (there is no "Shown" event). 回答1: Have you considered prompting via ShowDialog before you even get to the

WebBrowser control in .net for windows ce

左心房为你撑大大i 提交于 2019-12-13 08:11:25
问题 when I navigate to particular page using WebBrowser control in .net for windows ce device, it is not taking clicks for buttons on page.e.g Search button on Google page.. Actually this works for 1 device and not for other.. Can anybody help out solving this? 回答1: This needs to set registry, and keys that need be set are; Software\Microsoft\Windows\CurrentVersion\Internet Settings and the value that need to set is "WarnOnZoneCrossing" to '0' in current user registry. Software\Microsoft\Windows