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

VB6>WebBrowser> How to get the NAME of the file that user downloads with RIGHT-click?

$
0
0
I am programming the VB6 application that uses the MS Webbrowser control. I have a question.
How to detect the name of the file that user downloads from web site? (I mean not the source .html file, but the file that user downloads from site with right-click).

In another words: user right-clicks the object on web form, selects the "Save target as:" and downloads file to his/her machine. It can be the .pdf document, .jpg picture, .zip file, .mp3 music etc. How my application can find out (and later to insert into database of downloaded files) the name of downloaded file and (if possible) location on local machine to where user downloaded the file?

Thanks! :)

Viewing all articles
Browse latest Browse all 21100

Trending Articles



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