scriptcontrol error messages don't say what function they are in 
Author Message
 scriptcontrol error messages don't say what function they are in

I am working with the MS script control in VB.  The problem I find is
that when I load a function that calls another function in the script
control, and a run-time error occurs in one of them, the script
control cannot tell the user which function had the error.
In other words, suppose I have
sub CallOther()
   Call Other()
End Sub

Sub Other()
  x = 5 / 0
end sub

There is a run time error in "other" but the scriptcontrol cannot tell
the user that.  All the script control can do is say that there was an
error, and give the type of the error, but it cannot tell which
function had the error.
Does anybody know a work-around?
Marvin Cohen

Mon, 03 Jan 2005 20:51:22 GMT  
 [ 1 post ] 

 Relevant Pages 

1. I am RILLY thick so pleez don't bother replying to this message :)

2. API/function doesn't stop and I don't understand it :o)

3. Getting error saying it can't find VBSQL.VBX

4. Object Types don't match message

5. don't show this message again

6. Don't read this message!

7. Don't read this message!

8. Messages made with CDO don't sync to OST

9. Don't read this message!

10. Just a test message Don't read

11. I don't understand this message

12. Don't read this message!


Powered by phpBB® Forum Software