Rickets Posted April 23, 2015 Report Share 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 Link to comment Share on other sites More sharing options...
kNigHt Posted April 23, 2015 Report Share 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 Link to comment Share on other sites More sharing options...
Rickets Posted April 23, 2015 Author Report Share Posted April 23, 2015 SMTPServer.Send(msg)Daca da fail chestia asta vreau sa o repete pana merge. Quote Link to comment Share on other sites More sharing options...
daatdraqq Posted April 23, 2015 Report Share Posted April 23, 2015 Try Quote Link to comment Share on other sites More sharing options...
Rickets Posted April 23, 2015 Author Report Share 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 Link to comment Share on other sites More sharing options...
H3xoR Posted April 23, 2015 Report Share 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 Link to comment Share on other sites More sharing options...
Byte-ul Posted April 23, 2015 Report Share Posted April 23, 2015 While TrueTry' fa ce vrei aiciExit WhileCatchEnd TryEnd Whilebafta Quote Link to comment Share on other sites More sharing options...