USUÁRIO:      SENHA:        SALVAR LOGIN ?    Adicione o VBWEB na sua lista de favoritos   Fale conosco 

 

  Fórum

  ASP - Active Server Page
Voltar
Autor Assunto:  Abrindo arquivos TXT
Vinícius
ARAXÁ
MG - BRASIL
Postada em 11/03/2005 14:43 hs            
Galera, to precisando abrir uns arquivos txt, mas não estou conseguindo... no IIS ele fica carregando e não abre... dêem uma olhada no código.... se alguém puder me ajudar, agradeço...
 
 
<html>
<%
Const OpenFileForReading = 1
Const OpenFileForWriting = 2
Const OpenFileForAppending = 8
%>
<head>
<title>Abrindo Arquivos</title>
</head>
<body>
<%
Dim fso, Arquivo
Set fso = CreateObject("Scripting.FileSystemObject")
set Arquivo = fso.OpenTextFile("texto.txt", ForWriting, True)
Arquivo.writeline "TESTANDO"
Arquivo.close

set Arquivo = fso.OpenTextFile("texto.txt", ForReading, True)
response.write Arquivo.readline
Arquivo.close
%>
</body>
</html>
     
Vinícius
ARAXÁ
MG - BRASIL
Postada em 11/03/2005 14:46 hs            
galera, se alguém tiver algum exemplo, pode até ser pra access (MDB), eh q eh meio urgente, valeu
     
Vinícius
ARAXÁ
MG - BRASIL
ENUNCIADA !
Postada em 13/03/2005 21:40 hs            
ninguem sabe qual pode ser o erro naum?
   
Página(s): 1/1    


Seu Nome:

Seu eMail:

ALTERAR PARA MODO HTML
Mensagem:

[:)] = 
[:P] = 
[:(] = 
[;)] = 

HTML DESLIGADO

     
 VOLTAR

  



CyberWEB Network Ltda.    © Copyright 2000-2024   -   Todos os direitos reservados.
Powered by HostingZone - A melhor hospedagem para seu site
Topo da página