Hello one and all i would like to have a file dialog option to open or save or cancel when i click on a file that is displayed in the form. Generally we have this in asp.net but can any one tell how to do in VB.Net.
Thanks in advance,
M.Dorababu
Need File Dialog option
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.


Lalit MRank #1,186 · 1.5K reputationPosted Apr 26, 2010, 9:48 PM EDT
You will get here source code
http://www.ammara.com/access_image_faq/file_open_dialog.html
Hirendra SisodiyaRank #258 · 9.8K reputationPosted Apr 27, 2010, 12:37 AM EDT
Hi
We can use openFileDialogand savefileDialog for opening and savingfiles
Try this:
'opening file
Dim openFile As New OpenFileDialog
openFile.ShowDialog()
'Saving file
Dim saveFile As New SaveFileDialog
saveFile.ShowDialog()
thanks
Please mark as answere if it helps
Dorababu MekaRank #457 · 5.5K reputationPosted Apr 27, 2010, 12:41 AM EDT