Questions tagged [.net-cf-3.5]

For .NET compact framework version 3.5 related questions

The Microsoft .NET Compact Framework (.NET CF) is a version of the .NET Framework that is designed to run on resource constrained mobile/embedded devices such as personal digital assistants (PDAs), mobile phones, factory controllers, set-top boxes, etc. The .NET Compact Framework uses some of the same class libraries as the full .NET Framework and also a few libraries designed specifically for mobile devices such as .NET Compact Framework controls. However, the libraries are not exact copies of the .NET Framework; they are scaled down to use less space.

The Microsoft .NET Compact Framework 3.5 Redistributable contains the common language runtime and class libraries built for the .NET Compact Framework. In addition to version 3.5 support, it also supports applications developed for version 1.0 and 2.0. The .NET Compact Framework 3.5 provides new features such as Windows Communication Foundation, LINQ, SoundPlayer, new runtime tool support, and many other features.

147 questions
0
votes
2 answers

Disable Maximize / Restore button on Windows Forms

I'm using VC# to develop application on WIN CE env. 1) I would like to have only the "X" Button on some of my forms. 2) I want the form to occupy the full screen. 3) Form should not be moved. I tried using designer, but was not able to achieve…
Phoenix
  • 79
  • 1
  • 12
0
votes
1 answer

NotSupportedException raised during InvokeMember call

I'm using a .NET CF 3.5 to create a dll and invoke a public member of the DLL from the exe. The Dll code is given below : using System; using System.Linq; using System.Collections.Generic; using System.Text; namespace DllPoc { public class…
Phoenix
  • 79
  • 1
  • 12
0
votes
6 answers

Find the parent directory in c#

If path = "\ProgramFiles\MobileApp\es-gl\a.dll". I want to get "\ProgramFiles\MobileApp\es-gl" alone. Just want to know the parent directory of the file a.dll. Is there Any inbuilt method in c#? I am using .net Compact Framework
0
votes
2 answers

Get more info from sqlclient error message

I connect my windows mobile app directly to ms-sql server using the sqlclient dll from microsoft. Some times I get this error when trying to get some data from the server: System.Data.SqlClient.SqlException: SqlException at…
Ezi
  • 2,212
  • 8
  • 33
  • 60
0
votes
3 answers

To find the dll version of the file

I want to find the dll version when the path is specified. Suppose path = "progfiles/harry/sample.dll". How to find the sample.dll version. Since I am using .net framework 3.5 SP1, I cannot use FileVersionInfo. I tried Assembly.LoadFrom. But the…
0
votes
2 answers

X509Certificate and .NET Compact Framework 3.5

I am trying to implement HTTP communication authenticated by client certificate. When sending an HTTP request on "normal" (i.e. not Compact) .NET Framework, it's quite simple: HttpWebRequest request = ...; string certificatePath = ...; string…
Nikola Anusev
  • 6,940
  • 1
  • 30
  • 46
0
votes
1 answer

Fastest way to draw shapes (Line, FilledRectangle, Rectangle etc)

I am working on a project using .Net Compact Framework 3.5 using C# 3.0. I have a user control which receives data every 15 miliseconds and I have to draw shapes like lines, rectangle, filled rectangles on user control. I want to know what is the…
Embedd_0913
  • 16,125
  • 37
  • 97
  • 135
0
votes
1 answer

NotSupportedException on generic collection when garbage collector calls clear() (CF 3.5)

First thing: This is a compact framework 3.5 application. I have a very weird problem. In a Dispose-Method the application disposes items in a collection and after that clears the list. So far nothing special and it works like a charm when Dispose…
-1
votes
1 answer

How do I iterate through Components on a Windows Form?

I'm using VisualStudio 2008 on a system using .NET Compact Framework 3.5 in VB.NET and have a form that contains a couple of Components, namely Timers and Messageboxes. Part of my application is a sub that iterates through all the Controls in the…
-2
votes
3 answers

Recommended method to calculate the difference between two timespans

What should be the best way to calculate the time diff which is accurate upto the level of Microseconds. currently I am doing as follows: ((TimeSpan)(DateTime.Now - _perfClock)).TotalMilliseconds Note: perfClock is DateTime (set prior to…
Sumeet
  • 905
  • 1
  • 14
  • 32
-2
votes
1 answer

How to update the form GUI from a class file in c# for windows CE (Windows Mobile 6.5.3 ) Devices with CF 3.5

I am trying to make a server class and receive messages from client and from the received msgs i need to update the UI/form , i have text box in the form1 which i need to be updated Below is my server class using System; using…
Jerry Abraham
  • 1,039
  • 18
  • 42
-2
votes
1 answer

VB.NET Application.Exit not closing forms opened using ShowDialog

I have a .Net application with multiple forms invoked using form.ShowDialog(). When I do Application.Exit, the application is not closing all the forms. When I try to do an explicit Form.Close I am getting an error from WinForms as below at…
1 2 3
9
10