参考
ms-help://MS.VSCC/MS.MSDNVS.2052/cpref/html/frlrfsystemwebihttphandlerclasstopic.htm
ms-help://MS.VSCC/MS.MSDNVS.2052/cpref/html/frlrfsystemwebihttphandlerclasstopic.htm
解决方案 »
- WebBrowser的URL
- C# WinForm: 如 何 改 变 RichTextBox 滚 动 条 的 样 式
- visual studio 2008 调试结束后假死,无反应,有人遇到过吗?!
- 急呀!DataGrid中模板列中插入用户控件的绑定问题,帮忙解决一下......
- !求助“将 nvarchar 值 ''1','10','11','3'' 转换为数据类型为 int 的列时发生语法错误。”
- 在Web里怎样用后台程序写可视化组件
- 关于框架页面的一个问题?急!!!
- =为什么编译后可以运行,在编辑环境下却不可以运行呢。==
- 每天定时去女友空间留言工具
- httpwebreuqest 取cookie的问题!
- 急!!!!一个代码转换问题,vb.net转换成C#代码?
- 如何将中文语音开发包SimpChineseSpeechPackage添加到c#程序中??
Declare Function GetWindowText Lib "user32" Alias "GetWindowTextA" _
(ByVal Hwnd As Long, ByVal lpString As String, ByVal cch As Long) As LongFunction ActiveWindowCaption() As String
Dim strCaption As String
Dim lngLen As Long
' 创建由空字符填充的字符串。
strCaption = String$(255, vbNullChar)
' 返回字符串长度。
lngLen = Len(strCaption) ' 调用 GetActiveWindow,返回活动窗口的句柄,
' 把句柄连同字符串和字符串长度一起传递给 GetWindowText。
If (GetWindowText(GetActiveWindow, strCaption, lngLen) > 0) Then
' 返回 Windows 写到字符串中的值。
ActiveWindowCaption = strCaption
End If
End Function