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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Display a Windows Folder in an IFRAME

Status
Not open for further replies.

FesterSXS

Programmer
Feb 4, 2002
2,196
GB
On one of our internal sites within the company, I have been asked to show a Windows folder in a scrollable area on the right-hand side of one of the pages. I have done this using an IFRAME but the folder contents are all displaying with large icons. Does anyone have any ideas as to how I could make the small icons show instead?

Many thanks

Tony
reddot.gif WIDTH=500 HEIGHT=2 VSPACE=3

 
You'd have to set it in your folder options first. Otherwise, you *might* be able to embed an ActiveX control to display small icons, being as you're using the HTML file locally. I'll reply back when I look into it deeper.
 

I'm sure I've seen this done using an ActiveX control... I just cannot find the information about it.

Will let you know if I find it.

Dan
 
I think this is the code, but apparently XP doesn't have the ShellListView anymore? Not entirely sure but it won't work for me on XP Pro SP1. I do know that this control is used on Win98SE, because I used to play with it in the folder.htt files. Anyway:
Code:
<object id="FileList" classid="clsid:1820FED0-473E-11D0-A96C-00C04FD705A2">
<param name="Location" value="C:">
<param name="ViewMode" value="2">
</object>
ViewMode 2 is supposed to be small icons. I think ViewMode 3 is the list format.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top