Results 1 to 3 of 3

Thread: [RESOLVED] My screen capture app doesn't copy Visual Basic's dropdown menus.

Threaded View

  1. #1

    Thread Starter
    Fanatic Member Peter Porter's Avatar
    Join Date
    Jul 2013
    Location
    Germany
    Posts
    581

    Resolved [RESOLVED] My screen capture app doesn't copy Visual Basic's dropdown menus.

    Lets say someone wants to capture a video tutorial coding within visual basic. Using my app, it will capture the screen to a video, but it wont capture Visual Basic's dropdown menus, like what you see if you click Debug. I would really appreciate it if someone could tweak my code below to capture VB's dropdowns.

    My application is at the following link:
    http://www.vbforums.com/showthread.p...eb-2015-update

    Name:  Cap2Vid_2015.png
Views: 469
Size:  22.7 KB

    Code:
    Dim BMP As New System.Drawing.Bitmap(MW, MH2, System.Drawing.Imaging.PixelFormat.Format32bppArgb)
    Dim Cap As System.Drawing.Graphics = System.Drawing.Graphics.FromImage(BMP)
    Cap.CopyFromScreen(New Point(0, bdr), New Point(0, 0), ScreenSize, System.Drawing.CopyPixelOperation.SourceCopy)
    
    BMP.Save(writer.BaseStream, System.Drawing.Imaging.ImageFormat.Bmp)
    
    BMP.Dispose()
    Cap.Dispose()
    GC.Collect()
    .
    Last edited by Peter Porter; Mar 22nd, 2015 at 07:09 PM.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width