Rickets Posted April 23, 2015 Report Posted April 23, 2015 Cum facem in VB.net sa ne intoarcem la un statement si sa il executam iarasi in caz de genereaza eroare???De exemplu:Functie(argument)On error resume ??? Quote
kNigHt Posted April 23, 2015 Report Posted April 23, 2015 Cum facem in VB.net sa ne intoarcem la un statement si sa il executam iarasi in caz de genereaza eroare???De exemplu:Functie(argument)On error resume ???Da te rog mai multe detalii daca vrei sa te ajutam, poate si un caz concret. Quote
Rickets Posted April 23, 2015 Author Report Posted April 23, 2015 SMTPServer.Send(msg)Daca da fail chestia asta vreau sa o repete pana merge. Quote
Rickets Posted April 23, 2015 Author Report Posted April 23, 2015 TryDa, try-catch, dar nu repeta daca a dat fail. Eu vreau sa repete actiunea chiar daca a dat error. Quote
H3xoR Posted April 23, 2015 Report Posted April 23, 2015 SMTPServer.Send(msg)Daca da fail chestia asta vreau sa o repete pana merge.Incercare: Try SMTPServer.Send(msg) Catch GoTo Incercare End TryÎncearc? a?a. Quote
Byte-ul Posted April 23, 2015 Report Posted April 23, 2015 While TrueTry' fa ce vrei aiciExit WhileCatchEnd TryEnd Whilebafta Quote