Webbrowser with Details view C#

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Bcool
    New Member
    • May 2008
    • 2

    Webbrowser with Details view C#

    Hi,

    Info
    I'm building a simple folder navigation application in C#. I added a webbrowser and a button to the form. if button1 is clicked the webbrowser should navigate to C:\

    Code:
    private void button1_Click(object sender, EventArgs e)
          {
             webBrowser1.Navigate(@"C:\");
          }
    Question
    when i run the application the folders&files are sorted in tiles view, i want them to be sorted in details view. any suggestions on how to accomplish that ?

    Thanks in advance !!!!
  • shweta123
    Recognized Expert Contributor
    • Nov 2006
    • 692

    #2
    Hi,

    One method to do this is to go to the windows explorer , go to the Views and change view to "details view".

    Originally posted by Bcool
    Hi,

    Info
    I'm building a simple folder navigation application in C#. I added a webbrowser and a button to the form. if button1 is clicked the webbrowser should navigate to C:\

    Code:
    private void button1_Click(object sender, EventArgs e)
          {
             webBrowser1.Navigate(@"C:\");
          }
    Question
    when i run the application the folders&files are sorted in tiles view, i want them to be sorted in details view. any suggestions on how to accomplish that ?

    Thanks in advance !!!!

    Comment

    • Bcool
      New Member
      • May 2008
      • 2

      #3
      Originally posted by shweta123
      Hi,

      One method to do this is to go to the windows explorer , go to the Views and change view to "details view".
      Thanks for the quick reply,
      If i set the views to "Details view " in windows explorer and start the application
      i still get a different view. Is there anyway to achieve this with code ?

      I appreciate your time and effort!

      Comment

      Working...