?
Solved

Using a web browser as a file box

Posted on 2014-03-07
6
Medium Priority
?
328 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 2000 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: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
If you haven’t already, I encourage you to read the first article (http://www.experts-exchange.com/articles/18680/An-Introduction-to-R-Programming-and-R-Studio.html) in my series to gain a basic foundation of R and R Studio.  You will also find the …
The viewer will learn how to implement Singleton Design Pattern in Java.
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
Suggested Courses

752 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