.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 WebBrowse[......]

Read More…

.NET 中如何捕获 WebBrowser 控件的击键事件(KeyPress/KeyDown/KeyUp)?

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

作者:牧山道人
原文地址:http://www.seeksunslowly.com/dot-net-捕获-webbrowser-控件-击键事件-keypress-keydown-keyup
转载请注明出处,谢谢。
_____________________________________
有时,我们需要处理用户在设计模式的 WebBrowser 控件中的击键事件(比如用于判断 WebBrowser 内容是否发生变化),但遍寻所有 WebBrowser 支持的事件,没有发现 KeyPress/KeyDown/KeyUp 事件。
WebBrowser 其实就是一个 IE,其本身相当复杂且融于 Fo[......]

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 not Sh[......]

Read More…

VB .NET 工具栏按钮(ToolStripButton)快捷键设置方法建议及注意事项(特别是当窗体中有 WebBrowser 控件时)

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

作者:牧山道人
原文地址:http://www.seeksunslowly.com/vb-net-toolstripbutton-shortcuts-webbrowser-sc
转载请注明出处,谢谢。
_____________________________________
因为工具栏按钮(ToolStripButton)本身并不支持快捷键,即没有 ShortcutKeys 属性,所以需要单独编码实现。
常用方式有两种,一是通过 Form 的 KeyDown/KeyUp 事件实现(需要将 Form 的 KeyPreview 属性设为 True);二是通过菜单项(ToolStripMenuIt[......]

Read More…

韩国流量谜之破解

Posted by NosaLee in Shareware, 日志 (Journal), 特有 IT (Special IT) on 13-01-2013.

作者:牧山道人
原文地址:http://www.seeksunslowly.com/韩国流量谜之破解
转载请注明出处,谢谢。
_____________________________________
本道有款小软名曰 PDF to JPG,自 2012 年 7 月底发布以来,超过 95% 的流量来自韩国。
Google 分析以及 awstats 后台均无法考证其确切来源,只能粗略供计是被韩国某大站主动发布/转载了,但由于缺乏韩国推广经验,具体是什么站,无从考证。
当然,韩国客户(或亚洲客户)的转换率(下载:购买)是极低的,大致可算作 2000:1。不过,由于基数较大,仍然有些来自韩国人的订单[......]

Read More…

The right solution of “Microsoft Office Word/Excel/PowerPoint/Access has not been installed for the current user” error.

Posted by NosaLee in Windows & PC Software on 10-12-2012.

Author: Nosa Lee
Original Address: http://www.seeksunslowly.com/right-solution-word-excel-powerpoint-access-not-installed-current-user-error
To reprint this article, please indicate the source, thank you.
_____________________________________
Sometimes, when we run Word, Excel, PowerPoint, Access or[......]

Read More…

提示“当前用户没有安装 Microsoft Office Word/Excel/PowerPoint/Access ……”的正确解决方法!

Posted by NosaLee in Windows & PC Software on 10-12-2012.

作者:牧山道人
原文地址:http://www.seeksunslowly.com/当前用户没有安装-office-word-excel-powerpoint-access
转载请注明出处,谢谢。
_____________________________________
有时,尽管我们用管理员账户运行 Word、Excel、PowerPoint、Access 或其他微软 Office 产品会收到类似于“当前用户没有安装 Microsoft Office Word/Excel/PowerPoint/Access ……”的提示。
这不扯淡吗?明明装了说没装。更悲剧的是,也不能成功重装(貌似会报 [......]

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 WebBrowse[......]

Read More…

如何解决 .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+ 浏览器下可编辑:
123456Private Sub wb_DocumentCompleted(ByVal sender As Object, _
           [......]

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 every time,[......]

Read More…