Click here to Skip to main content
15,892,059 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi Sir
I Want to open Excel Through Webbrowser Control With Two Different Instance of Excel in task manager , But i can'nt can you give me proper Solution , "WebBrowser.Navigate(path1)"
"WebBrowser2.Navigate(path2)"
Posted

1 solution

Why do you think a Web browser or the control WebBrowser can open Excel file at all? It cannot. Excel is not a part of any of Web standards even on Windows, it requires Microsoft Office. You can be better off just opening Excel via the Shell using System.Diagnostics.Process.Start, see http://msdn.microsoft.com/en-us/library/system.diagnostics.process.aspx[^].

—SA
 
Share this answer
 
Comments
Espen Harlinn 24-Oct-11 14:16pm    
5'ed!
Sergey Alexandrovich Kryukov 24-Oct-11 14:21pm    
Thank you, Espen.
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900