Quantcast
Channel: StreamWriter Erro
Viewing all articles
Browse latest Browse all 3

StreamWriter Erro

$
0
0

nesta  rotina quando o arquivo existe

retorna um erro

 private void retObjWriter()
        {
            StreamWriter writer = null;

            try
            {
                writer = new StreamWriter(@"C:\ARQUIVOS\arquivo.txt");
            }
            catch (Exception ex)
            {
                ex.ToString();
            }



            this.writer = writer;
        }


Viewing all articles
Browse latest Browse all 3

Latest Images





Latest Images