Re: How to access FoxPro DBF tables using wxWidgets on Windows?

103 views
Skip to first unread message

joseph...@thomson.com

unread,
Jul 11, 2007, 1:07:26 PM7/11/07
to wx-u...@lists.wxwidgets.org

If the DBF file format used by Foxpro was the same as the dbase format, then you might be able to use the dbf library at http://sourceforge.net/projects/dbase/

 

There are other projects on http://sourceforge.net and http://freshmeat.net if you search on “DBF” or “Foxpro”.

Fulvio Senore

unread,
Jul 11, 2007, 1:29:35 PM7/11/07
to wx-u...@lists.wxwidgets.org
My answer is clearly OT, since this is a wxWidgets list, but have you
considered using another language?

If you only want to have a Windows version the good old VB6 is going to
let you code much faster than C++.
Even a .NET language will be a much faster development solution.

I am exploring a way to write a database application with wxWidgets, but
I want to be able to support other platforms and I do not want to have
anything to do with Microsoft tools anymore (other than the C++
compiler). From this point of view wxWidgets is a good solution, but if
you have other requirements there are other tools and languages that let
you develop much more quickly.

Fulvio Senore

Petr Prikryl ha scritto:
> Hi,
>
> I am going to rewrite the old application running on MS Windows (written
> in C++). It works with free DBF tables (older FoxPro format). The
> decision was made to use wxWidgets. My first goal is to read the content
> of a DBF table.
>
> The old application used VFPODBC driver by Microsoft and ADO object to
> do that. It seems that wx database classes require DSN. If I recall
> correctly, DSN can be used also with ADO, but it is possible to do it
> also without DSN via setting the connection string (like
> "Provider=MSDASQL;Driver={Microsoft Visual FoxPro
> Driver};SourceType=DBF;SourceDB=some path here;OLE DB Services = -2;" --
> the real one taken from the old application). Is something possible also
> with wxWidgets (i.e. without having DSN)? Or can the application create
> DSN programmatically for that purpose?
>
> I am just reading wxWidgets 2.8.4 documentation. In the mean time, is
> there any self-standing another example/tutorial of reading DBF files
> compilable by Visual Studio C++ 8?
>
> Thanks for any info
> pepr
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wx-users-u...@lists.wxwidgets.org
> For additional commands, e-mail: wx-use...@lists.wxwidgets.org
>
>
>
>
>

Reply all
Reply to author
Forward
0 new messages