Article View: be.comp.programming
Article #4574Re: Nieuw bestand aanmaken...
From: Cliff Beeckman
Date: Tue, 12 Aug 2003 16:28
Date: Tue, 12 Aug 2003 16:28
19 lines
1757 bytes
1757 bytes
Heb ik even geprobeerd maar hij zegt als compile error: invalid use of
property waarbij hij verwijst naar de property 'file'...
"Bert Peers" <firstname@bpeers.com> schreef in bericht
news:is8_a.298621$Fc6.27112815@amsnews02.chello.com...
> 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:
<IA8_a.63358$F92.7129@afrodite.telenet-ops.be>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!news-out.visi.com!petbe.visi.com!news.tele.dk!news.tele.dk!small.news.tele.dk!proxad.net!proxad.net!skynet.be!skynet.be!ossa.telenet-ops.be!afrodite.telenet-ops.be.POSTED!not-for-mailReferences:
<gB7_a.63258$F92.7141@afrodite.telenet-ops.be> <is8_a.298621$Fc6.27112815@amsnews02.chello.com>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:28:25 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!news-out.visi.com!petbe.visi.com!news.tele.dk!news.tele.dk!small.news.tele.dk!proxad.net!proxad.net!skynet.be!skynet.be!ossa.telenet-ops.be!afrodite.telenet-ops.be.POSTED!not-for-mail From: "Cliff Beeckman" <cliffbeeckman@pandora.be> Newsgroups: be.comp.programming References: <gB7_a.63258$F92.7141@afrodite.telenet-ops.be> <is8_a.298621$Fc6.27112815@amsnews02.chello.com> Subject: Re: Nieuw bestand aanmaken... Lines: 21 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2720.3000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: <IA8_a.63358$F92.7129@afrodite.telenet-ops.be> Date: Tue, 12 Aug 2003 16:28:24 GMT NNTP-Posting-Host: 213.118.139.149 X-Complaints-To: abuse@telenet.be X-Trace: afrodite.telenet-ops.be 1060705704 213.118.139.149 (Tue, 12 Aug 2003 18:28:24 MET DST) NNTP-Posting-Date: Tue, 12 Aug 2003 18:28:24 MET DST Organization: Telenet Internet