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!

Issue with webbrowser control in a windows form

Status
Not open for further replies.

JScannell

Programmer
Joined
Jan 9, 2001
Messages
306
Location
US
I have successfully embedded a webbrowser control onto a windows form. Its purpose is to open up an Excel file.

The problem is, when I run this in the form load routine: me.webBrowser1.Navigate ( _FileName,false)

I get a "file download" popup. I have to choose Load or Save before proceeding.

I don't want that behavior if possible. I would just like the Excel file to load without any dialog box.

Thanks in advance,
Jerry

Jerry Scannell
 
I'm not sure, colleague, why you want to show Excel spreadsheet in a browser, but what you describe is normal web browser's behavior, AFAIK.
I'd rather consider using COM technique to embed Excel into your Form.
I think this would give you a good start: HTH.

Regards,

Ilya
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top