Method 1
Open My Computer and On the Tools menu click Folder Options.
Click the File Types tab.In the Registered file types list, click the specific Office document type (for example, Excel), and then click Advanced .
In the Edit File Type dialog box, click the Browse in same window check box .and click clear other check box
Click OK 2 times.
private void Form1_Load(object sender, EventArgs e)
{
webBrowser1.Navigate(@"C:\sample.xls");
}
Open My Computer and On the Tools menu click Folder Options.
Click the File Types tab.In the Registered file types list, click the specific Office document type (for example, Excel), and then click Advanced .
In the Edit File Type dialog box, click the Browse in same window check box .and click clear other check box
Click OK 2 times.
private void Form1_Load(object sender, EventArgs e)
{
webBrowser1.Navigate(@"C:\sample.xls");
}