Our requirement is being able to integrate our DLLs with ClickOnce. Dotfuscator does the obfuscation job nicely but the obfuscated DLLs cannot be deployed with ClickOnce on customer side. On our side, we can handle it perfectly. Moreover, the obfuscated assemblies sometime crash our .NET CF app. It turns out to a solution that creates a ...
hi
i have string MyText that hold "L1"
i have label control that his name is "L1"
is there any way to read label L1 using MyText ?
something like: TMT = MyText.Text
or: TMT = ((Control)MyText.ToString()).Text;
thanks in advance
...
Hello
I have Motorola MC55 with Windows Mobile 6.5 on-board. This nice palm contains also an embedded bar-code scanner. My question is - Will I need anything special in .NET CF in order to use the bar-code scanner? I would expect that the bar-code are read as normal strings and delivered as keyboard events? Is any special .NET CF libra...
Hi,
So, I've got a C# project for Windows Mobile phones and I'm trying to work with the InputPanel. Specifically, I've got one form with a stack of Labels and TextBoxes that collect user input. I have an InputPanel that alerts me when the user opens the SIP. Everything works fine so far. When I get messages that the SIP status has ch...
Hi,
i am developing a mobile application on visual studio 2008 under .net compact framework for windows ce platform.
i use vb.net language
i want to add a new row to datatable using Bindingsource object.
my code is
Me.BindingSource1.AddNew()
Me.StokBindingSource1.Current("id") = "01"
when i use Current methot of bindingsource it gi...
Hello,
I am trying to use the RSACryptoServiceProvider to encrypt/decrypt. Encrypting works fine, but the Decrypt method() throws an exception with the message: Unknown Error '80007005'.
This is the code:
Byte[] plainData = encoding.GetBytes(plainText);
Byte[] encryptedData;
RSAParameters rsap1;
Byte[] decryptedData;
using (RSACryptoS...
Hello.
Again i wonder how can i highlight selected item in my MainMenu form.
Every time i select an item only the first item is highlighted (always the same).
But when a MenuItem is clicked its highlighted untill the Menu reloads.
I found "checked" property on MenuItem that would generaly work, but the first item remains highlighted. T...
Hi
I have CFv2.0 VB.net application running on PDA 6.0 accessing webservices all the time for data exchange. Number of PDA's are more then 20 all accessing the webservice on Windows Server 2008 IIS7.0 all of a sudden some PDA's stop working (cannot access web service) and get web no connection exception. Can access the service from IE.
...
Hi,
I'd like to consume an odata service with a .NET Compact Framework 3.5 client application. What's the easiest way to do that? There are are clients for various programming languages in the odata SDK, but I could not find anything related to the compact framework.
Am I missing something or do I have to use plain old HttpWebRequests...
We only have Visual Studio 2005. We're developing an application for Windows Mobile 6 and would like to use the .NET Compact Framework 3.5. However VS 2005 defaults to the 2.0 framework (for Windows Mobile 5).
It all works fine, but I would still like to use the 3.5 framework. Is this possible in some way?
...
hi
i couldn't find nothing useful for this problem
can anybody help me out
i'm using c#
...
I have a .NET CF project. In the project directory I put a simple xml file (users.xml) which has to be read by the device. When I debug the application on device emulator and try to load the file from code, the Exception is thrown (FileNotFoundException "Could not find file '\\users.xml'.").
Is there a mechanism to automatically deplo...
We have a Win CE 6.0 device that is required to consume services that will be provided using WCF. We are attempting to reduce bandwidth usage as much as possible and with a simple test we have found that using UDP instead of HTTP saved significant data usage.
I understand there are limitations regarding WCF on .NET Compact Framework 3.5...
Hi Guys,
I want to ask for suggestions on how to optimize a repaint in Compact Framework? GetHashCode() didn't help because it always return a different hash code.
Anyway, I have a program which you can drag and resize an object in run time. This object is a transparent object and it has a PNG image which also dynamically resize relati...
My solution consists of 2 executable projects and a couple dlls. Project1 is a Smart Device Project, Project2 is a Windows Forms Project.
Both projects use the same libraries, the reason of that is I want to test my libraries on PC before I deploy it on the device.
The problem is that the DLL project type can be Smart Device Class Libr...
I have a windows mobile 5 program (compact framework 3.5) that I need to be able to detect when the device is idle.
Right now I am just checking to see if the backlight is off. Like this:
[DllImport("coredll.dll", EntryPoint = "sleep", SetLastError = true)]
internal static extern void sleep(int dwMilliseconds);
....
//Get the curre...
I am trying to get the user idle state of my Windows Mobile device.
When I run the function GetSystemPowerState (after 15 min of not touching the device) I get the following value:
Dec: 302055424
Hex: 0x12010000
Bin: 10010000000010000000000000000
I was hoping that PowerState & POWER_STATE_USERIDLE == POWER_STATE_USERIDLE would be t...
Is there a way to change the skin you see in Visual Studio from the standard form?
I have a skin I use for my emulator. I would like to see that skin in my Visual Studio designers.
Anyone know a way to do that?
...
Hi !
I have a Form that has a panel with some textBoxes and checkBox that is outside the panel.
Every time the Form is loaded the checkBox has focus.
I have put en event handler when form loads and tried to set focus on first textbox instead having it on the checkbox.
this.Activated += new EventHandler(form_Activated);
in the method...
The lack of expression trees in Compact Framework has bugged me for some time now, but I haven't really looked for a solution.
Today, I've found a blog post about an alternative System.Linq.Expressions built on top of Mono System.Core and used e.g. by db4o (you can find it here).
My question is - have you used this library and if so,...