Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Sample C# code to take the screenshots the application opened in windows mobile

Sample C# code to take the screenshots the application opened in windows mobile

Scheduled Pinned Locked Moved C#
graphicscsharphelpquestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U Offline
    U Offline
    ujjawal kumar
    wrote on last edited by
    #1

    Bitmap bmpScreenshot;
    Graphics gfxScreenshot;
    bmpScreenshot = new Bitmap(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height);
    gfxScreenshot = Graphics.FromImage(bmpScreenshot);
    gfxScreenshot.CopyFromScreen(0, 0, 0, 0, bmpScreenshot.Size);
    bmpScreenshot.Save(@"\screenshot.bmp", ImageFormat.Bmp);

    It works fine in windows.But it is showing no extension method like CopyFromScreen in windowsmobile. Would u pls help me out to take screenshot in windowsmobile in C#?

    X H 2 Replies Last reply
    0
    • U ujjawal kumar

      Bitmap bmpScreenshot;
      Graphics gfxScreenshot;
      bmpScreenshot = new Bitmap(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height);
      gfxScreenshot = Graphics.FromImage(bmpScreenshot);
      gfxScreenshot.CopyFromScreen(0, 0, 0, 0, bmpScreenshot.Size);
      bmpScreenshot.Save(@"\screenshot.bmp", ImageFormat.Bmp);

      It works fine in windows.But it is showing no extension method like CopyFromScreen in windowsmobile. Would u pls help me out to take screenshot in windowsmobile in C#?

      X Offline
      X Offline
      Xmen Real
      wrote on last edited by
      #2

      A Screen Capture Tool for Windows Mobile 5[^]

      TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L %^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2 W_AD`EPABIKRDFVS)EVLQK)JKQUFK[M`UKs*$GwU#QDXBER@CBN% R0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-i’TV.C\y<pŠjxsg-b$f4ia>

      ----------------------------------------------- 128 bit encrypted signature, crack if you can

      1 Reply Last reply
      0
      • U ujjawal kumar

        Bitmap bmpScreenshot;
        Graphics gfxScreenshot;
        bmpScreenshot = new Bitmap(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height);
        gfxScreenshot = Graphics.FromImage(bmpScreenshot);
        gfxScreenshot.CopyFromScreen(0, 0, 0, 0, bmpScreenshot.Size);
        bmpScreenshot.Save(@"\screenshot.bmp", ImageFormat.Bmp);

        It works fine in windows.But it is showing no extension method like CopyFromScreen in windowsmobile. Would u pls help me out to take screenshot in windowsmobile in C#?

        H Offline
        H Offline
        Henry Minute
        wrote on last edited by
        #3

        There is a Mobile Development forum. You might have done better posting this question there.

        Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.”

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups