如何解决 .NET WebBrowser 控件在 IE9+ 浏览器下不能编辑/输入的问题?

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

作者:牧山道人
原文地址:http://www.seeksunslowly.com/如何解决-net-webbrowser-控件-ie9-浏览器不能编辑输入的问题
转载请注明出处,谢谢。
_____________________________________

假如 WebBrowser 控件名为 wb,则以下代码即可令 WebBrowser 在 IE9+ 浏览器下可编辑:

[cc lang=”vbnet”]
Private Sub wb_DocumentCompleted(ByVal sender As Object, _[……]

Read More…

[……]

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…

.NET 如何对常用常量使用别名?

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

作者:牧山道人
原文地址:http://www.seeksunslowly.com/net-如何对常用常量使用别名
转载请注明出处,谢谢。
_____________________________________

以 VB .NET 为例:
比如:每次需要写 MsgBoxStyle.Information 这样的字符串,若嫌 MsgBoxStyle 太长,可以使用别名(其实写起来不会慢,主要是占空间)。
用法:
Imports MBS = Microsoft.VisualBasic.MsgBoxStyle
则在对应模组中可以直接使用 MSB.Information 来代替[……]

Read More…

where is .net framework 4.5 installed?

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

Author: Nosa Lee
Original Address: http://www.seeksunslowly.com/where-is-net-framework-4-5-installed
To reprint this article, please indicate the source, thank you.
_____________________________________

Recently, Microsoft has published .NET Framework version 4.5, in order to test the compatib[……]

Read More…

.NET Framework 4.5 安装到哪了?

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

作者:牧山道人
原文地址:http://www.seeksunslowly.com/net-framework-4-5-安装到哪了
转载请注明出处,谢谢。
_____________________________________

微软最近发布了 .NET Framework 4.5 版本,为了测试产品兼容性,本道也装了一个。

但是很奇怪,装上后却在 X:\Windows\Microsoft.NET\Framework 下找不到对应版本目录,仍然只有 v1.0.x, v1.1.x, v2.0.x, v3.0, v3.5, v4.0.x,就是没有 v4.5 或 v4.5.x 目[……]

Read More…

The final way to remove VMWare menu from Visual Studio

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

Author: Nosa Lee
Original Address: http://www.seeksunslowly.com/final-way-remove-vmware-menu-from-visual-studio
To reprint this article, please indicate the source, thank you.
_____________________________________

Hello everyone,

As you know, once installed VMWare, Visual Studio’s menu bar[……]

Read More…

Visual Studio 中去掉 VMWare 菜单的终极方法

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

作者:牧山道人
原文地址:http://www.seeksunslowly.com/visual-studio-中去掉-vmware-菜单的终极方法
转载请注明出处,谢谢。
_____________________________________

大家好,话说装了 VMWare 后,Visual Studio 菜单栏便出现了 VMWare 菜单。
据说,这会影响 VS 启动速度,但现在电脑很快,有多大影响本道倒不清楚,但作为处女座的人,肯定不会容许用不上的菜单一直挂在那里。

百度 Google Bing 了半天,老实说,真没人解决这个问题,不过他们提到的方法或许对你合用,[……]

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…

VB .NET 的 DateAdd 函数存在严重问题,建议不再使用

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

作者:牧山道人
原文地址:http://www.seeksunslowly.com/vb-net-的-dateadd-函数存在严重问题-建议不再使用
转载请注明出处,谢谢。
_____________________________________

我们先来看 DateAdd 的函数原型
[cc lang=”vbnet”]
Public Function DateAdd(ByVal Interval As Microsoft.VisualBasic.DateInterval, _
ByVal Number As Double,[……]

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…