| | |
how to make a save button
Thread Solved |
•
•
Join Date: Nov 2009
Posts: 7
Reputation:
Solved Threads: 2
0
#2 Nov 23rd, 2009
VB.NET Syntax (Toggle Plain Text)
'assign your image here Dim img As Image 'name of your image file Dim Name As String = "MyImage.jpeg" 'specify full path where you want to save your file Dim fileNameWithPath As String = "C:\Documents and Settings\navjyot.nishant\Desktop\" & Name 'saving the image. img.Save(fileNameWithPath, System.Drawing.Imaging.ImageFormat.Jpeg)
Happy Coding:-)
Navjyot Nishant
•
•
Join Date: Nov 2009
Posts: 10
Reputation:
Solved Threads: 1
0
#3 Nov 25th, 2009
•
•
•
•
VB.NET Syntax (Toggle Plain Text)
'assign your image here Dim img As Image 'name of your image file Dim Name As String = "MyImage.jpeg" 'specify full path where you want to save your file Dim fileNameWithPath As String = "C:\Documents and Settings\navjyot.nishant\Desktop\" & Name 'saving the image. img.Save(fileNameWithPath, System.Drawing.Imaging.ImageFormat.Jpeg)
Happy Coding:-)
VB.NET Syntax (Toggle Plain Text)
Dim Name As String = TextBox2.Text + ".png" Dim fileNameWithPath As String = "C:\Program Files\Screencap2.0\" + TextBox1.Text + "\" + Name PictureBox1.Image.Save(fileNameWithPath, System.Drawing.Imaging.ImageFormat.Png)
![]() |
Similar Threads
- Closing 2 forms in runtime & Save Button (C#)
- Save a webpage? (PHP)
- Save button not working in Firefox or Chrome (PHP)
- Saving Data using save button (Visual Basic 4 / 5 / 6)
- make a radio button checked if it was selected before (PHP)
- Datagrid, SQL and save button (C#)
- How to Block Save button in FileDownload dialog box ? (C#)
- Delete button not working on my Java GUI Inventory (Java)
Other Threads in the VB.NET Forum
- Previous Thread: retriving image and displaying in a form
- Next Thread: How to print vb form.
Views: 899 | Replies: 3
| Thread Tools | Search this Thread |
Tag cloud for save






