Can I host an instance of excel application within a winforms application?
Meaning, I want to use the excel as my datagrid in a winforms application.
thank you for your input.
Not directly, but you can use a WebBrowser control to host Excel within your WinForms application as documented in this Microsoft article.
You cannot host an Excel application inside of a Winform directly. You can, however, load up an Excel file from a WebBrowser control inside a Winform.
SpreadsheetGear for .NET comes with an Excel compatible spreadsheet control for Windows Forms.
You can download the free trial here if you want to try it out.
Disclaimer: I own SpreadsheetGear LLC
Related
I want to create create application like simple PowerPoint in c# WPF, I meant exactly that I want to create page like slides and can arrange in time line with various speed and transition and can seeing in preview panel.I tries on Microsoft PowerPoint interoperability but as I found It just create PowerPoint file not provide framework to interact!!.
Please show me sample code or sample way to-do or how do it?
One method I have used is to have a WPF WebBrowser control and then navigate to a pptx file. This will open PowerPoint inside the WebBrowser control. You will not be able to interact with the PowerPoint application from your WPF host, but that is about as good as it gets.
Try this control from syncfusion: http://www.syncfusion.com/products/file-formats/presentation. They now offer a free community version with all if their controls.
I am trying to use Crystal Reports ActiveX Viewer 13 from within Winforms. While SAP/BO has said they are not going to support this but I see the ActiveX control available on the machine. Any idea on how to use this control?
The Problem i'm facing with the the .Net Viewer is that it crashes on Windows7 if the OLEDB provider has any UI like parameters dialog. I posted the issue separately. One of the friend solved this issue by using Cr11R2 ActiveX Viewer. I am trying to find if it is possible to solve the issue by using the ActiveX Viewer that Comes wit CR for VS2010.
Any pointers in this direction is appreciated.
Found the Answer - The ActiveX control is still available for use with Webprojects. None of the supporting files to run on a Winforms application are avaialble so .. I guess one cannot use this option anymore
The ActiveX control is still available for use with Webprojects. None of the supporting files to run on a Winforms application are avaialble so .. I guess one cannot use this option anymore
I am having one excel file that i need to host or embed in wpf application. that file need to open inside wpf application.. and user can do modification into that.
is there any solution for this....
Thanks
Brijesh
I am looking for hosting microsoft excel in my WPF application. Searching on internet for some time , i got below answer.
hosting stand alone office in WPF application
I have an extensive WPF application and I now want to incorporate some reports. I understand how to create the reports with RDLC but what about viewing them? Ideally, I'd like to use the DocumentViewer but I don't think that's one of the supported file types. Some articles have suggested using the ReportViewer, but I do not have that as a control in my IDE (VS Pro 2008).
Is there a way to "convert" RDLC to XPS and then use the DocumentViewer or what is the best way for a WPF application to view an RDLC report?
The MicrosoftReportViewer control is a Windows Forms control. You can use the WindowsFormsHost control to "host" the report viewer control in WPF, as documented here.
Take a look at the Open-Source .NET WPF Reporting Engine on codeplex
I would like to create an ActiveX control that uses Silverlight. Is this possible/sensible and does anyone have an sample code for this?
I am working in a legacy (non web) system that cannot directly use WPF/Silverlight controls. But the system can access ActiveX controls. The thought is that we may be able to host Silverlight in an ActiveX control, and therefore update our rather dated UI.
Read this article.
Silverlight COM Ref.
The article indicates activeX controls in 'agcore.dll' On windows it is actually imported through 'npctrl.dll'.
you compile may have some sort of activex control wizard.
EDIT: With that said. It might be as easy to host IWebBrowser in an activeX control and embedd silvelight into the browser control from local storage via 'xaml'.