windows-embedded

Unable to access database (SQL Server CE / Windows Mobile 6.5)

对着背影说爱祢 提交于 2019-12-12 04:25:21
问题 I'm creating an application for a Windows Mobile 6.5 device, part of which is supposed to replicate a SQL database when the device plugged in, to have a local copy when unplugged (because no connection). So, to have a local database I followed the "Northwind" tutorial for SQL Server CE (with my own test database), but constantly run into the issue that the device can't connect to the database. I can't debug (because I have to transfer the program to the device to test it every time) but I get

How do I switch an image in “XAML for Windows Embedded (Compact 2013)”

旧城冷巷雨未停 提交于 2019-12-11 17:49:22
问题 I have a project for Windows CE that uses XAML for Windows Embedded (Compact 2013) (also known as "Silverlight for Windows Embedded") for the GUI. I defined an image in xaml and now I want to switch this image in the c++ code behind part. How do I do this? 回答1: I found this solution: m_pBatteryStateImage is the image, defined in Xaml. The URIs for the images can be found in the auto generated file PROJECTNAMEGenerated.rc2 void MainPage::SetBatteryState(BatteryStateFlags batteryState) { BSTR

What are some techniques to monitor multiple instances of a piece of software?

拟墨画扇 提交于 2019-12-11 02:37:48
问题 I have a piece of self-serve kiosk software that will be running at multiple sites. I'd like to monitor their status remotely. The kiosk application itself is pretty much finished. I am now in the process of creating a piece of software that will monitor all of the kiosks from a central location so that the customer can view particular details remotely (for instance, how many bills are in the acceptor's cash cartridge, what customer is currently logged in, etc.). Because I am in such an early

How to allow iis8.5 service to interact with desktop

不羁岁月 提交于 2019-12-10 12:05:24
问题 The problem is i couldn't find this option at all. I need to run winforms app from iis, and i couldn't achieve it. Сan someone give me a tip for this. I tried to give localsystem and admin identity to site pool, but it's not working,just process running without any window. Update i did check "allow service to interact with desktop" thank to answer,but still window not appear Update2 i even tried this one answer,and second one but can not start process at all 回答1: The 'Interact With Desktop'

WPF - Low performance when process is executed under SYSTEM account

有些话、适合烂在心里 提交于 2019-12-09 11:31:08
问题 Problem Description I have a WPF Application that is usually running under a local user account with Administrator rights. However, in certain scenarios, the process is started by a service or script that is running under SYSTEM account and the process is therefore also running under the SYSTEM account. The issue is that when the process is running under SYSTEM account, there are some noticeable lags (the UI is not very responsive). I did some digging using perfmon and didn't see anything

Minimal system requirements for .NET Compact Framework 3.5

廉价感情. 提交于 2019-12-08 10:42:51
问题 I have hardware with Microsoft Embedded Windows CE 4.1 (CE .NET) / CPU Intel XScale PXA250 / Memory 32 MB RAM/32 MB ROM. Is there possible to run .NET CF 3.5 on hardware this type? Or may be only .NET CF 2.0? 回答1: it seems that there is a version for Windows CE 4.2, it may work also on 4.1 because there are no major differences in the kernel between those two releases: http://support.microsoft.com/kb/947559 It's not granted that it could run on any Windows CE 4.2 device. The .NET CF requires

OnActivated during constructor

人盡茶涼 提交于 2019-12-06 09:38:49
问题 When during the constructor of a Form I touch specific properties (ie. the Width property), it immediately invokes OnActivated() . I only notice this behavior on my device running Windows Embedded 7 and the .NET 3.5 that comes with it. Here's the code I use to reproduce the issue: static class Program { [MTAThread] static void Main() { new MyForm(); } } public class MyForm : Form { public MyForm() { Width = 100; } protected override void OnActivated(EventArgs e) { MessageBox.Show("Activated!"

OnActivated during constructor

时光毁灭记忆、已成空白 提交于 2019-12-04 16:47:57
When during the constructor of a Form I touch specific properties (ie. the Width property), it immediately invokes OnActivated() . I only notice this behavior on my device running Windows Embedded 7 and the .NET 3.5 that comes with it. Here's the code I use to reproduce the issue: static class Program { [MTAThread] static void Main() { new MyForm(); } } public class MyForm : Form { public MyForm() { Width = 100; } protected override void OnActivated(EventArgs e) { MessageBox.Show("Activated!"); } } (Notice that I'm not Show() ing the form nor using Application.Run() ) Running the above code on

Web Browser support Windows Embedded vs Windows CE vs Windows Mobile? [closed]

蹲街弑〆低调 提交于 2019-12-03 15:59:36
I am developing a web based inventory solution for a client and there will be handheld mobile computers involved. I've never developed a web app that has been run on a browser on one of these devices. The devices we are looking at have one of the following OS: Windows Embedded 6.5 Windows CE 5.0 or 6.0 Windows Mobile My questions are: Do all of these come with some version of Internet Explorer If so, does that version of IE support things like: javascript? JQuery (UI, AJAX calls) Any experience or recommendations on any of these OS choices, pros, cons? No, they do not have the same version of

WPF - Low performance when process is executed under SYSTEM account

随声附和 提交于 2019-12-03 13:56:12
Problem Description I have a WPF Application that is usually running under a local user account with Administrator rights. However, in certain scenarios, the process is started by a service or script that is running under SYSTEM account and the process is therefore also running under the SYSTEM account. The issue is that when the process is running under SYSTEM account, there are some noticeable lags (the UI is not very responsive). I did some digging using perfmon and didn't see anything suspicious (CPU is not overloaded, no unusual exceptions are thrown, no memory leaks, etc ...). I also