473,785 Members | 2,794 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Excel won't embed into WebBrowser in WinsForm

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.Locatio n = new System.Drawing. Point(0, 0);

Browser.Name = "Browser";

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

Browser.TabInde x = 0;

pnlPreview.Cont rols.Add(Browse r);

this.ResumeLayo ut();

Browser.Url = new Uri(sPath + "\\myxls.xl s");
Nov 7 '06 #1
1 2734
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
"Joe" wrote:
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.Locatio n = new System.Drawing. Point(0, 0);

Browser.Name = "Browser";

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

Browser.TabInde x = 0;

pnlPreview.Cont rols.Add(Browse r);

this.ResumeLayo ut();

Browser.Url = new Uri(sPath + "\\myxls.xl s");
Nov 8 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
31577
by: Shawn | last post by:
Does anybody know how to embed an Excel Worksheet into a (vb .net) form? I want the worksheet to appear as though it's a control on the form with all the functionality of a worksheet. I don't necessarily need all the toolbars because I will write code to manipulate the sheet from the back end. I've imported the Excel Object model reference but I'm at a loss of how to display a worksheet object inside the form.
4
3291
by: zhangyl | last post by:
I want to embed the excel worksheet into my application and use it like datagrid, if somebody can tell a solution, whether visual studio 2005 can do it ? thanks.
5
6582
by: mabond | last post by:
Hi recently read a posting and reply about Excel processs still running after the Appliction.Quit was called. Thought I might be able to use the same (System.Runtime.InteropServices.Marshal.ReleaseComObject(exApplication)) to solve my problem but could not. Background : My app uses a WebBrowser control to display to the user the contents of an Excel spreadsheet.:
9
2777
by: G .Net | last post by:
Hi Can anybody tell me how I can view an Excel file from within a vb.net application? Thanks in advance G
2
3342
by: Joe | last post by:
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 outside of my form. I have used the WebBrowser with VS 2005 and the one with Office and get the same result. I have use the MS example from MSDN and get the same result on non-Dev machine I've posted this before and someone remarked it maybe due to IE setting? Does anyone know what the setting are and...
2
1464
by: Thomas | last post by:
It sounds a piece of cake but I was suprised how frustrating it is to do it. I have a winform which receives data from database and present them as Excel chart and spreadsheet. It is required by the client. I can use Office Web Control to generate chart. However the chart can only be export to a gif image, not Excel chart. bummer. I also tried WebBrowser Control, but it can only open an Excel file from web or hard drive. I cannot figure...
2
7522
by: Thomas | last post by:
It sounds a piece of cake but It is surprisingly frustrating to do. I have a winform which receives data from database and present them as Excel chart and spreadsheet. It is required by the client. I can use Office Web Control to generate chart. However the chart can only be export to a gif image, not Excel chart. bummer. I also tried WebBrowser Control, but it can only open an Excel file from web or hard drive. I cannot figure out how to...
1
2296
by: Joe | last post by:
Hi I have embedded Excel in a WebBrowser on a Form but none of Excels Menus are present Is this the way it is suppose to work??? Do I need to add my own button to print/save excel from webbrowser ??? Thanks
14
1916
by: jim | last post by:
OK...Don't ask why - it'll just make ya mad. It makes me mad just thinking about it. I swear....if I didn't need this job, I'd tell 'em where to embed their webbrowser control. But, since I do need it, here are my questions... Can I embed an IE activex control in a webpage? I basically would like to be able to embed the same component used to create IE-based browsers into a webpage. Since IE is already on Windows PCs already, would...
0
9480
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10329
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10092
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9950
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8974
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5381
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4053
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3650
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.