Results 1 to 3 of 3

Thread: webbrowser control acting as file explorer

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2001
    Location
    England
    Posts
    13

    webbrowser control acting as file explorer

    Folks,

    I need to add a file explorer into my app and am trying to use the webbrowser control

    if I go

    Webbrowser1.Navigate("C:\")

    it displays the files and folders fine,
    however when you click a folder it pops up another window that does not belong to my app (like clicking on my computer) which i don't want.

    This is the same behaviour as Internet explorer, but If you open up Internet explorer type C:\ in the url and click View\Explorer Bar\Folders then it behaves just like file explorer

    Is there any way of turning on the folders bar in the webbrowser control? maybe using a api (send message or something similar).

    This has been driving me insane for days! Please help.

    Cheers
    jf

  2. #2
    Frenzied Member mlewis's Avatar
    Join Date
    Sep 2000
    Posts
    1,226
    Why are you using WebBrowser to do file stuff? Its much easier to use vb's built in drivelistbox, filelistbox, directorylistbox controls.
    M. Lewis
    Pi-Q Software
    How many mouse clicks does it take to cook breakfast?

    Blargh! I am dead!

  3. #3
    Frenzied Member mlewis's Avatar
    Join Date
    Sep 2000
    Posts
    1,226
    Ah--got it. IE uses its own special control to do the folder list. its not part of the WebBrowser control. You'd need to make your own as well.
    M. Lewis
    Pi-Q Software
    How many mouse clicks does it take to cook breakfast?

    Blargh! I am dead!

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