am so confused...wen you use save dialog....you only get the dialog and wen i say save, it saves....my problem is, wen you go back to the folder to check the file saved....nothin is there....i want to know how you can save a file to a certain folder and wen saved you can go back to that folder and find the file there........VERY URGENT
elizabeth mwash
-1
Light Poster
Recommended Answers
Jump to PostThe SaveFileDialog does not save anything. It is used to get the filename and path of where the user wants you to save the data.
You must test the return value from the ShowDialog method.
If it is DialogResult.OK you then save the data to a file using the …
Jump to PostSaveFileDialog only gets the path where the user wants to save, as nick.crane said.
You can then use that path to save the file. For instance, if you are using an image then you will have to use
SomeImage.Save(SaveFileDialog.FileName)
to save the image in the path specified by the …
Jump to PostSaving (or persisting) data can mean many things depending upon what you want to save and where you want to save it.
The data could be stored in a DB, saved as a text file or a binary file.
The simplest of these is to save to a text file. …
All 11 Replies
nick.crane
342
Veteran Poster
farooqaaa
48
Enthusiast
elizabeth mwash
-1
Light Poster
elizabeth mwash
-1
Light Poster
nick.crane
342
Veteran Poster
JOSheaIV
119
C# Addict
elizabeth mwash
-1
Light Poster
JOSheaIV
119
C# Addict
elizabeth mwash
-1
Light Poster
kurelafuture
0
Newbie Poster
JOSheaIV
119
C# Addict
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.