vb.net 类似qq截图?

chdf535 2008-11-06 05:00:27
自己不能完成类似QQ截图的功能。网上找,VB.NET 资料很少,请各位老大赐教
...全文
720 23 打赏 收藏 转发到动态 举报
写回复
用AI写文章
23 条回复
切换为时间正序
请发表友善的回复…
发表回复
MOJIN1352 2012-04-24
  • 打赏
  • 举报
回复
不懂啊,学习
huluang 2010-04-15
  • 打赏
  • 举报
回复
不懂啊,学习中。
mygod525 2009-05-27
  • 打赏
  • 举报
回复
看不懂
JeffChung 2008-11-10
  • 打赏
  • 举报
回复
[Quote=引用 18 楼 51Crack 的回复:]
引用 16 楼 51Crack 的回复:
VB.NET code
Public Declare Function ZhuaTu1 Lib "CameraDLL.dll" Alias "CameraSubArea" (ByVal handle As Integer) As Integer
Public Declare Function ZhuaTu2 Lib "CameraDLL.dll" Alias "CameraWindowLikeSpy" () As Integer

调用:
ZhuaTu1(me.handle.toint32)
ZhuaTu2()
[/Quote]

就是调用CameraSubArea,不过并不是所有版本的CameraDll.dll都能正常调用
如果16楼的dll不能用你找我
51Crack 2008-11-10
  • 打赏
  • 举报
回复
[Quote=引用 16 楼 51Crack 的回复:]
VB.NET code
Public Declare Function ZhuaTu1 Lib "CameraDLL.dll" Alias "CameraSubArea" (ByVal handle As Integer) As Integer
Public Declare Function ZhuaTu2 Lib "CameraDLL.dll" Alias "CameraWindowLikeSpy" () As Integer
[/Quote]
调用:
ZhuaTu1(me.handle.toint32)
ZhuaTu2()
outstand 2008-11-10
  • 打赏
  • 举报
回复
比较复杂
josephSC 2008-11-09
  • 打赏
  • 举报
回复
收藏~~
51Crack 2008-11-09
  • 打赏
  • 举报
回复

Public Declare Function ZhuaTu1 Lib "CameraDLL.dll" Alias "CameraSubArea" (ByVal handle As Integer) As Integer
Public Declare Function ZhuaTu2 Lib "CameraDLL.dll" Alias "CameraWindowLikeSpy" () As Integer

DLL文件下载
skigil 2008-11-08
  • 打赏
  • 举报
回复
CameraDll.dll是加密的,用不了
明天上传给你一个完整的
wzuomin 2008-11-08
  • 打赏
  • 举报
回复
学习
deeeeep 2008-11-08
  • 打赏
  • 举报
回复
mark
mjjzg 2008-11-07
  • 打赏
  • 举报
回复
学习
顶一下,以表支持
chdf535 2008-11-07
  • 打赏
  • 举报
回复
请问"风中聆听"如何调用CameraDll.dll,

把图片保存的制定的目录daquzi@163.com
skigil 2008-11-07
  • 打赏
  • 举报
回复
以上二位老大把我上传的东东给复制下来了哈,谢谢啊
我出了个新版本,不过现在用的是工作电脑,下次重新上传
yanlongwuhui 2008-11-07
  • 打赏
  • 举报
回复
mark
JeffChung 2008-11-07
  • 打赏
  • 举报
回复
直接调用QQ的CameraDll.dll最简单了,哈哈

dylike 2008-11-07
  • 打赏
  • 举报
回复

Dim G As Graphics
Dim B1 As Bitmap
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Me.TopMost = True
Me.Location = New Point(0, 0)
Me.Size = New Point(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height)
B1 = New Bitmap(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height)
G = Graphics.FromImage(B1)
G.CopyFromScreen(New Point(0, 0), New Point(0, 0), New Point(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height))
G.Dispose()
Me.BackgroundImage = B1
End Sub
floadcloud 2008-11-06
  • 打赏
  • 举报
回复
mark
一只熊猫 2008-11-06
  • 打赏
  • 举报
回复
[Quote=引用 1 楼 hornbills 的回复:]
PB_Form的代码

PB_Form的程序可以在这里下载
http://d.download.csdn.net/down/527284/skigil

code=VB.NET]
Public Class Form1


Private Sub Ayaya()
Me.Hide()
Dim r As Bitmap
Dim P1 As New Point(0, 0)
Dim P2 As New Point(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height)
r = New Bitmap(P2.X, P2.Y, Imaging.PixelFormat.Format32bppArgb)
Using g As Graphics = Graphics.F…
[/Quote]

这段代码很不错的,根据自己的需要再适合的改下。
迈克揉索芙特 2008-11-06
  • 打赏
  • 举报
回复
学习 顺便接分
加载更多回复(3)

16,554

社区成员

发帖
与我相关
我的任务
社区描述
VB技术相关讨论,主要为经典vb,即VB6.0
社区管理员
  • VB.NET
  • 水哥阿乐
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧