Yongyao-
> oDB = NEWOBJECT('losmain','sps')
Is SPS a PRG or a VCX? If it's not a VCX, you do need to specify the extension.
> Why I run it ok in the VFP but not the exe file?
It does run in VFP okay? The EXE does not give an error? I'm confused then because I think you are saying you've found the error at the NEWOBJECT line, but if it runs then we are looking in the wrong place?
Anyway, to answer the question, we first have to find out what the problem is.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement