I developed a "Reporting App" on C# that creates reports (basically on .doc's and .ppt's formats (using the MS Office interops libraries)) based on some parameters received from the user. Everything works as expected when the app is executed on a Windows Server or computer. The problem is that one costumer's server is Linux based. Is it possible to create Office documents on a Linux environment? Any ideas how?
I am currently using these libraries:
Microsoft.Office.Core
Microsoft.Office.Interop.Word
Microsoft.Office.Interop.PowerPoint
Please help.
You can use the open XML SDK for cross platform or cases when Office is not installed on the hosting machine
Related
I am using my_database.accdb as database in my window form application...I want to install it on my client machine without installing ms office.How can i achieve this.I'm using OleDb as connector in my c# application.
you don't have to install ms office in the pc, all you have to do is installing Microsoft Access Database Engine. You can download it from :
Microsoft Access Database Engine
According to Microsoft :
This download will install a set of components that facilitate the
transfer of data between existing Microsoft Office files such as
Microsoft Office Access 2010 (*.mdb and .accdb) files and Microsoft
Office Excel 2010 (.xls, *.xlsx, and *.xlsb) files to other data
sources such as Microsoft SQL Server. Connectivity to existing text
files is also supported. ODBC and OLEDB drivers are installed for
application developers to use in developing their applications with
connectivity to Office file formats.
The Access Database Engine 2010 Redistributable is not intended:
As a general replacement for Jet (If you need a general replacement
for Jet you should use SQL Server Express Edition). As a replacement
for the Jet OLEDB Provider in server-side applications. As a general
word processing, spreadsheet or database management system -To be used
as a way to create files. (You can use Microsoft Office or Office
automation to create the files that Microsoft Office supports.) To be
used by a system service or server-side program where the code will
run under a system account, or will deal with multiple users
identities concurrently, or is highly reentrant and expects stateless
behavior. Examples would include a program that is run from task
scheduler when no user is logged in, or a program called from
server-side web application such as ASP.NET, or a distributed
component running under COM+ services.
I was wondering about the following Scenario:
I developed a C# application, that generates Excel reports based on the Microsoft.Office.Interop.Excel Assemblies and installed the application on a Windows 2003 Server without installed Excel, but I don't get it to work there.
So basicly: Do I Need Office on the machine, where I want to use the above named assemblies or might it be for other reasons?
Thanks in advance for all well meant answers.
Yes, you need to have Excel installed on your server. Also, there are special licensing requirements for this, so please see:
http://support.microsoft.com/kb/257757
I'm creating a WinForm application that needs to get data from an excel spreadsheet. Do I need to install Office 2007 on my DEV PC? What about the PC that will run the WinForm application? Also, can I use Office PIA without installing office on both my DEV and target PC?
Thanks.
first step implement method to get data from excel files
These Question
after implement you dosent need to install excel if u need add dll you most create embed resource your dll with your executable file
this answer help
Code project Example
For development
Configuring a Computer to Develop Office Solutions
And for end users:
Office Solution Prerequisites for Deployment
How to: Install Prerequisites on End User Computers to Run Office Solutions
i am new bee in this field. i have a motorola mc70 device.i want to create an application for it in which device scans barcode and than put data of barcode into my sql server database. i have worked in visual studio 2010. now i have a motorola scanner sdk and user guide. but i don't know how to create application for these types of devices.
i have worked in c# so i am familiar with it and i am using sql server database for it.
i don't know where to start?? should i make console application or other type of application.
Can anyone help to sort this out and provide procedure to create application for this device...
Thanks in Advance...
If you're gonna to use .net then you have to get Visual Studio 2008 and download the Windows Mobile SDK. They removed the support for creating Windows Mobile applications in VS 2010 and up.
In Visual Studio 2008 you will find smart device project etc.. And there is also a Emulator for it.
There is other options to create applications for these devices. Like RhoMobile Suite. With it you code HTML5 / CSS3/ Javascript / Ruby etcc. But it is not free.
Developing applications in RhoMobile is free but when deploying it and uses some features will cost.
I'm facing one issue, actually I need to create one application in C# using VS2012, .Net framework 4.5 which reads excel and do some operation, but the issue is target machine doesn't have MS Office client installed on it.
And one restriction is I can't use the other open assemblies like Open XML etc. I have to only use the 2010 PIA.
It'll be great if someone can explain me how can implement this?
This can not be possible without installing MS Office on server. To use PIA you have to install the MS Office on server. Otherwise, if you doesn't want to install MS Office on server, it's better to use Open XML.