C# VB .NET: why the fore/back color setting of ListView SubItem does not work?

Posted by Admin L in .NET Programming on 29-06-2012. Tags: , , , , , , , , , , ,

Author: Nosa Lee
Original Address: https://www.seeksunslowly.com/c-sharp-vb-net-why-the-foreback-color-setting-of-listview-subitem-does-not-work
To reprint this article, please indicate the source, thank you.
_____________________________________

Today I need to set the foreground color for a[……]

Read More…

C# VB .NET 中 ListView SubItem 颜色设置无效怎么解决?

Posted by Admin L in .NET Programming on 29-06-2012. Tags: , , , , , , , , , , ,

作者:牧山道人
原文地址:https://www.seeksunslowly.com/c-sharp-vb-net-中-listview-subitem-颜色设置无效怎么解决
转载请注明出处,谢谢。
_____________________________________

今天需要在 Details View 模式的 ListView 中设置 SubItem 文字前景色,幸运的是 ListViewSubItem 类有 ForeColor 属性,于是直接写下:

lvi.SubItems(2).ForeColor = Color.Red ‘ 其中 lvi 为 一个 ListVi[……]

Read More…

How to scroll to the specified row/item in ListView control of .NET and VB6

Posted by Admin L in .NET Programming, VB6 Programming on 25-04-2012. Tags: ,

Author: Nosa Lee
Original Address: https://www.seeksunslowly.com/dot-net-vb6-listview-scroll-row
To reprint this article, please indicate the source, thank you.
_____________________________________

Sometimes, we need to scroll a row/item to a visual position in ListView control (.NET: View pr[……]

Read More…

How to get folder size in .NET

Posted by Admin L in .NET Programming, Common Programming on 24-04-2012. Tags: ,

Author: Nosa Lee
Original Address: https://www.seeksunslowly.com/dot-net-get-folder-size
To reprint this article, please indicate the source, thank you.
_____________________________________

The .NET built-in assemblies (I use .NET 3.5) do not provide a way to get the folder/directory size dir[……]

Read More…

Solved: read/write excel file too slowly in C#, Java, VB, Delphi, VC and other programming languages

Posted by Admin L in .NET Programming, Common Programming on 08-04-2012. Tags:

Author: Nosa Lee
Original Address: https://www.seeksunslowly.com/operation-excel-xlsx-slowly
To reprint this article, please indicate the source, thank you.
_____________________________________

Recently, I tried to import data from Excel to a ListView with Detail view in .NET, there are about[……]

Read More…

Completely Solve .NET ListView Flickering Problem

Posted by Admin L in .NET Programming on 06-04-2012. Tags:

Author: Nosa Lee
Original Address: https://www.seeksunslowly.com/dot-net-listview-flicker-resolve
To reprint this article, please indicate the source, thank you.
_____________________________________

When I add, delete or modify ListView’s data (Items) with a high-frequency, the ListView contr[……]

Read More…

An easy way to read/get/retrieve data from XML file by specified element/node/field name in .NET

Posted by Admin L in .NET Programming, Web Programming & Resources on 29-09-2011. Tags:

Author: Nosa Lee
Original Address: https://www.seeksunslowly.com/vb2008-dot-net-read-xml-data-by-element-field-node-name
To reprint this article, please indicate the source, thank you.
_____________________________________

Today, I first need to read data from XML file, think about file form[……]

Read More…

VB2008 Coding Suggestion 1

Posted by Admin L in .NET Programming on 18-08-2011. Tags:

Author: Nosa Lee
Original Address: https://www.seeksunslowly.com/vb2008-coding-suggestion-1
To reprint this article, please indicate the source, thank you.
_____________________________________

Suggestion: Try to use .NET classes, and avoid using the classes that under Microsoft.VisualBasic[……]

Read More…

A very important experience: how to make the compatible code for every .NET in one copy and deploy one copy installation to each .NET framework?

Posted by Admin L in .NET Programming on 18-08-2011. Tags:

Author: Nosa Lee
Original Address: https://www.seeksunslowly.com/do-not-application-compatible-deployment
To reprint this article, please indicate the source, thank you.
_____________________________________

You’ll want to more people to use your software with worked hard! But .NET framework h[……]

Read More…

The correct usage of simulating key pressing (SendKeys.Send()) in VB2008

Posted by Admin L in .NET Programming on 16-08-2011. Tags:

Author: Nosa Lee
Original Address: https://www.seeksunslowly.com/vb2008-sendkeys
To reprint this article, please indicate the source, thank you.
_____________________________________

The method of sending key pressing to current input area of Form in VB2008 is similar to VB6, but has slight di[……]

Read More…