Hello friends !!!
I would like to take a screenshot automatically of a program called "mugen.exe" from my application (it is different .exe) after 60 secondes that mugen.exe was executed or started.
also, if you knew a code to detect a program launched , i would be wowed to learn it!
Here is the code to make A Screen Capture Program but not a specific program
Code:
Dim bounds As Rectangle
Dim screenshot As System.Drawing.Bitmap
Dim graph As Graphics
bounds = Screen.PrimaryScreen.Bounds
screenshot = New System.Drawing.Bitmap(bounds.Width, bounds.Height, System.Drawing.Imaging.PixelFormat.Format32bppArgb)
graph = Graphics.FromImage(screenshot)
graph.CopyFromScreen(bounds.X, bounds.Y, 0, 0, bounds.Size, CopyPixelOperation.SourceCopy)
PictureBox1.Image = screenshot
I would like someone who are more experience than me to modify it to capture the program mugen.exe(sourcepath/MUGEN/MUGEN.exe)
INTERNET IS a desert i can't stand any more! please give me a hand !
thank you in advance for your answer!