Hello Everybody
how are you everybody ?... i have a problem with picture box, i want copy a image from the clipboard, and me can to copy a image if the image is a bitmap(extension bmp), but if the image is the other type(example, jpg, jpeg, gif, etc) i don't can, i have a error. i'm new in VB.NET, i'm a student and want to learn VB.NET, please an example or suggestions. thanks for your time and help
Att.
Jhonatas M. RodrÃ*gue 4 2054
* "=?Utf-8?B?SmhvbmF0YXMgTS4gUm9kcsOtZ3Vleg==?=" <jh**********@yahoo.com> scripsit:
[...]
Please tell your newsreader application to break lines after 76
characters, your message was "unreadable".
--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Jhonatas,
Here is a link to a webpage that has a good example on how to do this
correctly. It sounds to me like you just have not set the filter correctly
for the image type you are trying to copy to the clipboard.
james http://www.visual-basic-data-mining....spx?PostID=704
"Jhonatas M. Rodríguez" <jh**********@yahoo.com> wrote in message
news:9A**********************************@microsof t.com... Hello Everybody:
how are you everybody ?... i have a problem with picture box, i want
copy a image from the clipboard, and me can to copy a image if the image is
a bitmap(extension bmp), but if the image is the other type(example, jpg,
jpeg, gif, etc) i don't can, i have a error. i'm new in VB.NET, i'm a
student and want to learn VB.NET, please an example or suggestions. thanks
for your time and help. Att.
Jhonatas M. Rodríguez
Hi,
Try this.
Copy image to clipboard
Clipboard.SetDataObject(Image.FromFile("C:\test.jp g"))
Retrieve from clipboard
If iData.GetDataPresent(DataFormats.Dib) Then
Dim bm As Bitmap = iData.GetData(DataFormats.Bitmap)
PictureBox1.Image = bm
End If
Ken
----------------
"Jhonatas M. Rodríguez" <jh**********@yahoo.com> wrote in message
news:9A**********************************@microsof t.com... Hello Everybody:
how are you everybody ?... i have a problem with picture box, i want copy a image from the clipboard, and me can to copy a image if the image is a bitmap(extension bmp), but if the image is the other type(example, jpg, jpeg, gif, etc) i don't can, i have a error. i'm new in VB.NET, i'm a student and want to learn VB.NET, please an example or suggestions. thanks for your time and help.
Att.
Jhonatas M. Rodríguez
Hello Everybody
Hey Herfried K. Wagner, here the message again
how are you everybody ?... i have a problem with picture box,
i want copy a image from the clipboard, and me can to copy a
image if the image is a bitmap(extension bmp), but if the image
is the other type(example, jpg, jpeg, gif, etc) i don't can, i have
a error. i'm new in VB.NET, i'm a student and want to learn VB.NET,
please an example or suggestions. thanks for your time and help
Att
Jhonatas M. RodrÃ*guez This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Trevor Fairchild |
last post by:
I am making a program that categorizes pictures. The picture paths
are stored in an Access Database, vb6 connects using adodc controls.
This program works specifically with .jpg files. It will be...
|
by: Juho Saarikko |
last post by:
I made a Python script which takes Usenet message bodies from a database,
decodes uuencoded contents and inserts them as Large Object into a
PostGreSQL database. However, it appears that the to...
|
by: Joan |
last post by:
I am creating a word document from an asp page. I have no problems
actaully creating the document and creating some tables that have data
in them. I am using Response.ContentType =...
|
by: Bjoern Wolter |
last post by:
ich have following problem
on the left side i have an picture, an on the right side will be text.
the text is larger than the picture height, so the text continues under
the picture, how can i ...
|
by: Nutshell |
last post by:
Hi,
I created a web page which contains table. I use table cells to display a
picture using <img src>. The problem is that some pictures are not being
fully displayed, only a quarter of the left...
|
by: Rob Parker |
last post by:
I posted this with a different subject line (in two posts - I added
additional info in the second) in this newsgroup a few days ago, but
haven't had a single response. Hopefully, that was because...
|
by: Lyn |
last post by:
I am trying to embed a picture into a Bound Object Frame (Me!Photograph)
with the following code which is based on MS article
http://support.microsoft.com/?id=158941:
strPathname =...
|
by: Lyn |
last post by:
I am having a frustrating time trying to do a simple insert of a BMP picture
into a Bound Object Frame using both VBA and the Insert | Object... dialog.
I had a separate post thread going on this...
|
by: chau_fai |
last post by:
I have a window Form called "Form2". There is only one button and a
panel returned from a static method of the "Coord" in this form.
In the panel returned, there is a button that can choose image...
|
by: Simon |
last post by:
Hi I have a problem I am making a business website and I have to put
some small pictures on the right hand side and put text in the center
of the page
like this:
Pic here text here
Pic here ...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
| |