Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21867

ShellExecute

$
0
0
I have label on form which assigned to ShellExecute command ... it is for to download an exe. from web ..

I have label caption [Opera.exe]

Code:

Private Sub Label1_Click()
ShellExecute ByVal 0&, "open", _
        "http://get.geo.opera.com/pub/opera/desktop/15.0.1147.148/win/Opera_15.0.1147.148_Setup.exe", _
        vbNullString, vbNullString, _
        SW_SHOWMAXIMIZED
End Sub

I want when label with caption Opera.exe is clicked .. Direct Download window should open without opening a browser

Viewing all articles
Browse latest Browse all 21867

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>