kovalev24
Messages postés6Date d'inscriptionmardi 17 mars 2009StatutMembreDernière intervention17 mars 2009
-
20 janv. 2009 à 18:39
kovalev24
Messages postés6Date d'inscriptionmardi 17 mars 2009StatutMembreDernière intervention17 mars 2009
-
20 janv. 2009 à 20:34
Bonjour tout le monde,
j'ai une application vb.net qui genere des fichiers excel et envoi ce fichier par email, ca marche tres bien mais des fois je recois un message d'erreur.
System.ArgumentOutOfRangeException: L'index et la longueur doivent faire référence à un emplacement situé dans la chaîne. Nom du paramètre : length à System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy) à System.String.Substring(Int32 startIndex, Int32 length) à PoMailPh.frmPrinc.fct_send_mail(String m_from, String m_to, String m_subject, Int32 m_type, String m_msg, String f_name) à PoMailPh.frmPrinc.fct_fill_excel(String[] lines, String sqltype) à PoMailPh.frmPrinc.procVerifFichier().
je sais pas exactement c koi qui declenche ce message d'erreur.
Merci bcp pour votre aide.
A voir également:
L'index et la longueur doivent faire référence à un emplacement situé dans la chaîne