Archives / 2008 / December
  • Get list of installed printers using C# WMI

    Well, almost about an year back I write an application which search for the available printer on the server and do some operation accordingly. Today while browsing my code library I found that small test application. So I thought it would be good to share this with the community.

  • ASP menu to show files in a folder

    In this post, we will see how can we fill the Asp Menu by specifying folder instead of some other data source. Following is the folder structure which this code is supported
    -> Folder 1 -> Files
    -> Folder 2 -> Files
    -> Folder 3 -> Files
    I mean, if there is another folder in Folder 1 or Folder 2 or Folder 3. The code will not detect because it is not recursive.
    So Let’s get down to the code