windows-ce

how to make program that be in the taskbar windows-CE

送分小仙女□ 提交于 2019-12-04 03:19:48
问题 how to make C# program that will be All time in the taskbar ? i want to Build a Keyboard program. i need that when i open the device the program will open and be in the taskbar. another question is, when i have an external program that has a Textbox, how to make that when i press any key in my C# keyboard it will be in this external Textbox ? thank's in advance 回答1: It's not implemented in the CF, but the NotifyIcon class is what you're after. The SDF does implement it. It would be used

Unique Machine ID for a Windows CE Device

丶灬走出姿态 提交于 2019-12-03 23:20:09
I need to generate unique machine ID for a CE 6.0 device. On Windows OS, I was using the WMI to obtain some hardware identifiers from which I constructed this ID. Apparently, WMI is not supported on Win CE so I am looking for alternatives. At the moment I am playing with OS image that I have constructed in Platform Builder and testing my app in emulator, only later I will be delivered the real WinCE device. I have tried both GetDeviceUniqueID and KernelIoControl(IOCTL_HAL_GET_DEVICEID,... but they both return ERROR_NOT_SUPPORTED ( 0x80070032 ). Do I need to include some package from the wince

Debug .NET Compact Framework app locally (without emulator or device)

拜拜、爱过 提交于 2019-12-03 21:45:19
问题 I am currently in the preparation phase for a new project that will be developed with .NET Compact Framework (2.0 or 3.5, we'll see) and will run on a custom Windows CE 6 hardware. There is, however, one thing I can't get to work: Debugging seems to be possible only with a physical device or with the emulator. But when I just start the app from explorer, it runs happily on my desktop (because, of course, the CF is installed on my development machine. So, the actual question is: How can I

Detecting network state (connected - disconnected) in C#

偶尔善良 提交于 2019-12-03 20:22:14
问题 I am in need of a piece of code that can detect if a network connection is connected or disconnected. The connected state would mean a cable was plugged into the Ethernet connection. A disconnected state would mean there is not cable connected. I can't use the WMI interface due to the fact that I'm running on Windows CE. I don't mind invoking the Win32 API but remember that I'm using Windows CE and running on the Compact Framework. 回答1: Check out this MSDN article: Testing for and Responding

Anti aliasing DrawLine on CE

穿精又带淫゛_ 提交于 2019-12-03 20:14:34
I am drawing a line to a Graphics object in Windows CE using C#.NET 3.5. The code I am using looks like this: e.Graphics.DrawLine(new Pen(Color.FromArgb(11, 118, 200), 2), x1, y1, x2, y2); This works however looks terrible due to jaggies etc. Is there anyway I can draw anti aliased lines? From what I can tell the Graphics object doesn't support this natively but is there anyway to "cheat" this effect using some trickery? A fast trick if you're drawing on a solid color background, you can draw a line with a thicker pen and a color in between the background color and the line color prior to the

Why is my CE app refusing to run?

元气小坏坏 提交于 2019-12-03 18:18:21
问题 I've been maintaining a Windows CE app for some time now (over a year) and have produced new versions of it from time to time, copying them to the handheld device[s] and running the new versions there. Today, though, I created a new Windows CE app for the first time. It is a very simple utility. To create it in VS 2008, I selected a C# "Smart Device Project" template, added a few controls and a bit of code, and built it. Here are some of the options I selected: I copied the .exe produced via

Remote Control WinCE 6.0 device from Windows 7

戏子无情 提交于 2019-12-03 13:46:41
I am trying to find out a tool to remote control a Motorola MC3190 device running Windows CE 6.0 from a Windows 7 machine. I have already used Mymobiler with Intermec CN3 device so I tried the answers in this question but I am unable to get it to work. I have tried both remote.exe.40 and remote.exe.50 in the Mymobiler folder Using Task Manager on CodeProject mentioned in a question on superuser it seems remote.exe completes execution very quickly (or is crashing silently). My Start/Programs menu has a MyMobiler entry, so somewhere along the line something seems to have got installed But when I

Compile Boost 1.47 for Windows CE

随声附和 提交于 2019-12-03 10:37:23
There is actually a bit of information out there about people trying to build the Boost libraries for Windows CE, but no one has reported success or even given the steps required to do so. With the two latest releases (1.46 and 1.47) the release notes have mentioned that one of their test compilers was "Visual C++, Windows Mobile 5, with STLport: 9.0," which seems to imply that success has been achieved (as a side note the compiler given is interesting since the latest STLPort I've been able to download is 5.2.1. Am I missing something?). The posts I've found seem to revolve around the file

What is the simplest way to write the contents of a StringBuilder to a text file in .NET 1.1?

假如想象 提交于 2019-12-03 10:27:12
问题 I have to use StringBuilder instead of a List of string because of being stuck with .NET 1.1 for this project. It's really cramping my style, and making me feel like I'm wearing raggedy old leopard skin duds and dragging a lumpy club through the dirt. Anyway, I want to write a series of debug msgs I've written to a file to study at my leisure, as there is too much to see on the screen (the MessageBox doesn't have scrollbars). Some of the easy ways to write a file don't seem to be available in

Connecting to WinCE Device from Visual Studio

百般思念 提交于 2019-12-03 09:55:59
问题 I have a WinCE device. Is it possible to connect to the device from visual studio to view the following Folder structure. Applications running. Registry values. Is there any other ways to view these items? Where can I get more information on this? 回答1: Folder structure. Remote File Viewer Applications running. Remote Process Viewer or Remote Spy Registry Values. Remote Registry Editor EDIT: If your device does not have ActiveSync, you should read this MSDN article on how to connect to Windows