Jump to content
zachary1337

SaveFileDialog [VB]

Recommended Posts

eu asa am facut intr-un proiect

adauga un savefiledialog

Imports System.Net

Dim WithEvents wc As New WebClient

Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click

SaveFileDialog1.Filter = "ZIP files (*.zip)|*.zip"

SaveFileDialog1.DefaultExt = "zip"

SaveFileDialog1.AddExtension = True

SaveFileDialog1.FileName = "nume.zip"

SaveFileDialog1.ShowDialog()

wc.DownloadFileAsync(New Uri(wc.DownloadString("http://linkul/nume.zip")), SaveFileDialog1.FileName)

End Sub

in loc de zip pui extensia pe care o are al tau

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...