Hi All,
I want to open an existing dbf file in the wpf app, create a new dbf file with the same structure and transfer the selected records into new dbf. Which XSharp Dll need to be added to the WPF app (Core dialect)?
Juraj
WPF app and DBF file
WPF app and DBF file
Hi Juraj,
it depends if you are using the DBServer or the functional access.
For the functional access you need the X# Runtime, the macrocompiler and the RDD:
XSharp.Core
XSharp.VO
XSharp.Macrocompiler
XSharp.RDD
XSharp.RT
If you like to use the DBServer class, you need also
XSharp.VORDDClasses
XSharp.VOSystemClasses.
Wolfgang
P.S. you can also use the VORDDClasses and the VOSystemClasses instead, but then you are limited to 32 Bit
it depends if you are using the DBServer or the functional access.
For the functional access you need the X# Runtime, the macrocompiler and the RDD:
XSharp.Core
XSharp.VO
XSharp.Macrocompiler
XSharp.RDD
XSharp.RT
If you like to use the DBServer class, you need also
XSharp.VORDDClasses
XSharp.VOSystemClasses.
Wolfgang
P.S. you can also use the VORDDClasses and the VOSystemClasses instead, but then you are limited to 32 Bit
Wolfgang Riedmann
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
WPF app and DBF file
Hi Wolfgang,
Thank you for your response. When I use this code:
dbUseArea(TRUE,"DBFCDX","OLDDBFFILE","OLD",FALSE)
dbCopyStruct("NEWDBFFLE")
dbCloseArea()
dbCloseAll()
OLDDBFFILE is created in VO 2.6 app.
OLDDBFFILE I can open i MS Excel, NEWDBFFILE can not open in MS Excel or another DBF viewer. Error message : the file has a different formatJuraj
Thank you for your response. When I use this code:
dbUseArea(TRUE,"DBFCDX","OLDDBFFILE","OLD",FALSE)
dbCopyStruct("NEWDBFFLE")
dbCloseArea()
dbCloseAll()
OLDDBFFILE is created in VO 2.6 app.
OLDDBFFILE I can open i MS Excel, NEWDBFFILE can not open in MS Excel or another DBF viewer. Error message : the file has a different formatJuraj
WPF app and DBF file
Hi Juraj,
Can you please send this dbf file?
Can you please send this dbf file?
Chris Pyrgas
XSharp Development Team
chris(at)xsharp.eu
XSharp Development Team
chris(at)xsharp.eu
WPF app and DBF file
Hi Wolfgang,
Those two libraries are AnyCPU in X#!P.S. you can also use the VORDDClasses and the VOSystemClasses instead, but then you are limited to 32 Bit
Chris Pyrgas
XSharp Development Team
chris(at)xsharp.eu
XSharp Development Team
chris(at)xsharp.eu
WPF app and DBF file
HI Chris,
file in attachments
Juraj
file in attachments
Juraj
WPF app and DBF file
Hi Chris,
in attachments
Juraj
in attachments
Juraj
- Attachments
-
- M022021.zip
- (305 Bytes) Downloaded 97 times
WPF app and DBF file
Hi Juraj,
Thanks, I gave it a try and do not see an obvious problem, I can open the created new file with a dbeditor full without issues. Can you please send also a compilable sample that reproduces the problem?
Thanks, I gave it a try and do not see an obvious problem, I can open the created new file with a dbeditor full without issues. Can you please send also a compilable sample that reproduces the problem?
Chris Pyrgas
XSharp Development Team
chris(at)xsharp.eu
XSharp Development Team
chris(at)xsharp.eu
WPF app and DBF file
Hi Chris,
the user of the application opens this file in the MS excel program and continues to work with it. So I need that the file can also be opened in MS excel.
I will prepare the sample and send it.
Juraj
the user of the application opens this file in the MS excel program and continues to work with it. So I need that the file can also be opened in MS excel.
I will prepare the sample and send it.
Juraj
WPF app and DBF file
Jurai,
opened your file with Planmaker (an Excel-clone), with plain X# and with cmVoDBX without any problem.
LibreOffice 7.0 complains the file to be damaged.
Does it make any difference, if you add at least one record to the file?
opened your file with Planmaker (an Excel-clone), with plain X# and with cmVoDBX without any problem.
LibreOffice 7.0 complains the file to be damaged.
Does it make any difference, if you add at least one record to the file?
Regards
Karl
(on Win8.1/64, Xide32 2.20, X#2.20.0.3)
Karl
(on Win8.1/64, Xide32 2.20, X#2.20.0.3)