Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Opening a new browser window through VB/ASP .net

Status
Not open for further replies.

NBartomeli

Programmer
Jul 1, 2003
111
US
Is there any way to open a new IE window through code in ASP / VB .NET ? I want to have the user click a button and have it open a new browser, pass a path and file name, and open a report. I can do everything other than open the new window. Thanks in advance

-Nick
 
I put that line in a command button Click sub (aspx.vb).. I recieved the following error:

The system cannot find the file specified
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ComponentModel.Win32Exception: The system cannot find the file specified

Source Error:


Line 130:
Line 131: Private Sub cmdRun_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdRun.Click
Line 132: System.Diagnostics.Process.Start("Line 133: End Sub
Line 134:End Class


Source File: c:\inetpub\ Line: 132
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top