how to save clipboard image as picture using vb.net
-
Hi everyone, Does anyone know how to save an image from the clipboard as a picture (jpef, png, etc). using vb.net code? Thanks!
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-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).
-
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
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-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).