compact-framework

Play Flash file under WinCE?

耗尽温柔 提交于 2019-12-12 03:19:27
问题 Is it possible to play a Flash file under WinCE? I know there is a player for Windows Mobile, but WinCE seems to not have one. It seems like you can license a player from Adobe for WinCE but I have not had any luck getting information from Adobe. I found this post that mentions using a AxShockwaveFlashObjects using C# and .NET Compact Framework. Does anybody have any experience with this? 回答1: You need Adobe Flash Lite, which is licensed from B-Square. 来源: https://stackoverflow.com/questions

How to stay connected to database until screen close?

杀马特。学长 韩版系。学妹 提交于 2019-12-12 03:09:08
问题 I developed a C# program for Windows-CE platform. The program open and close the connection to the database for every single interaction. See the code below. Button click: private void btnStkIn_Click(object sender, EventArgs e) { formStockIn = new frmStkIn(); formStockIn.Show(); } Select Data: try { using (SqlConnection sqlConn = new SqlConnection(<connection-string>)) { sqlConn.Open(); //Execute command SqlCommand sqlCmd = new SqlCommand(<Select Query>, sqlConn); SqlDataReader sqlReader =

CreateParams in the Compact Framework

 ̄綄美尐妖づ 提交于 2019-12-12 02:58:40
问题 I'm using the .NET Compact Framework and would like to subclass a PictureBox control (in this case to remove the CS_DBLCLKS style from specific instances of the PictureBox control). The code below works on .NET standard, but not the Compact Framework: using System; using System.Windows.Forms; namespace NoDblClick { public partial class NoDblClickPicControl : PictureBox { private const int CS_DBLCLKS = 0x008; public NoDblClickPicControl() { } protected override CreateParams CreateParams { get

How can I unpack a returned generic list of a custom type on the Compact Framework client?

荒凉一梦 提交于 2019-12-12 02:55:17
问题 I have a REST method on the Web API server that reads from a local-to-it MS Access table, and stores the values into a generic list, and passes that back: public List<SiteMapping> GetSiteMappings(String userId, String pwd) { List<SiteMapping> siteMappings = new List<SiteMapping>(); string connStr = string.Format( @"Provider=Microsoft.ACE.OLEDB.12.0;User ID={0};Password={1};Data Source=C:\CDBWin\DATA\CDBSetup.MDB;Jet OLEDB:System database=C:\CDBWin\Data\sscs.mdw", userId, pwd); using (var conn

Double buffering on .NET Compact Framework

馋奶兔 提交于 2019-12-12 01:39:16
问题 I was wondering if someone could explain to me how to double buffer a complete form in .net compact framework. I've found examples of double buffering but I can't seem to get any of these to work. We created an application with multiple forms. Some of these forms do take a long time to draw on screen which results in flickering. To give you some insight into our application i'm going to explain one of the forms. This form contains a usercontrol , some panels, textboxes and buttons. The

.net compact framework 2.0 and windows embedded standard

陌路散爱 提交于 2019-12-12 01:27:04
问题 Will the applications written in .net CF 2.0 run on windows embedded standard OS? Thank you! 回答1: It depends. CF assemblies are retargetable, so the full framework (which is what comes on Embedded Standard) can theoretically run them. That said, if the assembly uses any CE-specific stuff (like P/Invoking coreddl.dll) then it's going to fail when it tries those operations. 来源: https://stackoverflow.com/questions/5902064/net-compact-framework-2-0-and-windows-embedded-standard

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

c# how to get handle over a specific mainmenu using coredll.dll

喜欢而已 提交于 2019-12-12 01:14:21
问题 I am using an application that copies text from a textbox of another running application. I do this through working with coredll.dll. But the problem is the running application's mainMenu should be clicked in order to return a text that I need to copy. How can i get the handle over a specific mainmenu using coredll.dll? I used remote Spy++ to view handlers but I cant distinguish which one is it. The handlers just contains handlers for controls such as textboxes and labels and not for

RFC on HttpWebRequest vs RESTSharp from Windows CE / Compact Framework 3.5

痞子三分冷 提交于 2019-12-12 00:52:15
问题 I created a simple WebAPI service in .NET4 and Visual Studio 2010. I need to consume that service in a Windows CE / CF 3.5 app I do have HttpWebRequest available to me, but am not sure if this is the way to go, or I should use RestSharp. Does anybody have insight/experience that would help me decide? I prefer not using 3rd party code when possible to avoid it, but am willing to do so if there is a clear advantage over the "raw" offerings. Does anyone have, or know of, examples for accessing

Windows Mobile Internet Explorer History

我是研究僧i 提交于 2019-12-12 00:46:51
问题 How do I grab Internet Explorer's history on Windows Mobile 5.0 in C# running on the Compact Framework 1.0? I only need to get the most recently visited URL. Even if you just know where this is stored, I might be able to figure out the rest from there. 回答1: It should normally be stored in '\windows\profiles\guest\History*' It might however be better to retreive this location from the registry using: using Microsoft.Win32; RegistryKey foldersKey = Registry.CurrentUser.OpenSubKey(@"Software