🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: free.it.visual-basic
Article #506

Radice disco

#506
From: noizn
Date: Sun, 08 Jan 2006 13:42
14 lines
1256 bytes
Esiste una funzione in vb.net che mi restituisce un valore boolean per
sapere se un percorso � la radice di un disco?

un cosa del genere

dim mypath as string
dim isroot as boolean

isroot = mypath.isroot

oppure come posso fare per capirlo?
io avevo pensato a provare a contare il numero di backslash ( \ ) ma mi
sembra un metodo un po grezzo , nn c'� una funzione migliore? grazie a chi
mi risponder�. 
Technical Details
Message-ID: <43c116c0$0$334$5fc30a8@news.tiscali.it>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news4.google.com!news.glorb.com!tiscali!newsfeed1.ip.tiscali.net!draco.tiscalinet.it!news-f1.tiscali.it!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: f94ee,6f726b46edc474bc,start
X-Google-Attributes: gidf94ee,public
X-Google-Language: ITALIAN,ASCII
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news4.google.com!news.glorb.com!tiscali!newsfeed1.ip.tiscali.net!draco.tiscalinet.it!news-f1.tiscali.it!not-for-mail
From: "noizn" <zosterNO@SPAMhotmail.it>
Newsgroups: free.it.visual-basic
Subject: Radice disco
Date: Sun, 8 Jan 2006 14:42:32 +0100
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
Lines: 16
Message-ID: <43c116c0$0$334$5fc30a8@news.tiscali.it>
Organization: Tiscali SpA
NNTP-Posting-Host: 84.221.16.122
X-Trace: 1136727747 news.tiscali.it 334 84.221.16.122:1212
X-Complaints-To: abuse@tiscali.it