Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using WebBrowser as Explorer Folder View... how to set the View Mode? 1

Status
Not open for further replies.

CubeE101

Programmer
Joined
Nov 19, 2002
Messages
1,492
Location
US
OK, this will most likely be directed towards strongm, but if anyone else knows the answer, please feel free to jump in...

When using the WebBrowser control to access Explorer Folders...

How do you set the display mode...
* Icons
* List
* Details

It comes up with Icons by default everytime...

I would like to set it up, somewhere in the options, to have radio buttons to select the default view...
But I'm not sure how to set the actual view in the control...

Also, on a side note, is there any way to hide the blue XP folder options side panel?
(this is a much lower priority)

Thanks in advance!!!
-Josh


PROGRAMMER: (n) Red-eyed, mumbling mammal capable of conversing with inanimate objects.
 
Display mode:
Here's are the clues...

Public Enum FolderViewMode
FVM_ICON = 1
FVM_SMALLICON = 2
FVM_LIST = 3
fvm_details = 4
FVM_THUMBNAIL = 5
FVM_TILE = 6
FVM_THUMBSTRIP = 7
End Enum


WebBrowser1.Document.CurrentViewMode
 
THANKS!!!
Works Great!!!




PROGRAMMER: (n) Red-eyed, mumbling mammal capable of conversing with inanimate objects.
 
Hi,
I am using Web Browser Control in my VB App, to access the network computer. That's cool, but what i actually need to do, is that once i get to the target comp., i need to get to the folder which has an access database and other data folders for my web app. Now, i need to retrieve this entire path, beginning from the Computer name to the target folder which has the database and other data folders.
e.g. Say i type in the address 10.201.66.5 and there is a folder in the C drive called sm/smdata/sm.mdb. I need the full path from the computer name upto smdata, and i need to register it in a registry of the client computer, i.e. from where i am running this app. How do i get this path??
 
ummm... Not sure what that has to do with View Mode...

But you might want to start here...
thread222-965426


PROGRAMMER: (n) Red-eyed, mumbling mammal capable of conversing with inanimate objects.
 
Sorry i am new here, i am trying to post a new question, and i think it got posted here. Went to new thread,and put this question again, can't see the question i posted?? How would i know what's going on??
 
I dunno...

To make a new thread, just Post at the bottom of a Forum (where all the threads are listed)...

(Tek-Tips has been acting a little screwy lately...)

Good Luck,
-Josh


PROGRAMMER: (n) Red-eyed, mumbling mammal capable of conversing with inanimate objects.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top