HI TO EVERY HELP ME! HOW CAN I CAPTURE DISPLAT (PRINT SVREEN IN VB BY USING VB CODE AND HOW I CAN SAVE I AS .png FORMATE PLEASE PLEASE HELP ME I WILL BE VERY THANKFUL OF YOU
how far you doing this?
i am creating a software that will telll me that who had used my laptop and what he did actually please help me in creating this are you going to and trll me your e.mail adress i will contact you
NO. I don't want to know about your purpose.
How far you coded this thing (capture display)??
Make some effort.
i have tryed this but it does not work
Declare Sub keybd_event Lib "user32" _
(ByVal bVk As Byte, ByVal bScan As Byte, _
ByVal dwFlags As Long, ByVal dwExtraInfo As Long)
Private Sub cmdCapture_Click()
' hide the form
' (as we dont want this in the screen shot)
Me.Visible = False
' send a print screen button keypress event
' and DoEvents to allow windows time to process
' the event and capture the image to the clipboard
keybd_event vbKeySnapshot, 0, 0, 0
' send a print screen button up event
keybd_event vbKeySnapshot, 0, &H2, 0
' paste the clipboard contents into the picture box
ScreenCapture.Picture = Clipboard.GetData(vbCFBitmap)
' show the form and change the pointer to an
' hourglass while the image is processed
Me.Visible = True
Screen.MousePointer = vbHourglass
' save the image to a file using the application path
SavePicture ScreenCapture.Picture, App.path & "\screen.bmp"
Posting requests for help must be well thought out if you want help quickly and correctly. Your post did not meet the criteria for quality help. You may get some posts, but are they going to be useful? Check your post with these checkpoints - what is it [i]you[/i] missed: [list=1] [*]Ask a question that can be answered. Do not ask - What's wrong with my code? - Why doesn't this work? - Anything else that does not give us useful information. [*]Post your code. If we don't know what you did, how can we possibly help? - Use [b]PROPER FORMATTING[/b] -- see this - Use CODE Tags so your formatting is preserved. If we can't follow your code, it's difficult to help. We don't care that you're still working on it. If you want us to read it, it must be readable [*]Explain what the code is supposed to do. If we don't know where the target is, how can we help you hit it? [*]Explain what actually happened! If we don't know where the arrow went when you shot it, how can we tell what went wrong and how far from the target you are? [*]If you have errors, post them! We can't see your screen. We can't read your mind. You need to tell us what happened. [*]Do [b]not[/b] ask for code. We are not a coding service. We will help you fix your code. If anyone posts working code for you, they are a cheater. If you use that code [i]you[/i] are a cheater. [*]Do [b]not[/b] bore us with how new you are. We can tell by your code. - Do not apologize. We were all new, and unless you are completely brain dead you will get better. - Do not ask us to "take it easy on you." - Do not say "I don't know what's going on." That's obvious since you posted for help. Use that time wisely by [b]explaining[/b] as best you can so we can help. [*]Do not apologize for posting 'late'. We don't have any expectations on when you should be posting - 10 minutes or 10 days. We aren't timing your responses. [*][b]Do not post your requirements and nothing else. [/b]We view that as a lazy do-nothing student that wants us to do their work for them. That's cheating and we [i]will[/i] be hard on you. [*]Do not attach files except when absolutely necessary. Most of us are not going to download file. Add the information to your post. [*][b]Do not tell us how urgent it is.[/b] Seriously, for us there is no urgency at all. Many that can help will ignore any URGENT or ASAP requests. [/list] Think more about your next post so we don't have to play 20 questions to get the info we need to help you.
Let me guess its for a keylogger, been there done that. It wont work if your trying to grab a screenshot frequently, there computer will freeze up and become laggy. Dont bother continueing
I have a 2d matrix with dimension (3, n) called A, I want to calculate the normalization and cross product of two arrays (b,z) (see the code please) for each column (for the first column, then the second one and so on).
the function that I created to find the ...
Hi. so this is actually a continuation from another question of mineHere but i was advised to start a new thread as the original question was already answered.
This is the result of previous question answered :
code for the listbox - datagridview interaction
At the top of the code ...
Hi. I have a form with list box : lst_product, datagridview : grd_order and button: btn_addline. lst_product has a list of product ids selected from database (MS Acess 2013) , grd_order is by default empty except for 2 headers and btn_addline adds rows to grd_order.
Private Sub btn_addline_Click(ByVal ...