AnsweredAssumed Answered

vrf Active-X Control causes Vee crash with division by zero

Question asked by VRFuser on Jan 18, 2005
Trap the error with an error output and toss the null as not useful.

rufus

-----Original Message-----
From: Soeren.Hedemand@nokia.com [mailto:Soeren.Hedemand@nokia.com]
Sent: Wednesday, January 19, 2005 9:29 AM
To: VRF
Subject: [vrf] Active-X Control causes Vee crash with division by zero

Hi all.

We are running Vee version 6.01 on Windows 2000.

I'm trying to make a call to an Active-X control that returns an array of
values in a variable of type Varying which is passed as a pointer (ByRef).
This all works very fine, except in some special cases, where the array
returned is empty; it contains no elements. When that happens, Vee crashes
with a division by zero error. See attached image.

Is there a to get around this problem?

/Sren



<<Vee_Error.jpg>>



---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@agilent.com". 
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".

Outcomes