Ok,
So, I used that but it only saved the document of the report page. I need the file that it prompts you for. Here is a quick code mock up of what Iam trying.
using mshtml
....
axWebBrowser1.Navigate("To
//wait until page loads....
mshtml.HTMLDocument doc = (mshtml.HTMLDocument) axWebBrowser1.Document
//set up report options
mshtml.HTMLSelectElement startMonth = (mshtml.HTMLSelectElement)
startMonth.value = "my start month";
mshtml.HTMLSelectElement startDay = (mshtml.HTMLSelectElement)
startDay.value = "my start day";
.....
//2 image buttons, one for .csv report and one for .xml report
mshtml.HTMLInputElement csvButton = (mshtml.HTMLInputElement) doc.all.item("csvReport",0
mshtml.HTMLInputElement xmlButton = (mshtml.HTMLInputElement) doc.all.item("xmlReport",0
xmlButton.Click()
After this I get prompted to save the report and I dont know how to get control of the prompt box. Still stuck.
Thanks for the suggestion eternal_21, but I cant figure how or where to add it in here.
-tcash
Main Topics
Browse All Topics





by: eternal_21Posted on 2005-07-13 at 22:05:56ID: 14437944
Why don't you use,
ices.UCOMI PersistFil e persistFile = (System.Runtime.InteropSer vices.UCOM IPersistFi le)axWebBr owser.Docu ment;
System.Runtime.InteropServ
and then call the persistFile.Save method instead of using the save file dialog.