Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

VB.net function? It is not working when i call it..?

1 Answer

Relevance
  • 10 years ago
    Favorite Answer

    The return statement returns a value to the calling module and then terminates the function.

    You have a list of return statements. Only the first return will do something.

    You need to find another way to do what you want.

    It may be that you need multiple calls to a functions with an index to identify what you want returned or you code multiple functions.

    Have fun.

Still have questions? Get your answers by asking now.