How do you do a FILE > SAVE AS with IE from VB.NET
Posted on 2004-08-24
I have code doing the following...
Private WithEvents IE As SHDocVw.InternetExplorer
If TextBox1.Text <> "" Then
If IE Is Nothing Then
IE = New SHDocVw.InternetExplorer
IE.Visible = True
Do While IE.Busy
' page finished loading...
' do something in here
I have other code doing something with IE after the page is loaded. It all works fine.
But I want to programatically perform the FILE > SAVE AS functionality as if you did it with the mouse interactively.
How can I do a FILE > SAVE AS (including specifying a SAVE AS file type) with an IE object as I have it in the code above ?