General information
Category:
ActiveX controls in 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
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only