P.S.: mi pare strano che non funzioni anche con quest'ultimo metodo; che errore ti dà e di che versione di .NET Framework stiamo parlando?