Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VC++ or VB to VFP Code
Message
 
À
16/12/2005 09:15:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01078483
Message ID:
01078649
Vues:
8
That is great. Thanks to you! I think this is first time ever that someones change their code so it be able to works with VFP!


>Hi Borislav,
>I tried the code below:
>
>IF FILE(FULLPATH(nextform))
>   IF nextform <> firstform	&& not the same, merge them
>     IF FILE(FULLPATH(firstform))
> 	DIMENSION doclist(2)
>	doclist(1) = fullpath(firstform)
>	doclist(2) = fullpath(nextform)
>
>        *--Tried with and without the next line and also ,0 in lieu of 10
>        COMARRAY(ofrmPDFTool,10)
>	>        WITH ofrmPDFTool.oPDFTool
>	   .MergeDocs(@doclist)
>	   .SaveToFile(newfile)
>	ENDWITH
>	IF FILE(FULLPATH(newfile))
>	   COPY FILE (FULLPATH(newfile)) TO (FULLPATH(firstform))
>	ENDIF
>     ENDIF
>   ENDIF
>ENDIF
>
>But it returns the error:
>
>OLE Exeption error: Exception code eedfade. OLE Object may be corrupt.
>
>I contacted Gnostice (they are in India so it took overnight for a response). They were able to reproduce my problems in VFP and are building a new ocx for me to use for Foxpro. We'll see if it makes a difference on Monday hopefully.
>
>Thanks for your help.
>
>Tracy
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform