Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: GS 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:33:36 -0400 Organization: A noiseless patient Spider Lines: 21 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15"; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Sun, 22 May 2011 22:30:08 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="UVJBuiIZprDyxzUkJsiwfw"; logging-data="2116"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+ZYsBc7pU5OgJdCcSN5O/W" X-Antivirus-Status: Clean X-Newsreader: MesNews/1.08.03.00-gb X-Antivirus: avast! (VPS 110522-1, 05/22/2011), Outbound message Cancel-Lock: sha1:02SVllvx9PDBO8WSsDpnHd3FHe0= X-ICQ: 543516788 Xref: x330-a1.tempe.blueboxinc.net comp.lang.basic.visual.misc:186 Mayayana wrote on 5/22/2011 : >> >> 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. I'm glad! It's a lot simpler approach than what was detailed in that html, huh? -- Garry Free usenet access at http://www.eternal-september.org ClassicVB Users Regroup! comp.lang.basic.visual.misc