Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
Ad icon
ව්යාපාර, Tuition පන්ති සහ Personal Portfolios සඳහා Web Setup එකක් රු. 9,099/- කට (වාර්ෂික renewal ර
thathsilura
Updated:
Thursday at 6:17 PM
AWS Certified Solutions Architect-Associate + AWS Certified Cloud Practitioner
Sanjeewani95
Updated:
Aug 19, 2026
🚀 එක පැකේජ් එකයි - මාසෙටම Unlimited Internet! 🌐
sayuru bandara
Updated:
Aug 18, 2026
🎬 CapCut Pro 1 Month Access! LKR 600
sayuru bandara
Updated:
Aug 18, 2026
🚀 Google One AI PRO Plan (Gemini Pro Activation) – 18 Months Access! LKR 2200
sayuru bandara
Updated:
Aug 18, 2026
Electronics
Vehicles
Property
Search
Reply to thread
Forums
Computers & Internet
Software Development
විශුවල බේසික උදව්වක්!
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="IndrajithGamage" data-source="post: 30812264" data-attributes="member: 581741"><p>Form එකේ picture box එකක් හදලා button එකක් දාලා, click එකට,</p><p></p><p></p><p>Imports System.IO</p><p>Imports System.Drawing.Imaging</p><p></p><p>Public Class Form1</p><p> Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click</p><p> OpenFileDialog1.Filter = "Image Files|*.jpg;*.jpeg;*.png;*.bmp;*.gif;*.tiff;*.ico;*.webp"</p><p> OpenFileDialog1.Title = "Select an Image File"</p><p></p><p> If OpenFileDialog1.ShowDialog() = DialogResult.OK Then</p><p> Try</p><p> Dim img As Image = Image.FromFile(OpenFileDialog1.FileName)</p><p> PictureBox1.Image = img</p><p> Catch ex As Exception</p><p> MessageBox.Show("Cannot open file. " & ex.Message)</p><p> End Try</p><p> End If</p><p> End Sub</p><p>End Class</p><p></p><p>ගැහුවාම හරිනෙ. (form, picturesbox, button වලට උඹ නම් දානවා නම් එ් ටික code එකට දාල හදා ගනින්)</p></blockquote><p></p>
[QUOTE="IndrajithGamage, post: 30812264, member: 581741"] Form එකේ picture box එකක් හදලා button එකක් දාලා, click එකට, Imports System.IO Imports System.Drawing.Imaging Public Class Form1 Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click OpenFileDialog1.Filter = "Image Files|*.jpg;*.jpeg;*.png;*.bmp;*.gif;*.tiff;*.ico;*.webp" OpenFileDialog1.Title = "Select an Image File" If OpenFileDialog1.ShowDialog() = DialogResult.OK Then Try Dim img As Image = Image.FromFile(OpenFileDialog1.FileName) PictureBox1.Image = img Catch ex As Exception MessageBox.Show("Cannot open file. " & ex.Message) End Try End If End Sub End Class ගැහුවාම හරිනෙ. (form, picturesbox, button වලට උඹ නම් දානවා නම් එ් ටික code එකට දාල හදා ගනින්) [/QUOTE]
Insert quotes…
Verification
Hath warak paha keeyada? (hatha wadikireema paha)
Post reply
Top
Bottom