>Hi, Nancy:
> As you said, I put set step on in the startup program. The program stop at the startup program at line as: oDB = NEWOBJECT('losmain','sps'). The losmain is a custom class. Why I run it ok in the VFP but not the exe file?
Yongyao,
I'm really not sure that this would cure the problem but trying wouldn't harm. Could you change it to :
oDB = NEWOBJECT('losmain',FullPathToVCXIncludingExtension,"")
Also I think it would be good to check if "losmain" is defined more than once.
Cetin