Article View: be.comp.programming
Article #3394[VB.NET] Uitlezen van een document/bestand ???
From: Muse
Date: Mon, 15 Dec 2003 02:17
Date: Mon, 15 Dec 2003 02:17
45 lines
2358 bytes
2358 bytes
Hallo allemaal,
Ik wil graag het volgende doen:
Ik heb een map Muziek in mijn Favorieten. Van al die snelkoppelingen wil uk
de url in een txt bestand hebben op deze manier:
<tr>
<td><a href="www.link1"target="_blank" >- link1</a></td>
</tr>
<tr>
<td><a href="www.link2.nl"target="_blank" >- link2</a></td>
</tr>
Kan iemand mij vertellen hoe ik zo'n bestand uit moet lezen en het stuk
eruit kan pikken wat ik eruit wil hebben(achter BASEURL= dus)? En dan
natuurlijk nog in een document plakken.
Iemand die mij opweg kan helpen?
Met vriendelijke groet,
Robert van de Vijver.
Zo'n snelkoppeling bestaat uit de volgende text:
[DEFAULT]
BASEURL=http://www.google.nl/
[InternetShortcut]
URL=http://www.google.nl/
Modified=9068C9C07CF5C201B5
IconFile=http://www.google.nl/favicon.ico
IconIndex=1
Voor het langsgaan van alle bestanden
Dim sFiles() As String, i As Integer, s As String
sFiles = System.IO.Directory.GetFiles(Favorieten)
For i = LBound(sFiles) To UBound(sFiles)
s = System.IO.Path.GetFileName(sFiles(i))
'Functie voor het toevoegen van de tekst aan textbestand.
Next
Posted in:
be.comp.programming, nl.comp.programmeren
Technical Details
Message-ID:
<3fdd1980$0$41756$5fc3050@dreader2.news.tiscali.nl>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!skynet.be!newsgate.cistron.nl!transit.news.xs4all.nl!195.241.76.212.MISMATCH!tiscali!transit1.news.tiscali.nl!dreader2.news.tiscali.nl!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: DUTCH,ASCII-7-bit X-Google-Thread: 107324,33b4f202062195e3,start X-Google-Attributes: gid107324,public X-Google-Thread: fcea4,33b4f202062195e3,start X-Google-Attributes: gidfcea4,public X-Google-ArrivalTime: 2003-12-14 18:17:24 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!skynet.be!newsgate.cistron.nl!transit.news.xs4all.nl!195.241.76.212.MISMATCH!tiscali!transit1.news.tiscali.nl!dreader2.news.tiscali.nl!not-for-mail From: "Muse" <vandevijver@no_spam@quicknet.nl> Newsgroups: be.comp.programming,nl.comp.programmeren Subject: [VB.NET] Uitlezen van een document/bestand ??? Date: Mon, 15 Dec 2003 03:17:10 +0100 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Lines: 47 Message-ID: <3fdd1980$0$41756$5fc3050@dreader2.news.tiscali.nl> Organization: Tiscali bv NNTP-Posting-Date: 15 Dec 2003 03:16:32 CET NNTP-Posting-Host: 82.168.35.139 X-Trace: 1071454592 dreader2.news.tiscali.nl 41756 82.168.35.139:25035 X-Complaints-To: abuse@tiscali.nl