errorhandling with resume next...

  • Thread starter Thread starter Paul M
  • Start date Start date
P

Paul M

Hi there,

i'm upgrading a vb project to .net, and have places in code where i've used
"On error goto errorHandler", and in the errorhandler i perform whatever
then do a "Resume Next"

I want to replace all these with the Try/Catch/Finally handler, but dont
know how to use somethling like a resume next statement with it...

any help appreciated,
Paul.
 
Hi Paul.

When you look in this newsgroup (today some rows bellow this) then Woody
Splawn has asked this message also twice.

Peter Huang gives a more general description about it.

I hope this helps?

Cor
 
* "Paul M said:
i'm upgrading a vb project to .net, and have places in code where i've used
"On error goto errorHandler", and in the errorhandler i perform whatever
then do a "Resume Next"

I want to replace all these with the Try/Catch/Finally handler, but dont
know how to use somethling like a resume next statement with it...

Place each statement in a separate 'Try...Catch' handler...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top