compact-framework

How do I use an MS Access database with the Compact Framework?

柔情痞子 提交于 2021-02-08 07:13:20
问题 I am developing a Compact Framework application that needs to manipulate an existing MS Access database. Apparently the CF has no support for Access databases, or even ODBC. How can I do this, without changing the database? 回答1: The answer, in short, is that you don't. The CF has no ability to attach to an Access database, remote or local. Now if the database is on a PC, what I'd be inclided to do is create a simple WCF service that provides access (no pun intended) to the database by either

How do I use an MS Access database with the Compact Framework?

▼魔方 西西 提交于 2021-02-08 07:12:46
问题 I am developing a Compact Framework application that needs to manipulate an existing MS Access database. Apparently the CF has no support for Access databases, or even ODBC. How can I do this, without changing the database? 回答1: The answer, in short, is that you don't. The CF has no ability to attach to an Access database, remote or local. Now if the database is on a PC, what I'd be inclided to do is create a simple WCF service that provides access (no pun intended) to the database by either

How can I open an image and edit the image with C# .Net Compact Framework.

天涯浪子 提交于 2021-01-27 07:26:45
问题 Is it possible to open an image and edit that image by drawing on the image, means loading an image and just making some scratches on it like we can do that in Windows Paint. How can I do that in .Net Compact Framework using C# ? 回答1: Of course you can. Simply open the image using Image.FromFile() , then create a Graphics object against this image by using Graphics.FromImage() and then use GDI+ methods like DrawLine() , DrawRectangle() , DrawString() etc. to make changes to it. At the end,

Deployment and/or Registration Failed C#

梦想与她 提交于 2020-02-07 03:42:09
问题 I have a Device-application (Compact Framework) in C#. When I Debug my solution I get this error: Error 1 Deployment and/or registration failed with error: 0x8973190e. Error writing file '%csidl_program_files%\hhrcv_app\system.windows.forms.dll'. Error 0x80070070: There is not enough space on the disk. Device Connectivity Component I have done some research about this and tried to remove and add the References back. Also hard reset the Emulator but still nothing. Please help me! 回答1: Compact

Which locations on a handheld device are used by installed .exes for their dependent files?

主宰稳场 提交于 2020-02-06 03:40:16
问题 I have what seems to me an odd situation: an old .exe of the project on which I'm working runs on a handheld device. New versions don't (even the exact same code with no additions). Even that .exe that runs on one handheld device doesn't on the other. See this for some of the gory details. Based on this, I thought I could track down the problem. But this PC util tells me what is missing from that (PC/build machine) environment. I need to know what is missing/wrong on the CE device. So to

Which locations on a handheld device are used by installed .exes for their dependent files?

ぃ、小莉子 提交于 2020-02-06 03:40:07
问题 I have what seems to me an odd situation: an old .exe of the project on which I'm working runs on a handheld device. New versions don't (even the exact same code with no additions). Even that .exe that runs on one handheld device doesn't on the other. See this for some of the gory details. Based on this, I thought I could track down the problem. But this PC util tells me what is missing from that (PC/build machine) environment. I need to know what is missing/wrong on the CE device. So to

sql ce native exception 0xc0000005

别等时光非礼了梦想. 提交于 2020-02-02 11:20:10
问题 When i run my .net 3.5 cf application that reads some data from ms sql ce, sometimes i get an native exception with the following info: ExceptionCode: 0xc0000005 ExceptionAddress : 0x44746e65 (variable) Reading: 0x44746e64 at NativeMethods.GetKeyInfo(IntPtr pTx, String pwszBaseTable, IntPtr prgDbKeyInfo, Int32 cDbKeyInfo, IntPtr pError) at SqlCeCommand.ExecuteReader(CommandBahavior behavior) (... omitted for brevity) at dadosGpsTableAdapter.GetDadosAEnviar() My GetDadosAEnviar query is very

sending USSD in C#?

强颜欢笑 提交于 2020-01-31 18:11:28
问题 I want to write a simple c# application runs on windows mobile 6 which can send USSD messages Is there any library that could help me in doing this?? or is there any examples that explains how to use lineSendUSSD thanks 回答1: You have to P/Invoke to access the phones TAPI functions. Have a look at this thread: Windows Mobile Developer Center 来源: https://stackoverflow.com/questions/1725860/sending-ussd-in-c