Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: "Mayayana" Newsgroups: comp.lang.basic.visual.misc,microsoft.public.vb.general.discussion Subject: Re: Need help with writing drive property: Possible solution Date: Sun, 22 May 2011 18:29:51 -0400 Organization: A noiseless patient Spider Lines: 13 Message-ID: References: Injection-Date: Sun, 22 May 2011 22:28:24 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="hA0LZgtsTmFlvERssm/+Tg"; logging-data="1374"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19+21UhTAh1y65DSFlkLzo/0mYWowEFuGE=" X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512 X-Newsreader: Microsoft Outlook Express 6.00.2900.5512 Cancel-Lock: sha1:dKNbpwBMpFPGJ2OX/q/qRWf9G+g= X-Priority: 3 X-MSMail-Priority: Normal Xref: x330-a1.tempe.blueboxinc.net comp.lang.basic.visual.misc:185 | | I guess some people just like doing things the hard way. Here's how I | did it... | Interesting. It works fine. I had tried using Win32_LogicalDiskToPartition at first and got an error that it "isn't a collection". I must have had a typo because your code works fine for me.