Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. C# WebBrowser changing to detail folder view.

C# WebBrowser changing to detail folder view.

Scheduled Pinned Locked Moved C#
csharptutorialquestion
1 Posts 1 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Offline
    W Offline
    Wheels012
    wrote on last edited by
    #1

    Good afternoon. I have the following code:

    private void cboFolder_SelectedIndexChanged(object sender, EventArgs e)
    {
    if (cboFolder.SelectedValue != null)//&& cboFolder.SelectedValue.ToString() != "-1")
    {
    Cursor.Current = Cursors.WaitCursor;
    SetProgressBarMarquee();
    lblLoading.Visible = true;
    progressBar1.Visible = true;
    this.viewToolStripMenuItem.Enabled = true;
    cboSP_Site.SelectedIndex = -1;
    cboWS.SelectedIndex = -1;
    txtAddress.Text = cboFolder.SelectedValue.ToString();
    WebBrowser1.Focus();
    WebBrowser1.Url = new Uri(cboFolder.SelectedValue.ToString());
    SendKeys.Send("+{F10}(VD)");
    }
    }

    private void SetProgressBarMarquee()
    {
    this.progressBar1.Style = ProgressBarStyle.Marquee;
    this.progressBar1.MarqueeAnimationSpeed = 50;
    }

    When I select one of the items in the combo box the folders display in detail format, but others do not. On the second selection for example temp folder it displays as details. Any suggestions? WHEELS

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups