i want to make a save button for images without having to open a save file dialog so i would specify the name and location to save in the code
please help
Progr4mmer
0
Junior Poster
Recommended Answers
Jump to Post'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:-)
Jump to Postur welcome dude. :-)
All 5 Replies
navjyotnishant
0
Newbie Poster
Progr4mmer
0
Junior Poster
navjyotnishant
0
Newbie Poster
Rajesh Parmar
0
Newbie Poster
Rajesh Parmar
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.