The Sandbox Thread

2 posts

Forum Read Only

This forum has been made read only by the site admins. No new threads or comments can be added.

How to display "special folders" in the .NET WebBrowser control

Back to Forum: The Sandbox
  • User profile image
    AndreasM

    With the .NET Framework 2.0, Microsoft introduced the WebBrowser control, a managed code wrapper for the WebBrowser ActiveX control. Unfortunately, compared to the ActiveX version, the .NET version of the control lacks some functionality. You can navigate websites, local HTML documents and folder locations using respective protocol handler prefixes ("http://", "file://"). What you cannot do with the .NET WebBrowser control is navigate special folders like "My Computer" or the control panel, as these folders are not identified by a path but by CSIDLs. So my goal was to extend the existing WebBrowser class to provide this ability.

    I put together a small sample project to demonstrate the capabilities of my WebBrowserExt control. This is a Visual Studio 2008 project, so you need at least the free Visual C# 2008 Express Edition to open it.

    See my original blogpost for more info or just try out the sample.

    Greetings

    AndreasM

  • User profile image
    littleguru

    Cool! Looks awesome Smiley thank you for this example.

Conversation locked

This conversation has been locked by the site admins. No new comments can be made.