Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.basic.visual.misc > #580
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!eternal-september.org!feeder.eternal-september.org!mx04.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: Arrays Q |
| Date | Wed, 21 Dec 2011 16:21:23 -0500 |
| Organization | A noiseless patient Spider |
| Lines | 23 |
| Message-ID | <jctikl$3nu$1@dont-email.me> (permalink) |
| References | <jct8o5$33p$1@dont-email.me> <jctab7$da9$1@dont-email.me> <jctbf4$kpb$1@dont-email.me> <01ccc024$c471f4e0$a202a8c0@vaio> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset="iso-8859-15"; format=flowed |
| Content-Transfer-Encoding | 8bit |
| Injection-Date | Wed, 21 Dec 2011 21:21:25 +0000 (UTC) |
| Injection-Info | mx04.eternal-september.org; posting-host="UVJBuiIZprDyxzUkJsiwfw"; logging-data="3838"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/TQCONC4MKtEzzgHbt6VNU" |
| X-Antivirus-Status | Clean |
| X-Newsreader | MesNews/1.08.03.00-gb |
| X-Antivirus | avast! (VPS 111221-1, 12/21/2011), Outbound message |
| Cancel-Lock | sha1:lIHhkz3cObF1JKtvPKvBLrApb+A= |
| X-ICQ | 543516788 |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.basic.visual.misc:580 |
Cross-posted to 2 groups.
Show key headers only | View raw
It happens that Thorsten Albers formulated : > GS <gs@somewhere.net> schrieb im Beitrag <jctbf4$kpb$1@dont-email.me>... >> What I'm looking for is a way to determine how many dims an unknown >> array is. Currently I use a Do...Loop with a counter that exits when a >> trapped error occurs. I don't think I'd ever encounter more than a 3D >> array, but a generic method to determine how many dims and how to get >> their respective ubounds is what I'm hoping someone can help me with. > > Try SafeArrayGetDim() (OLEAUT32.DLL). Thank you! I'll take a look at that function. There's really not much call to get this info unless a variant passed to a 3rd party component returns a multi-dim array. As I explained to MikeD, I currently loop arrays with unknown dims to do this but would like to find a better way to handle this task. I appreciate your input... -- 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
Arrays Q GS <gs@somewhere.net> - 2011-12-21 13:32 -0500
Re: Arrays Q "MikeD" <nobody@nowhere.edu> - 2011-12-21 13:59 -0500
Re: Arrays Q GS <gs@somewhere.net> - 2011-12-21 14:18 -0500
Re: Arrays Q "Thorsten Albers" <gudea@gmx.de> - 2011-12-21 21:09 +0000
Re: Arrays Q GS <gs@somewhere.net> - 2011-12-21 16:21 -0500
Re: Arrays Q ralph <nt_consulting64@yahoo.net> - 2011-12-21 20:25 -0600
Re: Arrays Q GS <gs@somewhere.net> - 2011-12-21 23:11 -0500
Re: Arrays Q "Nobody" <nobody@nobody.com> - 2011-12-22 07:18 -0500
Re: Arrays Q GS <gs@somewhere.net> - 2011-12-22 08:49 -0500
Re: Arrays Q "RB Smissaert" <bart.smissaert@gmail.com> - 2012-01-19 00:13 +0000
Re: Arrays Q GS <gs@somewhere.net> - 2012-01-18 19:27 -0500
csiph-web