error-handling

error-handling

am 10.01.2005 17:47:07 von Eduardo Rosa

thanks Bob!

I'm using ASP/VBScript and I'm feel little lost, because there's no
try/catch, just On Error Resume Next. Can someone advice me?

thank a lot again

Re: error-handling

am 10.01.2005 20:54:22 von jeff.nospam

On Mon, 10 Jan 2005 14:47:07 -0200, "Eduardo Rosa"
wrote:

>I'm using ASP/VBScript and I'm feel little lost, because there's no
>try/catch, just On Error Resume Next. Can someone advice me?

Switch to ASP.NET and get your try/catch blocks back. :)

Also see:

http://www.4guysfromrolla.com/webtech/021099-1.shtml

Jeff

Re: error-handling

am 18.01.2005 08:29:33 von Bullschmidt

<<
I'm using ASP/VBScript and I'm feel little lost, because there's no
try/catch, just On Error Resume Next. Can someone advice me?
>>

Unfortunately at least with ASP 2.0 and ASP 3.0 (available with Windows
2000) VBScript can do On Error Resume Next but not On Error Goto (except
On Error Goto 0 to turn off error handling).

Variable Types
http://www.asp101.com/samples/var_types.asp
This has an example of some simple error handling.

Best regards,
J. Paul Schmidt, Freelance ASP Web Developer
http://www.Bullschmidt.com
ASP Design Tips, ASP Web Database Demo, Free ASP Bar Chart Tool...


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!