Solved

Using a web browser as a file box

Posted on 2014-03-07
6
317 Views
Last Modified: 2014-03-11
Experts, I need to use a web browser to display some files in my project. I have two questions.

1. How can i change the view style at runtime? For example details or small icons.
2. In the attached photo you can see the header of window. How can I get rid of that?
0
Comment
Question by:Basicfarmer
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
6 Comments
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 39914519
0
 

Author Comment

by:Basicfarmer
ID: 39915012
I want to use the explorer because it suits my needs with virtually no coding. All i need to do is webbrowser1.navigate("\\MyPath\MyFolder"). There will not be any navigation by the user. It will simply display files that are created for specific customer. The folder that it displays will be for that customer file. The only thing i will do is put a back button in the event that the user creates a sub folder. The only thing i want to change about this is allow the user to change the view style. I would like to get rid of the header but if it is not possible then I will live with it.
0
 

Author Comment

by:Basicfarmer
ID: 39919589
I misspoke earlier. The user can already change the view style but i need to change it in code.
0
 
LVL 26

Accepted Solution

by:
EddieShipman earned 500 total points
ID: 39920670
The views you get when you navigate to a file:/// url are browser specific. IE shows it differently than Chrome which shows it differently than Firefox. Look at the source code of the window and you'll see a lot of browser specific code. The only way to change the "view" is to write a URL handler to intercept the file:/// url and render it using a control of your choice.
0
 

Author Closing Comment

by:Basicfarmer
ID: 39921076
Thanks for the feedback, this is something i can work with.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question