opennetcf

How to attach Messages from a Form shown with ShowDialog to Application2?

元气小坏坏 提交于 2020-01-11 03:16:07
问题 I am trying to use the code in this article that lets you know when your app is idle.. This code works great if your application has only one form. You call Application2.Run(myOnlyForm) on it and all messages get routed through the filters in Application2. However if at any point you call mySecondForm.ShowDialog() that dialog does not get its messages filtered through Application2. Is there any way (with out bad side effects) to get the messages on mySecondForm to go through the `Application2

Upload and download large files - Windows Mobile (Compact Framework) via Web Services (WCF, MTOM, WCE?)

断了今生、忘了曾经 提交于 2019-12-24 01:49:09
问题 I have searched quite a bit and can't seem to find a good stable solution, so any help will be appreciated. Here's the scenario: Windows Mobile device running client app on .NET CF 3.5 (OpenNETCF libraries being used) Web App on .NET 3.5 (Web server running IIS) Developing in VS2008, .NET 3.5 - all the latest I need to use web services or WCF or MTOM to transfer large files to and from the mobile device. (Prefferably chunked). I've found some great articles, but can't seem to get it working

Using OpenNETCF.Net.Ftp inside a class instead of inside a Windows Form

拥有回忆 提交于 2019-12-14 04:03:53
问题 So far I am using an FTP object inside a Windows form. FTP object runs in a separate thread, so to ensure that my app doesn't freeze up, I use the following piece of code: private void OnResponse(string response) { if (this.InvokeRequired) { this.Invoke(new StringDelegate(OnResponse), new object[] { response }); return; } } //end of OnResponse I am not completely clear on what a string delegate is, but this works. However, I am now refactoring and wish to hide the ftp into a class. My

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

How can I assign enum values to a listbox in .NET 1.1 on the Compact Framework?

不羁的心 提交于 2019-12-13 08:18:03
问题 From http://weblogs.asp.net/stevewellens/archive/2009/08/19/how-to-fill-a-listbox-dropdownlist-from-an-enum.aspx, I see this example for assigning enum values to a listbox: Array Values = System.Enum.GetValues(EnumType); foreach (int Value in Values) { string Display = Enum.GetName(EnumType, Value); ListItem Item = new ListItem(Display, Value.ToString()); TheListBox.Items.Add(Item); } However, in my Windows CE project (.NET 1.1), there is no "System.Enum.GetValues()"; there is

Why would I get “The type of namespace name 'bla' does not exist…” after no changes?

落花浮王杯 提交于 2019-12-13 04:23:02
问题 Why would I go from building with no errors to 3 of the type: The type of namespace name 'bla' does not exist in the class or namespace 'blah' (are you missing an assembly reference?) All three errors refer to the same group of files (two errors in "OpenNETCF" and one in "OpenNETCF.Win32"); How could it be that these types did exist in the class earlier in the day, and now they don't? I didn't remove or update those references... UPDATE When I went to compile this (the next) morning in the VM

Converting OpenNetCF GetSignatureEx to Bitmap on Desktop

会有一股神秘感。 提交于 2019-12-12 01:21:56
问题 I have a SQLite database which is running on a handheld which is capturing signatures using OpenNetCF's Smart Device Framework 2.1 running under Windows Mobile 6.1. The signatures are captured from the Signature control using the GetSignatureEx method and stored in the database. What I want to do now is reconstitute the signatures on the desktop, but the desktop does not have a similar control. I looked at the data and it looks like a bunch of vectors, which explains why the data is so

Why does everything print on the same line, even though I'm adding crlfs?

馋奶兔 提交于 2019-12-11 06:24:04
问题 This will print (although still ugly) on the Zebra QL220 belt printer from my CE/CF app running on a Motorola MC3100 handheld: public void PrintBarcode(string barcode, string UPC, string description, decimal listPrice) { using (SerialPort serialPort = new SerialPort()) { serialPort.BaudRate = 19200; serialPort.Handshake = Handshake.XOnXOff; serialPort.DataBits = 8; serialPort.Parity = Parity.None; serialPort.StopBits = StopBits.One; // other choice is Two (see p. 14-21 in CPCL pdf) serialPort

better way to communicate between ad hoc wifi windows mobile devices

假如想象 提交于 2019-12-11 01:40:26
问题 We are developing wireless ad hoc communication applications on windows mobile 6 devices using 802.11 in ad hoc mode. We are using HP iPAQ 910 devices and OpenNETCF smart device framework 2.3 for development. As a design constraint, each device is represented as an SSID. If two devices want to communicate with each other, initiator switches to other device's SSID and broadcasts UDP messages. However this switching takes 4-5 seconds to complete and spending this much time might be undesirable

Compact Framework - OpenNetCf.Net FTP Samples?

删除回忆录丶 提交于 2019-12-09 04:55:17
问题 I am trying to get the OpenNetCF.Net FTP Components working with my PDA application. I am struggling to get it doing any more than connecting to the server and wondered if anyone knew of any sample code I could use to learn how to use it with? I need to be able to download and upload files, as well as determining the download size of any files that I wish to download. Thanks in advance. 回答1: I don't like the classes in the OpenNETCF.Net.FTP namespace (the ones in the Smart Device Framework).