windows-ce

Visual Studio - Can I debug my app on a CE device over the network

柔情痞子 提交于 2019-12-23 19:19:36
问题 I am developing an app for Windows CE with Visual Studio 2008. If I connect the device via USB I can debug / deploy my app on the device. But on the CE device the USB connection is just presented as another network interface with a private IP. Now I am wondering If it is possible to dismiss the USB connnection an connect over the LAN (both my PC and the CE device are on the same subnet). 回答1: Yes it is possible, I do this at work. First you need to run IPConfig on the device and get the IP.

How to Access Barcode Scanner with VB.Net in Windows CE

[亡魂溺海] 提交于 2019-12-23 17:54:39
问题 I've recently been asked to develop an application for the Motorola MK4000, an all-in-one device with a built-in barcode scanner. It runs Windows CE and supports VB.Net. I've never written an application for Windows CE, nor using a barcode scanner. I'm familiar with VB.NET so I'm confident I can figure this out, but I was hoping someone could point me to some resources on how to use the barcode scanner with possibly some example code of how to detect it and read data from it. Thanks. 回答1:

What is the best way to unit test a Windows CE / .NET CF app?

冷暖自知 提交于 2019-12-23 17:11:28
问题 I want to write unit tests for an app running on Windows CE .NET Compact Framework 3.5. Ideally I'd like to deploy them and run them on the device rather than emulated for true testing but if it could also run locally in Visual Studio for speed that would be great. I am mostly writing console apps and don't care about a nice gui but it would be nice. I tried csUnit but it had dependencies on libraries that aren't part of CF and my device didn't have room for them anyway. Has anyone had found

Is it possible to run my Windows Form application in Windows CE platform?

南笙酒味 提交于 2019-12-23 14:56:57
问题 I am new in Windows CE development and never done it yet. Need some advise from the expert in here. In our current project, we are developing a client-server application. The client side is using a windows form application that are base on Windows XP OS while the server is a web base application. This question are related to the client application (Windows Form). This application are using Sql Server Express Edition for data storage. The data is stored in XML object format. It also can

Which Branch[es] of the Registry does a CE Device Read?

梦想与她 提交于 2019-12-23 13:05:16
问题 My Windows CE (Motorola/Symbol) handheld devices have folders named \Software\Microsoft\Windows CE Services below both HKEY_CURRENT_USER and HKEY_LOCAL_MACHINE. HKEY_CURRENT_USER only has one entry, "DeviceFriendlyName"; it is read by the device, as the device is labeled in Windows Explorer with that key's value. However, what about HKEY_LOCAL_MACHINE? It contains many more keys, such as ExcludeExts, FileSyncPath, GuestOnly, &c. Why is there a \Software\Microsoft\Windows CE Services in two

LinkLabel no underline - Compact Framework

痞子三分冷 提交于 2019-12-23 12:53:41
问题 I am developing a Windows CE app with Microsoft Compact Framework. I have to use a LinkLabel and it has to be white and no underline. So in the designer, I modified font color by white and unchecked "underline" in the font dialog. However, when I run the application, the font is still blue and underlined. Is there a way to remove the underline of a LinkLabel and change its color? 回答1: It wont be visible in the designer at Design-Time but will be correct in Runtime . Otherwise do it in Code

SmartDevice CAB “is not a valid Windows CE Setup file”

拥有回忆 提交于 2019-12-23 12:22:43
问题 (This can be considered a follow-up on my question here.) After successfully building a CAB setup file for my handheld WCE5 device, (a Datalogic Memor laserscanner) I went on to try and install it. However, upon starting the CAB, the device throws me the following error message: The file "\Setup.CAB" is not a valid Windows CE Setup file I have no idea why it's saying this, especially since I made the CAB file using VS08's "Smart Device CAB Project" template. Is there some setting I missed

Must I add explicit threading to my Web API REST methods?

微笑、不失礼 提交于 2019-12-23 11:13:09
问题 I have created some Web API REST methods that will be called by handheld/Windows CE clients. So the server may be hit by multiple (well, will be is more like it, the question being how many) requests simultaneously. Do the REST methods automatically take care of this, or do I have to explicitly add threading code so that one client's request does not interfere with anothers? 回答1: No need - the asp.net framework already pools a number of threads for handling a number of requests concurrently.

Why is this SqlCeCommand ExecuteReader call failing?

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-23 06:40:45
问题 I adapted my code below from "Microsoft .NET Compact Framework" by Wigley and Wheelwright: SqlCeConnection cn = new SqlCeConnection(@"Data Source=\My Documents\Traffic.sdf"); String sSQL= "SELECT CarID, Reg, Location FROM Cars"); SqlCeCommand cmdSelect = new SqlCeCommand(sSQL, cn); cmdSelect.CommandType = CommandType.Text; SqlCeDataReader dtr = cmdSelect.ExecuteReader(CommandBehavior.Default); // It's "cmd." instead of "cmdSelect." in the book, but that doesn't compile while (dtr.Read()) {

How can I solve the “The OutputPath property is not set for this project” err?

送分小仙女□ 提交于 2019-12-23 05:27:04
问题 In my Windows CE app, I have been trying to change all project references from "Any CPU" (or "AnyCPU") to "x86" To do so, I've hand-edited the .csproj file (Project > Properties... only has "Any CPU" available as an option, no "x86" (or anything else). Now that I've dont that, though, I get, " The OutputPath property is not set for this project. Please check to make sure that you have specified a valid Configuration/Platform combination. Configuration='Debug' Platform='AnyCPU' " Where the