| | |
The API
Please support our VB.NET advertiser: Intel Parallel Studio Home
![]() |
Not clearly enough...
Never tried = Never Know
So, Please do something before post your thread.
* PM Asking will be ignored *
So, Please do something before post your thread.
* PM Asking will be ignored *
There's no API calls needed. If you have a picturebox control and an image file, you just do the following:
Of cource, there are other ways to get and display images depending on the source of the image.
VB.NET Syntax (Toggle Plain Text)
PictureBox1.Image = Image.FromFile("C:\somepic.jpg")
Teme64 @ Windows Developer Blog
Still no API needed.
and the picture box is a control in the repeater control.
VB.NET Syntax (Toggle Plain Text)
Imports System.IO Dim MemStream As MemoryStream Dim ByteArr() As Byte ' Read image bytes from the file ByteArr = My.Computer.FileSystem.ReadAllBytes("C:\somepic.jpg") ' Create a memory stream from the bytes MemStream = New MemoryStream(ByteArr) ' Create an image from the stream PictureBox1.Image = Image.FromStream(MemStream)
Teme64 @ Windows Developer Blog
![]() |
Similar Threads
- Creating A Table With Win32 Api (C++)
- C++ WinSNMP API: (C++)
- Google API (Search Engine Optimization)
- java uses or overrides a deprecated API?? (Java)
- AutoCAD API and VB.NET (VB.NET)
- Windows Api Tutorial (C++)
Other Threads in the VB.NET Forum
- Previous Thread: HELP! In View menu, Designer is missing!
- Next Thread: VB6 Input and getting Output.
| Thread Tools | Search this Thread |
.net .net2008 2008 access account advanced application array basic beginner browser button buttons center click code combo cuesent data database datagrid datagridview date datetimepicker designer dissertation dissertations dissertationtopic excel exists fade filter forms generatetags gridview html images input insert intel internet listview map mobile module monitor msaccess net number objects open panel passingparameters pdf picturebox picturebox2 port position print printing problem regex right-to-left save search searchvb.net select serial settings shutdown socket sqldatbase sqlserver survey table temperature textbox timer timespan transparency txttoxmlconverter update user usercontol vb vb.net vb.netformclosing()eventpictureboxmessagebox vba vbnet visual visualbasic visualbasic.net visualstudio.net visualstudio2008 web winforms wpf wrapingcode xml year






