🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: be.comp.programming
Article #4572

Re: Nieuw bestand aanmaken...

#4572
From: Bert Peers
Date: Tue, 12 Aug 2003 16:19
12 lines
1534 bytes
Cliff Beeckman wrote:
> Kan iemand mij de code geven hoe je een nieuw (leeg) bestand kan aanmaken
> met een door mij gekozen extensie.

Set FSO = CreateObject ("Scripting.FileSystemObject")
Set File = FSO.CreateTextFile ("test.opl", True)
File.WriteLine "Hoi"
File.Close

zoiets ?

Bert
Technical Details
Message-ID: <is8_a.298621$Fc6.27112815@amsnews02.chello.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-05!sn-xit-09!supernews.com!diablo.theplanet.net!kibo.news.demon.net!demon!newshub1.home.nl!home.nl!amsnews01.chello.com!amsnews02.chello.com.POSTED!53ab2750!not-for-mail
References: <gB7_a.63258$F92.7141@afrodite.telenet-ops.be>

Show Full Headers
Complete Article Headers
X-Google-Language: DUTCH,ASCII-7-bit
X-Google-Thread: fcea4,5eaac148e3110d3
X-Google-Attributes: gidfcea4,public
X-Google-ArrivalTime: 2003-08-12 09:19:28 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-05!sn-xit-09!supernews.com!diablo.theplanet.net!kibo.news.demon.net!demon!newshub1.home.nl!home.nl!amsnews01.chello.com!amsnews02.chello.com.POSTED!53ab2750!not-for-mail
From: Bert Peers <firstname@bpeers.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030612
X-Accept-Language: en-us, en, ja
MIME-Version: 1.0
Newsgroups: be.comp.programming
Subject: Re: Nieuw bestand aanmaken...
References: <gB7_a.63258$F92.7141@afrodite.telenet-ops.be>
In-Reply-To: <gB7_a.63258$F92.7141@afrodite.telenet-ops.be>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 13
Message-ID: <is8_a.298621$Fc6.27112815@amsnews02.chello.com>
Date: Tue, 12 Aug 2003 16:19:26 GMT
NNTP-Posting-Host: 195.162.217.200
X-Complaints-To: abuse@chello.be
X-Trace: amsnews02.chello.com 1060705166 195.162.217.200 (Tue, 12 Aug 2003 17:19:26 WEST)
NNTP-Posting-Date: Tue, 12 Aug 2003 17:19:26 WEST
Organization: chello broadband