Results 1 to 5 of 5

Thread: WebBrowser as a File Explorer

  1. #1

    Thread Starter
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256

    WebBrowser as a File Explorer

    I'm trying to use the WebBrowser control as a file explorer, yet I can't figure how to navigate to My Computer. If I have it navigate to it, it'll search for 'My Computer' instead.

    Also, how do you set the View inside it, such as Large Icons, Small Icons, List, and Report?

    Any help would be much appreciated.
    My evil laugh has a squeak in it.

    kristopherwilson.com

  2. #2

    Thread Starter
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    Also - is there a way I can keep it from opening folders in a new window?
    My evil laugh has a squeak in it.

    kristopherwilson.com

  3. #3
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    To navigate to My Computer...
    VB Code:
    1. WebBrowser1.Navigate "::{20D04FE0-3AEA-1069-A2D8-08002B30309D}"

    Don't know how to change the view though.
    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

  4. #4

    Thread Starter
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    Originally posted by crptcblade
    To navigate to My Computer...
    VB Code:
    1. WebBrowser1.Navigate "::{20D04FE0-3AEA-1069-A2D8-08002B30309D}"

    Don't know how to change the view though.
    That loads My Computer, but when I double click on an icon, it doesn't navigate to the drive?
    My evil laugh has a squeak in it.

    kristopherwilson.com

  5. #5

    Thread Starter
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    Anyone know any good File Explorer controls that maybe uses a ListView or a TreeView, or both?

    I'm getting tempted to just make my own.
    My evil laugh has a squeak in it.

    kristopherwilson.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width