Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

A bug has been found on NETCF v2 and v35 that affects HTTPS web requests from Windows Mobile 6 devices. Andrew has a blog article about the cause of the issue in detail. The following is table listing whether the issue reproduces on a particular platform: Read More...
0 Comments
Filed under:
This is a popular question in the forum. The answer used be part of NETCF FAQ but cannot be easily located these days, so I would include the information here: An application can determine the directory from which it was run by utilizing Reflection and Read More...
0 Comments
Filed under:
Earlier I have posted an article on establishing a GPRS/EVDO/EDGE connection with TcpClient in managed code. The post generated a number of questions from users and one of the common questions was that the code works them, but the connection remains open Read More...
The managed implementation in .NET Framework 2.0 and .NET Compact Framework 2.0 supports the Encoding property that allows developers to specify the encoding they would use to transmit data over a serial port connection. The property defaults to ASCIIEncoding, Read More...
1 Comments
Filed under:
On NETCF V2, a message box is automatically closed if MessageBox.Show() is called after a form is closed. This is different behavior from NETCF V1 and Desktop (V1/V2). To work around the issue, simply call Message.Show() on another thread with codes like Read More...
0 Comments
Filed under:
NETCF's HttpWebRequest automatically sets up a GPRS connection for web requests/web services when a wired/wi-fi connection is not available. Therefore, when you do a web request or consume a web service, developers do not need special coding to handle Read More...
3 Comments
Filed under:
NETCF V2's SerialPort implementation provides four public events for developers. They can add custom event handlers to handle these events. Since these event handlers are executed by ThreadPool threads, if the developer wants to update form fields with Read More...
1 Comments
Filed under:
On Windows CE 4.X based devices, Directory.Exists() treats path names ending with a slash "\" differently. As an example, Directory.Exists("\\temp") will return true if the "temp" directory exists. However, the following call will return false even though Read More...
0 Comments
Filed under:
When an exception is unhandled in an application, an unhandled exception dialog is shown to inform the user of the issue. Because of an issue in some serial port drivers, when an unhandled exception occurs and the user exits the application, the application Read More...
On pre-Windows Mobile 5.0 devices, because the image encoders are not available in the OS, NETCF V2 does not support saving bitmaps into Gif, Jpeg or Png formats; only the Bmp format is supported. A NotSupportedException is thrown when you call the method Read More...
Because multicasting is a one to many communication, there maybe some occasions when you would like multiple UdpClient instances on the same machine to receive data from the same multicast group and port. To do this, you would need to set the SO_REUSEADDR Read More...
0 Comments
Filed under:
Sometimes it would be nice to add a splash screen to your Pocket PC application. You can show your company logo, product title, product logo as well as other information on the splash screen. On .NET Framework, you may use two Application.Run() calls, Read More...
1 Comments
Filed under:
NETCF V2 adds the support of a managed SerialPort class to allow developers to directly access the serial ports on mobile devices, enabling communication with GPS, bar code readers, or other mobile devices within managed code. These peripherals may be Read More...
3 Comments
Filed under:
NETCF V2 adds the AutoScroll feature, showing scrollbars on a form when one of its controls is outside the visible region of the form. To enable auto scrolling, simply set the AutoScroll property of the form to true. To change the visible region of the Read More...
2 Comments
Filed under:
In NETCF V1, when a HttpWebRequest fails due to a timeout, a WebException is thrown with this exception message: System.Net.WebException: The operation has timed-out. This means that the request cannot be completed within the timeout value, which can Read More...
0 Comments
Filed under:
More Posts Next page »
 
Page view tracker