Solved

Using .GetUpperBound(0) for 2 dimentional arrays

Posted on 2006-11-22
2
411 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
Comment Utility
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
Comment Utility
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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

743 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

9 Experts available now in Live!

Get 1:1 Help Now