Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: FLASH: Return ASP Error Messages to Flash Movie?
From: Roy Vignes
Date: Wed, 3 Nov 1999 01:54:53 GMT

There is a difference between RESUME and RESUME NEXT

If you think that the operation might succeed a second (or third time) you
might want to try RESUME, which will attempt the failed instruction again
(and again, and again, ...). If there's no chance of a success after a
failure, then this couldn't possibly help.

To be honest, you probably need ON ERROR GOTO errorhandler. The use of
RESUME and RESUME NEXT in the error handler allows for very versatile error
handling.

Unfortunately, that may not be a feature of VBScript yet. It may appear soon
though, since the ON ERROR RESUME appeared (relatively) recently.

You may also do better using JavaScript instead of VBScript for that
particular module. I've had no server-side Javascript experience (yet), but
Java on the server definitely has superior error handling and recovery.

Roy Vignes
roy_beanatbellsouth [dot] net


----- Original Message -----
From: DeJarnett, Gary <a3gddattechmail [dot] admin [dot] ttu [dot] edu>
To: <flasheratchinwag [dot] com>
Sent: Tuesday, November 02, 1999 9:16 AM
Subject: FLASH: Return ASP Error Messages to Flash Movie?


> I am able to pull data from and save data to my SQL Server database from
> Flash 4 text fields through an active server page. Everything works fine
> unless there is an error (table locked, etc.). Whenever an error occurs,
I
> get no response back from my ASP whatsoever. In other words, even if I
just
> try to pass a literal error message back into my movie from the ASP
> (indicating table locked, etc...), nothing happens.
> If I add "on error resume next" anywhere in my ASP, then communication
with
> my movie also stops. If anyone has any suggestions, or is able to catch
> database errors and pass them back to Flash, I would appreciate a
response.
> Thanks,
>
> Gary
> a3gddattechmail [dot] admin [dot] ttu [dot] edu <a3gddattechmail [dot] admin [dot] ttu [dot] edu (mailto:a3gddattechmail [dot] admin [dot] ttu [dot] edu)>
> Programmer / Analyst II
> Texas Tech University
>
>
> flasher is generously supported by...
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Streaming Media WEST '99 Conference & Exhibition
> "The Worlds largest Internet Audio & Video Event"
> December 7 - 9, San Jose Convention Center, California
>
> Reserve your space today at http://www.streamingmedia.com
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> To unsubscribe or change your list settings go to
> http://www.chinwag.com/flasher or email helpatchinwag [dot] com
>
>



flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Streaming Media WEST '99 Conference & Exhibition
"The Worlds largest Internet Audio & Video Event"
December 7 - 9, San Jose Convention Center, California

Reserve your space today at http://www.streamingmedia.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  FLASH: Return ASP Error Messages to Flas, DeJarnett, Gary

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]