asp_components thread: RES: Re: RES: Hi, i need help plz! Server Object doesn't work....Server.CreateObject
This code should be working. This is the example code for file system object
we see everywhere. Isn't there any other code included? If there isn't, I'm
afraid I can't help you.
-----Mensagem original-----
De: Kostas F [mailto:pomf70@h...]
Enviada em: quarta-feira, 10 de julho de 2002 19:50
Para: ASP components
Assunto: [asp_components] Re: RES: Hi, i need help plz! Server Object
doesn't work....Server.CreateObject
the code is...
<%
dim fs,fname
set fs=Server.CreateObject("Scripting.FileSystemObject")
set fname=fs.CreateTextFile("c:\test.txt",true)
fname.WriteLine("Hello World!")
fname.Close
set fname=nothing
set fs=nothing
%>
but it can create this text file
%%email.unsub%%
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.373 / Virus Database: 208 - Release Date: 1/7/2002
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.373 / Virus Database: 208 - Release Date: 1/7/2002