How can I read and create foxpro files on linux? - linux

My C# / Mono application needs to run on linux. I must have the ability to dump a foxpro dbf and to create a new foxpro dbf.
Any suggestions for either:
1) odbc for linux designed for Foxpro?
or
2) a utility to read and create Foxpro files?
In many cases I have index (CDX) files and and in a limited set I also have the memo (FPT) files.

I've used DBI:XBase in the past to migrate FoxPro tables into MySQL. I don't think it can handle the memo (fpt) though.

If you use SAMBA and Ubuntu 13.04 or some other version Visual Foxpro or FoxPro dbf/fpt reads will work great.

The entire process must run on the linux box so I can not connect to a windows server. I could not find odbc or any open source solution.
The best solution I found was www.codebase.com. I purchased Codebase for Linux, a library that will do everything I need and more.

Related

Will VFP 9.0 and FPD 2.6 run on Windows Server 2019 or 2012?

We're in the process of converting our two FoxPro systems to new technology, but meanwhile we need to upgrade our server and I am trying to find out whether our legacy systems will run there. We'd prefer to go to Windows Server 2019, but using Server 2012 is possible. Our stations are Win 7 or 10 Pro, some 64-bit.
One system is in Visual FoxPro 9 and uses its native DBFs and some DBFs in FPD 2.6 format. Certain graphical and document functions (e.g.: OCR) are performed by calls to LeadTools 12.0. The application also calls Outlook.
The second system is a single-user application in FoxPro for DOS 2.6 run from an .app file. The 32-bit stations run this natively, while the 64-bit stations use the product, vDOS, to allow the 16-bit FPD to run there. The application wants to reside on the server since multiple stations can run it, albeit at different times.
Any help is much appreciated. Thank you!
Will a Visual FoxPro 9 EXE run on those server operating systems? Yes.
Will a Foxpro For DOS or FoxPro for Windows EXE run on those server operating systems? No. Those flavours of FoxPro are 16-bit, and as such would require a 32-bit version of Windows Server, the last of which was Server 2008.
However I suspect you are not running either of these on the server. You have a shared folder on the server with the DBFs in it, and the executables are running on workstations.
So if you have a 64-bit OS on the workstation then you can only run the Visual FoxPro exectuable directly. If you had a 32-bit OS on the workstation, you can run both Visual FoxPro and FoxPro for DOS\Windows executables.
Your question is really 'can I put the DBFs in a shared folder on those server operating systems and access them from client workstations?', and yes you can.

Oracle Forms and Reports 6i on Linux

I'm actually using Oracle Forms and Report 6i in Windows 32bits with Oracle Database 10g, and i want to change to Linux (Ubuntu) with the same versions.
After hours of researches i didn't find any helpful information about this, I only found the 10g version of the developer on the official website of Oracle and for the 6i version most what i found use Wine and i don't want to use it or any other Emulator type utility for the purpose.
I thought about migrating my application to 12c, but it's going to take me a lot of time.
My application contains:
Over 900 .fmb/fmx files.
Over 700 .rep/rdf files.
Is there any quicker way to have my application that is developed on 6i work in Linux?
[EDIT]
I have found a tar file of oracle forms and reports 6i, i still haven't tried it, but does that mean there is forms 6i in linux? if so, is it going to work properly or what?
Any information whatsoever will be helpful!

SSIS and 64bit excel

I have researched this thoroughly but I've yet to find a satisfactory answer.
I am using SQL Server Data Tools 2010 and Microsoft Office 2013 64-bit. I know that there is a compatibility problem and I am trying to solve it because I know for a fact that you can use an .xlsx file as a data source in a Data Flow.
First I tried setting Run64BitRuntime to False in Project -> Properties -> Configuration Properties - > Debugging but it didn't work
Whenever I try importing an .xlsx file I get the same error
Microsoft Visual Studio
------------------------------
Could not retrieve the table information for the connection manager
'Source Path'. Failed to connect to the source using the connection
manager 'Source Path'
------------------------------
So I tried downloading the "Microsoft Access database engine 2010" as so many suggested. The 64-bit installed successfully but the 32-bit returned the following error
You cannot install the 32-bit version of Microsoft Access database engine 2010
because you currently have 64-bit Office products installed.
Now I know I am missing a step here cause while I can see "Microsoft Access database engine 2010" in the list of installed programs in control panel it does not show up as an option in the Provider list when I am trying to create a new Connection Manager.
So before I result following the instruction on this blog I would like to ensure there is no easier way of solving the problem
Thank you in advance for you time.
If you're machine is x64, forget about Excel, as there is no driver available.
Just convert the file to CSV and use a Flat File Connector instead.
Ok, the answer was so ridiculously easy that I kind of feel ashamed for this post now.
If you are using Microsoft Office 2013 64-bit and want to work with SSIS you have to download and install the 32-bit Microsoft Access Database Engine 2010 Redistributable, not the 64-bit, set Run64BitRuntime to False and everything will work like a charm.

Is MS Office necessary when using Microsoft.Jet.OLEDB provider?

I am trying to read an excel file an can do it using ADO.
My question is, do I need to have office installed when reading an excel file using the Jet.OLEDB Provider?
Currently I'm only testing on pcs that have office installed, that's why I'm asking.Programming language in concern is VB6.
Thanks.
No, you won't need to have office installed, but you will need to have MDAC/WDAC (which contains Jet) installed. On newer operating systems, this is part of the OS. On older OS's (Win 95/98/possibly even 2000), you needed to run an MDAC installer.
No - The Jet driver is used for reading any form of DB files from text files to Excel to Access and is offered my Microsoft independantly of Office.

how to merge my application,database and framework in one exe

I have created desktop application using visual studio 2010 (C#) connected with database (sql server 2008).
I want to make my application a setup project to install at any operating system (Xp,VISTA and Windows 7) and at different machines including all files like framework,sql server and database files in one exe.
Please help me i need this necessary
Thank you
An useful answer may be is to make a batch file with all the required software and database. When you start the batch, all the application will install.

Resources