Sign In
Anthony Wong's Blog
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Tags
General
GUI
IO
Networking
Archive
Archives
November 2007
(1)
January 2007
(1)
October 2006
(1)
April 2006
(2)
March 2006
(2)
January 2006
(2)
December 2005
(1)
September 2005
(1)
July 2005
(1)
June 2005
(1)
May 2005
(2)
April 2005
(1)
MSDN Blogs
>
Anthony Wong's Blog
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Anthony Wong's Blog
WebException: Unable to read data from the transport connection
Posted
over 5 years ago
by
Anthony Wong2
0
Comments
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...
Anthony Wong's Blog
How do I determine the application's root directory?
Posted
over 5 years ago
by
Anthony Wong2
0
Comments
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...
Anthony Wong's Blog
Terminating a GPRS connection
Posted
over 6 years ago
by
Anthony Wong2
0
Comments
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...
Anthony Wong's Blog
SerialPort issue transmitting Unicode characters
Posted
over 6 years ago
by
Anthony Wong2
1
Comments
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...
Anthony Wong's Blog
MessageBox issue
Posted
over 6 years ago
by
Anthony Wong2
0
Comments
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...
Anthony Wong's Blog
Establish a GPRS connection with TcpClient
Posted
over 6 years ago
by
Anthony Wong2
3
Comments
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...
Anthony Wong's Blog
Deadlock issue on closing SerialPort
Posted
over 6 years ago
by
Anthony Wong2
1
Comments
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...
Anthony Wong's Blog
Directory.Exists() Issue
Posted
over 6 years ago
by
Anthony Wong2
0
Comments
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...
Anthony Wong's Blog
Unhandled exception with serial port issue
Posted
over 6 years ago
by
Anthony Wong2
1
Comments
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...
Anthony Wong's Blog
Bitmap.Save() Method
Posted
over 7 years ago
by
Anthony Wong2
0
Comments
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...
Anthony Wong's Blog
Multicast Sockets Sharing a Port
Posted
over 7 years ago
by
Anthony Wong2
0
Comments
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...
Anthony Wong's Blog
Splash Screen on Pocket PC
Posted
over 7 years ago
by
Anthony Wong2
1
Comments
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...
Anthony Wong's Blog
Power Notifications and Serial Port
Posted
over 7 years ago
by
Anthony Wong2
3
Comments
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...
Anthony Wong's Blog
Scrolling with Dial Pad on SmartPhone
Posted
over 7 years ago
by
Anthony Wong2
2
Comments
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...
Anthony Wong's Blog
HttpWebRequest: Timeout and ReadWriteTimeout
Posted
over 7 years ago
by
Anthony Wong2
0
Comments
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...
Anthony Wong's Blog
First Blog
Posted
over 7 years ago
by
Anthony Wong2
0
Comments
Hello everyone. Thank you for visiting my blog. My name is Anthony Wong. I am working for the .NET Compact Framework group at Microsoft in Redmond, WA. My job duties include quality assurance for the PMEs in core networking (System.Net), GUI (System...
Page 1 of 1 (16 items)