Does an installation of Microsoft Office need to be available to access Excel workbooks via the Jet driver? - oledb

I'd like to know if Jet/OLEDB access to Excel works with the driver alone.

It does, as long as Jet is installed Office is not needed

Related

How to add a print functionality to Office Add-in?

I am building an Excel Add-in with the Office JS API. Is there a way to handle printing with the Add-in or open a printing window?
I have been going through the documentation but can't find any methods for this. Am I missing something?
Edit: To be more specific, I want to open the Excel print dialog with the Add-in.
There is no API in Office.js to invoke the Excel print dialog. If you know that all the users of your add-in will be working on Windows machines, using desktop Excel, you might look into whether a VSTO/VBA add-in has this feature. But if some users will be using Excel on the web or Excel on Mac, you'll have to stick to an Office.js add-in. In the later case, the best you can do is have your add-in prompt and/or instruct users to print from the Excel UI. You can have some control over the layout of the worksheet when it prints. See Work with worksheets - Page layout and print settings for more information.
You can suggest that Office add-ins be given access to the print UI at Microsoft 365 Developer Platform Ideas, but I suspect that security concerns would make it unlikely that Office.js-based add-ins, which are web applications, would be given that feature. The JavaScript/HTML that is hosted by a web application can be changed by its creator after the add-in has been installed by a user and/or approved by an administrator. This makes it possible for a rogue add-in creator to change the behavior of the add-in post-installation.

Connection String Help Microsoft Jet 4.0 Paradox

I am trying to connect to a server in PowerPivot. I am running across a few problems. Here is the connection string:
Provider=Microsoft.Jet.OLEDB.4.0;Data Source=\accounting001\Accounting\TimeSlips2014\Databases\Philadelphia\;Extended Properties=Paradox 5.x.
It uses NT authentication as the password. I have read all about the problems with MS Jet 4.0. I am running 64x on 64x office apps. I receive the not registered on local computer error. Can anyone help me connect. I already installed the Access 2010 DB engine however I wasn't able to get it to connect. Thanks!
The Microsoft OLE DB Provider for Jet and the Jet ODBC driver are available in 32-bit versions only. You can't run them in 64 bit mode.
The Solution
If you run a program in a 64 bit environment and need to utilize jet to open an Access, Excel or text file there are several options to make this work.
Run the program in WoW64 mode (emulates 32-bit on 64 bit systems). This will make the 32 bit drivers work.
If the application is an web app hosted on IIS 7 you can choose to configure the web sites application pool to run in 32-bit mode.
With Office 2010, there are new drivers, the 2010 Office System Driver, which will be provided in both 32-bit and 64-bit versions. You can use these drivers to let your application connect to Access, Excel and text files in a 64 bit environment utilizing the new 64-bit drivers. The provider name is "Microsoft.ACE.OLEDB.12.0". You don't need to buy or install the Office suite, the components are available as a separate download. http://www.microsoft.com/downloads/details.aspx?FamilyID=C06B8369-60DD-4B64-A44B-84B371EDE16D&displaylang=en
Summary
It is possible to open Excel, Access and text files on 64 bit systems. You can either configure your app to go 32-bit or you can change your application to use the new 64 bit drivers.
See the original link for this information here.

Convert .doc/.docx file to .htm in server, but no Microsoft Office Installed in server

Need to convert .doc/.docx file to .htm file to display on webpage in my MVC web application. This is working in my local system. There is no Microsoft Office Installed in the server and its restricted to install this in the server.
Is there a round-about solution for this? Can I convert .doc file to .htm file without having MS Office installed.
Any suggestions.. Really stuck with this for the past 4 days.. Cant find any solutions.
Thanks
Yes, you can. Take a look at the third-party components (for example, Aspose).
Also you may consider using the Open XML SDK. See Welcome to the Open XML SDK 2.5 for Office for more information. But it doesn't support binary files such doc etc.
Be aware, Microsoft does not currently recommend, and does not support, Automation of Microsoft Office applications from any unattended, non-interactive client application or component (including ASP, ASP.NET, DCOM, and NT Services), because Office may exhibit unstable behavior and/or deadlock when Office is run in this environment.
If you are building a solution that runs in a server-side context, you should try to use components that have been made safe for unattended execution. Or, you should try to find alternatives that allow at least part of the code to run client-side. If you use an Office application from a server-side solution, the application will lack many of the necessary capabilities to run successfully. Additionally, you will be taking risks with the stability of your overall solution.
You can read more about this in the Considerations for server-side Automation of Office article.

Delphi XE5 DBExpress MS Access [duplicate]

being a dbExpress newbie I wonder if there is a dbExpress driver for Microsoft Access?
I think the only way to connect to Access is by using ADO. (TADOConnection).
I have had good results using the open source dbxoodbc driver for dbExpress.
The download has several demo projects that use access databases, so you should be able to get up and running in no time.
You can find it at http://sourceforge.net/projects/open-dbexpress/
I have only tried it with older versions of access, so I can't say for certain that it will work with office 2007 or newer.
You have to use TADOConnection, i havn't been able to find a 3rd party driver which supports the new dbexpres
dbExpress does not support msAccess natively,
But a quick google search gives a long list of drivers. Both free and paid.

dbExpress driver for Microsoft Access

being a dbExpress newbie I wonder if there is a dbExpress driver for Microsoft Access?
I think the only way to connect to Access is by using ADO. (TADOConnection).
I have had good results using the open source dbxoodbc driver for dbExpress.
The download has several demo projects that use access databases, so you should be able to get up and running in no time.
You can find it at http://sourceforge.net/projects/open-dbexpress/
I have only tried it with older versions of access, so I can't say for certain that it will work with office 2007 or newer.
You have to use TADOConnection, i havn't been able to find a 3rd party driver which supports the new dbexpres
dbExpress does not support msAccess natively,
But a quick google search gives a long list of drivers. Both free and paid.

Resources