Excel won't embed into WebBrowser in WinsForm

J

Joe

Hi

I am able to embed Excel into a WebBrowser on my Dev machine but on a client
machine
an instance of Excel starts in it's own window.

Anyone seen this before???
Thanks


Browser = new WebBrowser();

Browser.Dock = DockStyle.Fill;

Browser.Location = new System.Drawing.Point(0, 0);

Browser.Name = "Browser";

Browser.Size = new Size(223, 443);

Browser.TabIndex = 0;

pnlPreview.Controls.Add(Browser);

this.ResumeLayout();

Browser.Url = new Uri(sPath + "\\myxls.xls");
 
G

Guest

It will be down to the IE settings on the client machine, this isnt a nice
thing to do. Isnt excel available as an OLE object? It used to be.

Ciaran O'Donnell
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top