software you can take with you
All Tags » How To (RSS)

Browse by Tags

  • How To: Get System Power State Name and Flags

    A question came up on our forums and so I investigated writing a wrapper for the GetSystemPowerState API function. This allows you to retrieve the power state name, and also a bitmask of flags - Is the backlight on, is the device password protected etc. This is the result in VB.NET. We will add it to...
    Posted to Peter Foot (Weblog) by Anonymous on 02-23-2008
  • How To: Programmatically Scroll Controls

    A number of controls within .NETCF have built in ScrollBars. Occasionally you may want to operate these programmatically on behalf of the user. When you do this you want both the control to scroll and the scrollbars to correctly reflect the current position. Faced with this requirement I found a solution...
    Posted to Peter Foot (Weblog) by Anonymous on 02-12-2008
  • How To: Use the WebRequestMethods class

    Networking In The Hand introduces a repository for all the various method types for FTP and HTTP operations. While the common ones are easy to remember ("GET","POST" etc) many others are not, and so this class (like its desktop equivalent) provides a central place to refer to them...
    Posted to Peter Foot (Weblog) by Anonymous on 10-09-2007
  • How To: Use the FtpWebRequest

    Networking In The Hand includes a full desktop-compatible implementation of the FtpWebRequest class. This plugs into the WebRequest class so that calling WebRequest.Create() with an FTP Uri will create an object of type FtpWebRequest. Because FTP support isn't built into the Compact Framework you...
    Posted to Peter Foot (Weblog) by Anonymous on 10-04-2007
  • How To: Use the WebClient

    Networking In The Hand includes the WebClient class which is a helper class which makes it easier to do uploading and downloading of data using HTTP and FTP transports. For example rather than creating an HttpWebRequest, setting a number of properties, getting the response and reading the response stream...
    Posted to Peter Foot (Weblog) by Anonymous on 10-02-2007
  • How To: Use the Ping class

    Networking In The Hand includes the Ping class (In the InTheHand.Net.NetworkInformation namespace). The component allows you to determine if a network path to a particular host is available and whether the host is responding. It doesn't guarantee that a particular service is running on the server...
    Posted to Peter Foot (Weblog) by Anonymous on 10-01-2007
  • How To: Use the AuthenticationDialog

    Networking In The Hand 2.0 offers a new dialog which allows you to prompt the user for networking credentials. The dialog is designed for the best appearance depending on your platform, for example the screenshots below show both Windows Mobile 5.0 Pocket PC and Windows Mobile 6 Standard Landscape:-...
    Posted to Peter Foot (Weblog) by Anonymous on 09-28-2007
Page 1 of 1 (7 items)
Copyright © 2001-2013 In The Hand Ltd. All rights reserved. Terms of Use and Privacy Policy. OrcsWeb's Windows Cloud Server Hosting