Solved

Using .GetUpperBound(0) for 2 dimentional arrays

Posted on 2006-11-22
2
419 Views
Last Modified: 2009-07-29
Hi All,

I would like to use the following:

m_objSequence().GetUpperBound(0)

but m_objSequence is a two dimentional array. VS doesnt like it and says that "Number of indices is less than the number of dimentions of the indexed array".

Any idea what I need to put in the () to make it work?

Thanks.
0
Comment
Question by:eadam-uk
2 Comments
 
LVL 10

Accepted Solution

by:
Kinger247 earned 500 total points
ID: 17999670
Mr. eadam-uk your not having a good time are you !

Depends on which dimension ...

m_objSequence.GetUpperBound(0) = first dimension

m_objSequence.GetUpperBound(1) = second dimension

0
 

Author Comment

by:eadam-uk
ID: 17999768
Thanks Kinger247!

I am having lots of fun learning VB ;-)

My book takes me so far into the pond of knowledge and then leaves me there to drown and I don't think F1 has given me the answer I need yet.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
Introduction When many people think of the WebBrowser (http://msdn.microsoft.com/en-us/library/2te2y1x6%28v=VS.85%29.aspx) control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now