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
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)
All 5 RepliesReply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.