Skip to content

how can i run the download dialog box of internet explorer

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #189012

    I want to know how can I prompt the downloader dialog box of internet explorer by using shell execution.
    I have seen some people do that before on some website but I do’nt remember how to do that.
    example
    shell execution “www.domainefile.mp3”
    this execution will prompt a dialog box ask me to choose the folder to save file.
    how can i do that, thanks for your help

    #189016

    here is the solution
    Private Declare Function DoFileDownload Lib “shdocvw” _
    (ByVal lpszFile As String) As Long
    Private Sub Command1_Click()

    Dim sDownload As String
    sDownload=”http://www.domaine.com/file.mp3″
    sDownload = StrConv(sDownload, vbUnicode)
    Call DoFileDownload(sDownload)

    End Sub
    it will promt the download dialog of internet explorer

    #189015
    Admin
    Administrator

    I always wonder about something like this one thing does ie has to be open

    Thanks

    #189014

    good if these lines of code make you happy loco 😆 it’s my goal too so i put the solution here 😉

    #189013
    Admin
    Administrator

    🙂 yeps we here to help each other 🙂

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.