please help me in code
i need help with coding hi i need help with visual studio id love if someone helped me, i need help with finding a code that will send the jpeg file to my gmail sry this is a vb file but i dont realy care as long as you know a code that will send the file i could just use 2 diff files one for save 1 for send so c# or vb both good to me. here is the code Imports System.ComponentModel Imports System.IO Imports System.Net.Mail Imports System.Threading Private Sub capture_Tick(sender As Object, e As EventArgs) Handles Capture.Tick Dim bounds As Rectangle Dim screenshot As System.Drawing.Bitmap Dim graph As Graphics bounds = Screen.PrimaryScreen.Bounds screenshot = New System.Drawing.Bitmap(bounds.Width, bounds.Height, System.Drawing.Imaging.PixelFormat.Format32bppArgb) graph = Graphics.FromImage(screenshot) graph.CopyFromScreen(bounds.X, bounds.Y, 0, 0, bounds.Size, CopyPixelOperation.SourceCopy) PictureBox1.Image = screenshot End Sub Private Sub save_Tick(sender As Object, e As EventArgs) Handles save.Tick Dim savefiledialog1 As New SaveFileDialog Try savefiledialog1.Title = "damndaniel" savefiledialog1.FileName = "damndaniel.jpeg" savefiledialog1.Filter = "GDI+ |damndaniel.jpeg" If savefiledialog1.ShowDialog() = DialogResult.OK Then PictureBox1.Image.Save(savefiledialog1.FileName, System.Drawing.Imaging.ImageFormat.Jpeg) End If Catch ex As Exception 'Do Nothing End Try End Sub