Click here to Skip to main content
15,891,372 members
Home / Discussions / C#
   

C#

 
AnswerMessage Closed Pin
10-Nov-09 2:16
stancrm10-Nov-09 2:16 
GeneralRe: Icons Pin
Ersan Ercek10-Nov-09 6:12
Ersan Ercek10-Nov-09 6:12 
QuestionListView being buggy [modified] Pin
Xmen Real 10-Nov-09 1:53
professional Xmen Real 10-Nov-09 1:53 
AnswerMessage Closed Pin
10-Nov-09 2:01
stancrm10-Nov-09 2:01 
GeneralRe: ListView being buggy Pin
Xmen Real 10-Nov-09 2:03
professional Xmen Real 10-Nov-09 2:03 
GeneralMessage Closed Pin
10-Nov-09 2:07
stancrm10-Nov-09 2:07 
GeneralRe: ListView being buggy Pin
Xmen Real 10-Nov-09 2:08
professional Xmen Real 10-Nov-09 2:08 
QuestionC# WebBrowser control setting folder views window blank until right-click [modified] Pin
Wheels01210-Nov-09 1:50
Wheels01210-Nov-09 1:50 
Good morning.

I was wondering if anyone has come across this anomoly.

I have code to populate a WebBrowser control based on the folder address (e.g. C:\). This code works well and is as follows:

private void cboFolder_SelectedIndexChanged(object sender, EventArgs e)
        {
           if (cboFolder.SelectedIndex != -1)
            {
                Cursor.Current = Cursors.WaitCursor;
                SetProgressBarMarquee();
                lblLoading.Visible = true;
                progressBar1.Visible = true;
                Application.DoEvents(); 
                this.viewToolStripMenuItem.Enabled = true;
                cboSP_Site.SelectedIndex = -1;
                cboWS.SelectedIndex = -1;
                txtAddress.Text = cboFolder.SelectedValue.ToString();
                WebBrowser1.Url = new Uri(cboFolder.SelectedValue.ToString());
            }
        }

private void WebBrowser1_Navigated(object sender, WebBrowserNavigatedEventArgs e)
        {
            SetProgressBarContinuous();
            lblLoading.Visible = false;
            progressBar1.Visible = false;
            Cursor.Current = Cursors.Default;
        }


I used some code to set up the different folder views from the view menu. Everything seems to work well, but when I try to switch to details, the web browser window go blank until I right click and then it appears. Also periodically, the folder icons will not show up.

Any suggestions? Thank you, WHEELS

modified on Tuesday, November 10, 2009 8:01 AM

QuestionConvert Office 2007 Word document to PDF document Pin
mayurp610-Nov-09 1:13
mayurp610-Nov-09 1:13 
AnswerRe: Convert Office 2007 Word document to PDF document Pin
Russ-T10-Nov-09 2:51
Russ-T10-Nov-09 2:51 
GeneralRe: Convert Office 2007 Word document to PDF document Pin
mayurp610-Nov-09 21:24
mayurp610-Nov-09 21:24 
QuestionSymbols Pin
duminda198810-Nov-09 1:09
duminda198810-Nov-09 1:09 
AnswerRe: Symbols Pin
padmanabhan N10-Nov-09 1:23
padmanabhan N10-Nov-09 1:23 
Questionsql connection or another ???????????????? Pin
Mohamed El-Wehishy10-Nov-09 0:26
Mohamed El-Wehishy10-Nov-09 0:26 
Questiondatatable to grid Pin
Member 59031010-Nov-09 0:00
Member 59031010-Nov-09 0:00 
AnswerRe: datatable to grid Pin
dan!sh 10-Nov-09 1:20
professional dan!sh 10-Nov-09 1:20 
QuestionSQL error Pin
spankyleo1239-Nov-09 23:17
spankyleo1239-Nov-09 23:17 
AnswerRe: SQL error Pin
Shameel9-Nov-09 23:50
professionalShameel9-Nov-09 23:50 
GeneralRe: SQL error Pin
spankyleo12310-Nov-09 3:31
spankyleo12310-Nov-09 3:31 
GeneralRe: SQL error Pin
Pete O'Hanlon10-Nov-09 3:42
mvePete O'Hanlon10-Nov-09 3:42 
GeneralRe: SQL error Pin
spankyleo12310-Nov-09 3:46
spankyleo12310-Nov-09 3:46 
GeneralRe: SQL error Pin
Shameel10-Nov-09 7:24
professionalShameel10-Nov-09 7:24 
QuestionHide shape in work document through C# Pin
Pankaj Saha9-Nov-09 22:57
Pankaj Saha9-Nov-09 22:57 
Questionpanel Pin
farokhian9-Nov-09 22:06
farokhian9-Nov-09 22:06 
AnswerRe: panel Pin
The Man from U.N.C.L.E.9-Nov-09 22:28
The Man from U.N.C.L.E.9-Nov-09 22:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.