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. Visual Basic
  4. how to save clipboard image as picture using vb.net

how to save clipboard image as picture using vb.net

Scheduled Pinned Locked Moved Visual Basic
csharptutorialquestion
5 Posts 2 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.
  • B Offline
    B Offline
    b rad311
    wrote on last edited by
    #1

    Hi everyone, Does anyone know how to save an image from the clipboard as a picture (jpef, png, etc). using vb.net code? Thanks!

    L 1 Reply Last reply
    0
    • B b rad311

      Hi everyone, Does anyone know how to save an image from the clipboard as a picture (jpef, png, etc). using vb.net code? Thanks!

      L Offline
      L Offline
      Luc Pattyn
      wrote on last edited by
      #2

      b-rad311 wrote:

      Does anyone know how to save an image from the clipboard as a picture

      That is almost perfect VB code, use the Clipboard class and the Image class, the GetImage() method and the Save() method. What could possibly be the problem? :)

      Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]


      I only read formatted code with indentation, so please use PRE tags for code snippets.


      I'm not participating in frackin' Q&A, so if you want my opinion, ask away in a real forum (or on my profile page).


      B 1 Reply Last reply
      0
      • L Luc Pattyn

        b-rad311 wrote:

        Does anyone know how to save an image from the clipboard as a picture

        That is almost perfect VB code, use the Clipboard class and the Image class, the GetImage() method and the Save() method. What could possibly be the problem? :)

        Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]


        I only read formatted code with indentation, so please use PRE tags for code snippets.


        I'm not participating in frackin' Q&A, so if you want my opinion, ask away in a real forum (or on my profile page).


        B Offline
        B Offline
        b rad311
        wrote on last edited by
        #3

        Hi Luc, Thanks for replying. I'm new to vb so I was looking for specific examples of how to do this. However, I just found a specific example online, so I've got it now. Thanks

        L 1 Reply Last reply
        0
        • B b rad311

          Hi Luc, Thanks for replying. I'm new to vb so I was looking for specific examples of how to do this. However, I just found a specific example online, so I've got it now. Thanks

          L Offline
          L Offline
          Luc Pattyn
          wrote on last edited by
          #4

          b-rad311 wrote:

          I'm new to vb

          I hope you mean VB.NET (VB6 and earlier are stinkin' dead and should remain buried). You should buy and study a book when you're new to a language; it is the fastest way to make real progress, and the only way to learn it properly. And then read up again on the classes you intend to use. We both have named them already. If all that is not going to happen, the least you should do is search CodeProject for some articles that deal with your topic; there are some 20K articles here, lots of them are pretty good. :)

          Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]


          I only read formatted code with indentation, so please use PRE tags for code snippets.


          I'm not participating in frackin' Q&A, so if you want my opinion, ask away in a real forum (or on my profile page).


          B 1 Reply Last reply
          0
          • L Luc Pattyn

            b-rad311 wrote:

            I'm new to vb

            I hope you mean VB.NET (VB6 and earlier are stinkin' dead and should remain buried). You should buy and study a book when you're new to a language; it is the fastest way to make real progress, and the only way to learn it properly. And then read up again on the classes you intend to use. We both have named them already. If all that is not going to happen, the least you should do is search CodeProject for some articles that deal with your topic; there are some 20K articles here, lots of them are pretty good. :)

            Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]


            I only read formatted code with indentation, so please use PRE tags for code snippets.


            I'm not participating in frackin' Q&A, so if you want my opinion, ask away in a real forum (or on my profile page).


            B Offline
            B Offline
            b rad311
            wrote on last edited by
            #5

            Yes, vb.net is what I meant.

            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