最佳解答者
VB.net remote print screen

問題
解答
-
Well, first at all, you have to seperate it into few smaller task,
1) Capture Screen in client
2) Save it into memory/file
3) Send it to server.
The following link is a very good example shown in C#, you may try to import Win32 API to do so, You could try to read it first, if you cannot understand C#, please tell me and I could convert it into VB for you.
http://www.c-sharpcorner.com/UploadFile/perrylee/ScreenCapture11142005234547PM/ScreenCapture.aspx
2008年10月8日 19:28
所有回覆
-
Well, first at all, you have to seperate it into few smaller task,
1) Capture Screen in client
2) Save it into memory/file
3) Send it to server.
The following link is a very good example shown in C#, you may try to import Win32 API to do so, You could try to read it first, if you cannot understand C#, please tell me and I could convert it into VB for you.
http://www.c-sharpcorner.com/UploadFile/perrylee/ScreenCapture11142005234547PM/ScreenCapture.aspx
2008年10月8日 19:28 -
Like I mention in the last post, once you compile as a DLL, import into your project
under the code in your button click
Code SnippetDim screenCapture As Example ' The class name Example in this "Example"
Dim filePath As String = "c:\abc.jpg"
screenCapture.CaptureScreen(filePath, ImageFormat.Jpeg)
2008年10月31日 1:20 -
Dim isCompileSuccess As Boolean = DllProject.CompileTheCodeIntoDll()
If Not isCompileSuccess Then
If DllProject.Language = VB Then
DllProject.Language = C#
isCompileSuccess = DllProject.CompileTheCodeIntoDll()
End If
End If
If (isCompileSuccess) Then
ApplicationProject.RightClick.AddReference(DllProject.Result.Dll)
ApplicationProject.ImportNameSpace(DllProject.Namespace)
ApplicationProject.UseTheCode()
End If
Have Fun~
- 已提議為解答 JoelMaths 2009年4月17日 14:57
2008年11月1日 1:16