|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Picture box will not show pictureHow can I get the picture to show? They're .jpg files.
For Each File As System.io.FileInfo In FileInfo Label1.Text = File.FullName PictureBox1.Image.FromFile(File.FullName) Application.DoEvents() System.Threading.Thread.Sleep(2000) Next "cj" <cj@nospam.nospam> schrieb: \\\> How can I get the picture to show? They're .jpg files. > > For Each File As System.io.FileInfo In FileInfo > Label1.Text = File.FullName > PictureBox1.Image.FromFile(File.FullName) Me.PictureBox1.Image = Image.FromFile(File.FullName) /// -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/> Great. Thanks.
Herfried K. Wagner [MVP] wrote: Show quoteHide quote > "cj" <cj@nospam.nospam> schrieb: >> How can I get the picture to show? They're .jpg files. >> >> For Each File As System.io.FileInfo In FileInfo >> Label1.Text = File.FullName >> PictureBox1.Image.FromFile(File.FullName) > > > \\\ > Me.PictureBox1.Image = Image.FromFile(File.FullName) > /// >
Where can I find Interop.MAPI.dll
Q: DataGrid Select Shutdown a list of computers using VB.net Need equivalant code in VB.Net 2005 ? "friend" accessor and inherited forms Waht is the fastest/bets? Outlook Object/CDO/Redemption/...? Data types DatagridviewComboboxColumn Calling all (any?) NDoc'ers Register insertion of USB drives in .NET 1.1 |
|||||||||||||||||||||||