Dim SFD As New SaveFileDialog SFD.Filter = "rar files (*.rar)| *.rar" SFD.FileName = "File Name" If SFD.ShowDialog() = DialogResult.Cancel Then Me.Show() Else My.Computer.Network.DownloadFile("File URL", SFD.FileName, Nothing, Nothing, True, 100, True, FileIO.UICancelOption.ThrowException) End IfBelow is what I am trying to do now:
This code works perfectly fine if you are wanting to have it so when someone clicks the link in the top menu strip it downloads instantly with a progress bar and no had problems at all. But when I try to set it up so you click the file you want in the menu bar and then below that is a download button which brings up a Save As window, and that is where my problem is because I can't get that way setup. I was also wanting to know if anyone knew if it is even possible to do it this way.
Thanks to anyone who tries to help.
EDIT: I just noticed that I didn't post this in a support section so if this needs to be moved feel free to move it.
EDIT 2: Nevermind I just figured it out.
Edited by robert_hehn, 03 June 2009 - 08:39 PM.