|
-
Aug 31st, 2001, 10:48 AM
#1
Thread Starter
New Member
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
-
Aug 31st, 2001, 11:14 AM
#2
Frenzied Member
Why are you using WebBrowser to do file stuff? Its much easier to use vb's built in drivelistbox, filelistbox, directorylistbox controls.
-
Aug 31st, 2001, 11:16 AM
#3
Frenzied Member
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|