怎样把整个屏幕拷贝到剪贴板? 用PrtSc Sys Rq键就得啦 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 事实上,这是摸拟按下Print Screen的作法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 = 1Const theForm = 0Private Sub Command1_Click()Call keybd_event(vbKeySnapshot, theForm, 0, 0)注释:若theForm改成theScreen则Copy整个ScreenDoEventsPicture1.Picture = Clipboard.GetData(vbCFBitmap)End Sub 用VB的SendKeys函数,请看帮助文件 过程调用执行问题 代理服务器程序,希望高手还指点一下 怎样把Dll加入到网页中? VB如何访问SQL数据库 求教!急!急!急!未设置对象变量或With block变量问题 已经有某窗口中某孔件的hwnd,如果发送消息控制??? 請教各位高手listbox控件的簡單問題 有关自写控件的问题 达人进,关于循环的问题 如何知道用户调整了MSHFlexGrid的列宽 汉字的编码数据库谁有??? 有关数据库连接的问题????
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 = 0Private Sub Command1_Click()
Call keybd_event(vbKeySnapshot, theForm, 0, 0)
注释:若theForm改成theScreen则Copy整个Screen
DoEvents
Picture1.Picture = Clipboard.GetData(vbCFBitmap)
End Sub