hello,
I have a c# application which after clicking a button in infopath form, creates an HTML file. I would like to open this page in a NEW window, instead of what is actually doing, opening under a new tab. Any help will be greatly appreciated.
<code>
fileName = ("Warningfile " + PHYS_MSTR_water_body_id.ToString() + " " + PHYS_MSTR_event_date.ToString() + " " + time_collected_hh.ToString() + " " + time_collected_minutes.ToString() + " " + PHYS_LOC_grid.ToString() + ".html");
FileStream outputfile = null; path = "Warningfile " + PHYS_MSTR_water_body_id.ToString() + " " + PHYS_MSTR_event_date.ToString() + " " + time_collected_hh.ToString() + " " + time_collected_minutes.ToString() + " " + PHYS_LOC_grid.ToString() + ".html";
try
{
outputfile = new FileStream(fileName, FileMode.Create, FileAccess.Write);
writer = new StreamWriter(outputfile);
writer.BaseStream.Seek(0, SeekOrigin.End);
DoWrite("<a><target='_blank'></a>");
DoWrite("<HTML>");
DoWrite("<HEAD>");
DoWrite("<TITLE>");...</code>