Gaurav
Aug 18th, 2000, 11:13 AM
Hi,
I have Windows NT Server with IIS installed, & am coding a component in Visual Basic.
An ASP file displays HTML contents in some browser, that is popped up.
How do I programatically save the HTML contents (displayed in that browser) into a html file at a specified path on my machine?
Is it possible to programatically close the browser window on saving the HTML contents to a file ?
I know that one can get access to an Object using the GetObject() method but what ProgID do i use to access the IE Window and consequently its host object???
Basically I have a WebClass to which I use the WriteTemplate() method it pops up the IE browser n its this ones contents that i want....
Do try n help!! :)
Cheers
Gaurav
I have Windows NT Server with IIS installed, & am coding a component in Visual Basic.
An ASP file displays HTML contents in some browser, that is popped up.
How do I programatically save the HTML contents (displayed in that browser) into a html file at a specified path on my machine?
Is it possible to programatically close the browser window on saving the HTML contents to a file ?
I know that one can get access to an Object using the GetObject() method but what ProgID do i use to access the IE Window and consequently its host object???
Basically I have a WebClass to which I use the WriteTemplate() method it pops up the IE browser n its this ones contents that i want....
Do try n help!! :)
Cheers
Gaurav