sorry, i forgot the Link http://msdn2.microsoft.com/de-de/library/system.windows.forms.listview.sorting(VS.80).aspx[] Greetings cola 1973 :)
C
cola1973
@cola1973
Posts
-
SQL Database pictures in datagridview -
SQL Database pictures in datagridviewHi,
two --> how do I get the picture to display in the datagridview?
maybe this can help you
-
Changing colors of listview items..Hi, you can use :
listView1.Items[i].SubItems[0].BackColor = System.Drawing.Color.Red;
And this must be false, else the total area of the line is in the same color.
listView1.FullRowSelect = false;
Greetings Cola 1973 :)
-
Create Axwebbrowser with new Tabpage (VS2005)Hi , I am a beginner in C# and just looking for a function to create dynamic several Webbrowser in a Tabpage. I use the Microsoft Webbrowser AxSHDocVw.AxWebBrowser Control in my application. If i invoke the void a firsttime it runs, but at the second click I get a errormessage Exception Typ : System.Windows.Forms.AxHost+InvalidActiveXStateException This is my Code:
void myTabPageAxWebbbrowser() { TabPage myTabPg = new TabPage(); AxSHDocVw.AxWebBrowser myWB = new AxSHDocVw.AxWebBrowser(); object empty = System.Reflection.Missing.Value; System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Form1)); myTabPg.SuspendLayout(); this.tabControl1.Controls.Add(myTabPg); myTabPg.Controls.Add(myWB); myTabPg.Location = new System.Drawing.Point(10, 30); myTabPg.Name = "MyNewPage"; myTabPg.Padding = new System.Windows.Forms.Padding(3); myTabPg.Size = new System.Drawing.Size(650, 500); myTabPg.TabIndex = 1; myTabPg.Text = "MyNewTab"; myTabPg.UseVisualStyleBackColor = true; myTabPg.ResumeLayout(false); myWB.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("myWB.OcxState"))); myWB.Dock = System.Windows.Forms.DockStyle.Fill; Debug.WriteLine(myWB.OcxState.ToString()); myWB.Navigate("c:\\test.doc", ref empty, ref empty, ref empty, ref empty);// } Does anybody know how can I solve the Problem? Thanks in Advance Cola 1973 :)