.NET: How to capture the keystroke events (KeyPress/KeyDown/KeyUp) in WebBrowser?

Posted by NosaLee in .NET Programming on 28-03-2013. Tags: , , , , , , , , , ,

Author: Nosa Lee
Original Address: http://www.seeksunslowly.com/dot-net-capture-keystroke-events-keypress-keydown-keyup-webbrowser
To reprint this article, please indicate the source, thank you.
_____________________________________

Sometimes, we need to process the keystroke events in the W[……]

Read More…

[……]

Read More…

How to properly set the shortcut key of ToolStripButton in VB .NET? Specially, there is the WebBrowser control in the form. And some important notes about this.

Posted by NosaLee in .NET Programming on 26-03-2013. Tags: , , , , , , , , , , ,

Author: Nosa Lee
Original Address: http://www.seeksunslowly.com/vb-net-toolstripbutton-shortcuts-webbrowser
To reprint this article, please indicate the source, thank you.
_____________________________________

In .NET, the ToolStripButton control does not support shortcut key, that is, it has[……]

Read More…

Why cannot edit/input text in .NET WebBrowser control on IE9+ system?

Posted by NosaLee in .NET Programming on 19-11-2012. Tags: , , , , , , , , , , ,

Author: Nosa Lee
Original Address: http://www.seeksunslowly.com/edit-input-text-dot-net-webbrowser-control-ie9
To reprint this article, please indicate the source, thank you.
_____________________________________

For instance: your WebBrowser is named as wb, then the following code can let Web[……]

Read More…

How to use alias for the common use constant in .NET

Posted by NosaLee in .NET Programming on 19-11-2012. Tags: , , , , , , ,

Author: Nosa Lee
Original Address: http://www.seeksunslowly.com/dot-net-use-alias-common-constant
To reprint this article, please indicate the source, thank you.
_____________________________________

For example in VB .NET:
Such as we need to write the string like MsgBoxStyle.Information ever[……]

Read More…

VB .NET DateAdd function has serious problems, I suggest you do not use it again.

Posted by NosaLee in .NET Programming on 30-08-2012. Tags: , , , , ,

Author: Nosa Lee
Original Address: http://www.seeksunslowly.com/vb-net-dateadd-function-serious-problems-suggest-not-use-again
To reprint this article, please indicate the source, thank you.
_____________________________________

Let’s take a look at DateAdd’s declaration first.
[cc lang=”vbne[……]

Read More…

How to determine a Form is opened by which Form in .NET?

Posted by NosaLee in .NET Programming on 27-08-2012. Tags: , , , , , , , ,

Author: Nosa Lee
Original Address: http://www.seeksunslowly.com/how-to-determine-a-form-is-opened-by-which-form-in-net
To reprint this article, please indicate the source, thank you.
_____________________________________

Usage Scenarios
For instance: there is a public FormA that used to input[……]

Read More…

How to do when VB. NET API function or external DLL functions work abnormally?

Posted by NosaLee in .NET Programming on 27-07-2012. Tags: , , , , , , , ,

Author: Nosa Lee Original Address: http://www.seeksunslowly.com/how-to-do-when-vb-net-api-function-or-external-dll-functions-work-abnormally To reprint this article, please indicate the source, thank you. _____________________________________   Sometimes, you may find that an API fun[……]

Read More…

VB .NET: how to use wildcards to delete files in batch mode?

Posted by NosaLee in .NET Programming on 27-07-2012. Tags: , , , , , , , ,

Author: Nosa Lee Original Address: http://www.seeksunslowly.com/vb-net-how-to-use-wildcards-to-delete-files-in-batch-mode To reprint this article, please indicate the source, thank you. _____________________________________   In the programming work, we usually need to use wildcards to d[……]

Read More…

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

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

Author: Nosa Lee
Original Address: http://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 S[……]

Read More…

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

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

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

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

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

Read More…