Skip to content

WebBrowser filetype

Bas Tuijnman

Asked Aug 9, 2007, 2:34 AM EDT2 answers
Share
LinkedInX
Hello,

I've got a question:
I've got a WebBrowser control in my form, but when I navigate I wan't to check the filetype to download any files that aren't displayable in the webbrowser(e.g. zip files etc.) but how do I retrieve that filetype and how do I check it. Tried it within the navigating event handler but it didn't work.

Any suggestions would be great.

Thanx in advance,

Bas Tuijnman

2 Answers

Know the answer? Post it. Somebody with the same question will find it here.

  • Mike Gold
    0
    what happened when you tried it  in the navigating event?
    0
  • 0
    Well I tried to access the document type, but that only return FireFox document on the loading of an webpage, and nothing on any other file
    0