RFBCodeWorks.DatabaseObjects.MsOffice
1.0.0.9
See the version list below for details.
dotnet add package RFBCodeWorks.DatabaseObjects.MsOffice --version 1.0.0.9
NuGet\Install-Package RFBCodeWorks.DatabaseObjects.MsOffice -Version 1.0.0.9
<PackageReference Include="RFBCodeWorks.DatabaseObjects.MsOffice" Version="1.0.0.9" />
paket add RFBCodeWorks.DatabaseObjects.MsOffice --version 1.0.0.9
#r "nuget: RFBCodeWorks.DatabaseObjects.MsOffice, 1.0.0.9"
// Install RFBCodeWorks.DatabaseObjects.MsOffice as a Cake Addin #addin nuget:?package=RFBCodeWorks.DatabaseObjects.MsOffice&version=1.0.0.9 // Install RFBCodeWorks.DatabaseObjects.MsOffice as a Cake Tool #tool nuget:?package=RFBCodeWorks.DatabaseObjects.MsOffice&version=1.0.0.9
RFBCodeworks.DatabaseObjects.MsOffice
About
This library extends the RFBCodeworks.DatabaseObjects library with a database to represent Microsoft Access, and Microsoft Excel.
These objects use an OLEDBCommand to communicate to the files. Since this requires an OLEDB connection, this library is compiled only for x86/x64.
MSAccessDataBase
- Represents an MS Access Database.
Working with Excel
ExcelWorkbook
- Represents an Excel workbook document.
- Derived from RFBCodeworks.DatabaseObjects.AbstractDatabase
- Has and methods properties specific to interacting with an excel workbook.
ExcelWorkbook.Worksheet
- Represents a 'Worksheet' within the specified workbook.
- Derived from RFBCodeworks.DatabaseObjects.DatabaseTable
- Various methods have been overridden since they are not compatible with excel workbooks (Primarily the 'INSERT') methods
ExcelWorkbook.PrimaryKeyWorksheet
- Represents a 'Worksheet' whose table is meant to act as a table with a primary key (such as an Auto-Number column)
- Derived from ExcelWorkbook.Worksheet
- Implements RFBCodeworks.DatabaseObjects.IPrimaryKeyTable
Troubleshooting
- Driver Missing Error
- 32-bit computers -- Install the appropriate driver. This can be found from the 32-bit Microsoft Access Runtime.
- 64-bit computers
If the computer has any 32-bit Microsoft office products installed, then the calling application must be compiled and running in 32-bit mode. Unfortunately, this is due to the required backwards compatibility that MS implements, so nothing can be done on my end about this (as far as I know). Your options are basically uninstall all 32-bit Microsoft Office products/upgrade to 64-bit office, or build your application in 32-bit mode. If the computer does not have the driver installed at all (or has the 64-bit driver installed but 32-bit Office is installed), then you will have to download the 32-bit driver.
If the computer does not have any 32-bit microsoft office features installed, then you are missing the 64-bit driver.
Required Libraries
- SqlKata
- System.Data.OleDb
- RFBCodeworks.DatabaseObjects
- RFBCodeworks.SqlKata.MSOfficeCompilers
- RFBCodeworks.SqlKata.Extensions
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net6.0-windows7.0 is compatible. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net8.0-windows7.0 is compatible. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- RFBCodeWorks.DatabaseObjects (>= 1.0.0.8)
- RFBCodeWorks.SqlKata.MsOfficeCompilers (>= 1.0.0.8)
- System.Data.OleDb (>= 4.6.0)
-
net6.0-windows7.0
- RFBCodeWorks.DatabaseObjects (>= 1.0.0.8)
- RFBCodeWorks.SqlKata.MsOfficeCompilers (>= 1.0.0.8)
- System.Data.OleDb (>= 6.0.0)
-
net8.0-windows7.0
- RFBCodeWorks.DatabaseObjects (>= 1.0.0.8)
- RFBCodeWorks.SqlKata.MsOfficeCompilers (>= 1.0.0.8)
- System.Data.OleDb (>= 8.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Fixes for Connection Strings and better 32-bit / 64-bit support.
JET now reports as obsolete when using 64-bit assemblies.