Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.basic.visual.misc > #180
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!feeder.news-service.com!85.214.198.2.MISMATCH!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | GS <gs@somewhere.net> |
| 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 14:49:34 -0400 |
| Organization | A noiseless patient Spider |
| Lines | 24 |
| Message-ID | <irblle$alc$1@dont-email.me> (permalink) |
| References | <ir98hg$5dq$1@dont-email.me> <ir9gm7$mgl$1@dont-email.me> <ir9i00$t2k$1@dont-email.me> <ir9vnu$veo$1@dont-email.me> <ira8ut$6u3$1@dont-email.me> <irb2l7$ds6$1@dont-email.me> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset="iso-8859-15"; format=flowed |
| Content-Transfer-Encoding | 8bit |
| Injection-Date | Sun, 22 May 2011 18:46:06 +0000 (UTC) |
| Injection-Info | mx04.eternal-september.org; posting-host="UVJBuiIZprDyxzUkJsiwfw"; logging-data="10924"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/ZXFIDVw6vQ2U/1hF3cLpG" |
| 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:5UDjum5BDdIEXN3Age6SzI3huwM= |
| X-ICQ | 543516788 |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.basic.visual.misc:180 |
Cross-posted to 2 groups.
Show key headers only | View raw
After serious thinking Mayayana wrote : > I found the answer, but it's very ugly: > > http://www.vistax64.com/powershell/125429-associating-wmi-disk-classes.html > > It turns out that you need to connect the disk IDs to > the logical partitions with Win32_LogicalDiskToPartition > using "ASSOCIATORS OF" Geez.., how did I miss this the 1st time? Win32_LogicalDiskToPartition returns both the drive index# AND its drive letter. So parsing the info from the returned strings can be used with Win32_DiskDrive to associated by index. This will work for now, until I get a pure VB (+API) solution not dependant on the WMI service. Big thanks to you, Mayayana! -- Garry Free usenet access at http://www.eternal-september.org ClassicVB Users Regroup! comp.lang.basic.visual.misc
Back to comp.lang.basic.visual.misc | Previous | Next — Previous in thread | Next in thread | Find similar
Need help with writing drive property GS <gs@somewhere.net> - 2011-05-21 16:54 -0400
Re: Need help with writing drive property "Mayayana" <mayayana@invalid.nospam> - 2011-05-21 19:10 -0400
Re: Need help with writing drive property GS <gs@somewhere.net> - 2011-05-21 19:35 -0400
Re: Need help with writing drive property "Mayayana" <mayayana@invalid.nospam> - 2011-05-21 23:27 -0400
Re: Need help with writing drive property GS <gs@somewhere.net> - 2011-05-22 00:49 -0400
Re: Need help with writing drive property GS <gs@somewhere.net> - 2011-05-22 00:58 -0400
Re: Need help with writing drive property: Possible solution GS <gs@somewhere.net> - 2011-05-22 02:07 -0400
Re: Need help with writing drive property: Possible solution "MikeD" <nobody@nowhere.edu> - 2011-05-22 09:02 -0400
Re: Need help with writing drive property: Possible solution GS <gs@somewhere.net> - 2011-05-22 14:29 -0400
Re: Need help with writing drive property: Possible solution "MikeD" <nobody@nowhere.edu> - 2011-05-22 17:01 -0400
Re: Need help with writing drive property: Possible solution GS <gs@somewhere.net> - 2011-05-22 18:28 -0400
Re: Need help with writing drive property: Possible solution GS <gs@somewhere.net> - 2011-05-22 18:29 -0400
Re: [OT] Bolding text. Dee Earley <dee.earley@icode.co.uk> - 2011-05-23 10:54 +0100
Re: [OT] Bolding text. "Jim Mack" <no-uce-ube@mdxi.com> - 2011-05-23 09:33 -0400
Re: [OT] Bolding text. Helmut_Meukel <Helmut_Meukel@bn-hof.invalid> - 2011-05-23 17:48 +0200
Re: [OT] Bolding text. Helmut_Meukel <Helmut_Meukel@bn-hof.invalid> - 2011-05-23 18:00 +0200
Re: [OT] Bolding text. Dee Earley <dee.earley@icode.co.uk> - 2011-05-24 10:44 +0100
Re: Need help with writing drive property: Possible solution "MikeD" <nobody@nowhere.edu> - 2011-05-23 08:51 -0400
Re: Need help with writing drive property: Possible solution GS <gs@somewhere.net> - 2011-05-23 10:48 -0400
Re: Need help with writing drive property: Possible solution "Mayayana" <mayayana@invalid.nospam> - 2011-05-22 09:23 -0400
Re: Need help with writing drive property: Possible solution GS <gs@somewhere.net> - 2011-05-22 14:36 -0400
Re: Need help with writing drive property: Possible solution GS <gs@somewhere.net> - 2011-05-22 14:49 -0400
Re: Need help with writing drive property: Possible solution GS <gs@somewhere.net> - 2011-05-22 16:26 -0400
Re: Need help with writing drive property: Possible solution "Mayayana" <mayayana@invalid.nospam> - 2011-05-22 18:29 -0400
Re: Need help with writing drive property: Possible solution GS <gs@somewhere.net> - 2011-05-22 18:33 -0400
Re: Need help with writing drive property: Possible solution "Mayayana" <mayayana@invalid.nospam> - 2011-05-22 18:36 -0400
Re: Need help with writing drive property: Possible solution GS <gs@somewhere.net> - 2011-05-22 18:49 -0400
Re: Need help with writing drive property: Possible solution "Mayayana" <mayayana@invalid.nospam> - 2011-05-22 20:48 -0400
Re: Need help with writing drive property: Possible solution GS <gs@somewhere.net> - 2011-05-22 21:30 -0400
Re: Need help with writing drive property "MikeD" <nobody@nowhere.edu> - 2011-05-21 19:42 -0400
Re: Need help with writing drive property GS <gs@somewhere.net> - 2011-05-21 20:14 -0400
Re: Need help with writing drive property - Final Approach GS <gs@somewhere.net> - 2011-05-23 13:20 -0400
csiph-web