Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Overflow
Message
From
21/08/2000 08:45:56
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Overflow
Miscellaneous
Thread ID:
00407258
Message ID:
00407258
Views:
49
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
Map
View

Click here to load this message in the networking platform