Information générale
Catégorie:
Contrôles ActiveX en VFP
Hi,
I created an ocx in VB which I use in VFP. In one case a get an overflow error. I finally found that the error occurs at the first division I do in the ocx. If I insert a line of code like
msgBox CStr(10/2)
I will still get the overflow message (I mean that 10/2 produces the overflow!)
This behaviour is reproducable, but only with exactly the same sequence of actions from VFP. If I add on error resume next to the function I can see it skips only the first division in the function, later divisions work fine.
My questions are:
- Has anyone seen this behaviour before?
- Is this a VFP issue or a VB issue? Since not every instance of the ocx has this behaviour I tend to think it is 'somewhere between'.
Thanks,
Auke
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