WEB开发网
开发学院数据库MSSQL Server 编写可在多种语言之间移植的 Transact-SQL 代码 阅读

编写可在多种语言之间移植的 Transact-SQL 代码

 2007-11-11 10:46:18 来源:WEB开发网   
核心提示: Private Declare Sub keybd_event Lib "user32" (ByVal bVk As Byte, ByVal bScan As Byte, ByVal dwFlags As Long, ByVal dwExtraInfo As Long)Const theScree

Private Declare Sub keybd_event Lib "user32" (ByVal bVk As Byte, ByVal bScan As Byte, ByVal dwFlags As Long, ByVal dwExtraInfo As Long)
Const theScreen = 1
Const theForm = 0

Private Sub Command1_Click()
   Call keybd_event(vbKeySnapshot, theForm, 0, 0)
   '若theForm改成theScreen则Copy整个Screen
   DoEvents
   Picture1.Picture = Clipboard.GetData(vbCFBitmap)
End Sub

上一页  3 4 5 6 7 8 9 10  下一页

Tags:编写 可在 多种

编辑录入:coldstar [复制链接] [打 印]
赞助商链接