
RDC: VB6 and DLL Only Numeric
English Version:
Hello,
i use VB6 SP5 on Win2K Pro for a Win2k Server, SQL2000 with Crystal Report
8.5 designer
i have a soft that connect me to a sql2000 server, read data by customer and
create a pdf file to each customer
i use RDC, i mean:
Dim CrystalReport_Application As New CRAXDRT.Application
Dim CrystalReport_Rapport As New CRAXDRT.Report
Dim crExportOptions As CRAXDRT.ExportOptions
and
Set CrystalReport_Rapport =
CrystalReport_Application.OpenReport(REPORT_RELANCE)
BUT, when i modify the soft in VB and i compile (create new EXE) and i
replace the Old EXE by the NEW,
my pdf files are well created BUT the numeric data are to ZERO. The text
data are well there, so the OLE DB connection
with SQL2k works good but i don t understand why the numeric data doesn t
export correctly
the only fix is to setup again the EXE with creation of package to install
EXE and DLL
please help, i m in the darkness !
French Version :)
Bonjour,
je developpe en VB 6 sp5 surwin2k pro pour un serveur win2k avec sql2000 et
crystal report 8.5 designer
j ai un programme qui me connecte a un sql2000, recupere des donnees par
client et genere des fichiers pdf par client
je crois que j utilise RDC:
Dim CrystalReport_Application As New CRAXDRT.Application
Dim CrystalReport_Rapport As New CRAXDRT.Report
Dim crExportOptions As CRAXDRT.ExportOptions
puis
Set CrystalReport_Rapport =
CrystalReport_Application.OpenReport(REPORT_RELANCE)
Seulement, quand je modifie le programme VB et que je le recompile et
replace le nouvel EXE a la meme place que l ancien, mes fichiers pdf se
generent bien MAIS les valeurs numeriques sont toutes a ZERO. les donnees
texte ne sont bien transferees de sql2000 vers mon rapport. J elimine ce
probleme en faisant une reinstallation du programme (setup + install de
dll....)
quelqu un pourrait m eclairer ?
merci d avance