Article View: be.comp.programming
Article #10607Re: extensie - VB6
From: Byte
Date: Sun, 03 Mar 2002 19:13
Date: Sun, 03 Mar 2002 19:13
26 lines
1820 bytes
1820 bytes
Daarvoor is er nu net de help :) komt erop neer: ieder bestand heet naam.extensie windows herkent een bv word-document omdat de extensie .doc is of een zip-file omdat die bv file.zip heet. als je daar nu iets achter zet bv file.zip.bla dan denkt windows dat het bestand van het type "bla" is. Dus gaat hij zoeken in zijn file-type en waarschijnlijk dat niet vinden. Dus zou een domme windowsgebruiker niet weten wat met dat bestand te doen. en jij kan achteraf gewoon de bestandsnaamopvragen. dit steek je in een string daar zoek je de positie van het laatste punt in (hier dus 9) en dan pak je een substring van postitie 1 tem 8 en voila, je hebt je "oude" bestand terug. En windows zal deze weer herkennen. Hoe je bestandsnamen opvraagt, en die substrings, vind je allemaal in de help. Byte
Technical Details
Message-ID:
<3c8275e2$0$33513$ba620e4c@news.skynet.be>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news-x2.support.nl!newsfeed.wirehub.nl!skynet.be!skynet.be!louie!not-for-mailReferences:
<3c826180$0$250$ba620e4c@news.skynet.be> <3c827128$0$251$ba620e4c@news.skynet.be> <3c8272ff$0$251$ba620e4c@news.skynet.be>Show Full Headers
Complete Article Headers
X-Google-Language: DUTCH,ASCII-7-bit X-Google-Thread: fcea4,5bb92d3f755b6812 X-Google-Attributes: gidfcea4,public X-Google-ArrivalTime: 2002-03-03 11:17:30 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news-x2.support.nl!newsfeed.wirehub.nl!skynet.be!skynet.be!louie!not-for-mail From: "Byte" <news@bytecreation.be> Newsgroups: be.comp.programming References: <3c826180$0$250$ba620e4c@news.skynet.be> <3c827128$0$251$ba620e4c@news.skynet.be> <3c8272ff$0$251$ba620e4c@news.skynet.be> Subject: Re: extensie - VB6 Date: Sun, 3 Mar 2002 20:13:24 +0100 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Lines: 29 Message-ID: <3c8275e2$0$33513$ba620e4c@news.skynet.be> Organization: -= Skynet Usenet Service =- NNTP-Posting-Host: 217.136.107.78 X-Trace: 1015182818 reader1.news.skynet.be 33513 217.136.107.78 X-Complaints-To: abuse@skynet.be