Re: two dimesional array

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Thanks for all the replies. I was able to look at the source code (its from another department), and we changed it on the component end.

Basically, since it was a VB.net component, with explicit off, the compiler was automatically changing it to what it thought needed to be returned. We correctly returned the 2 dimentional array, and the problem was fixed.

"Denny" <dbrowne@xxxxxxxxxxxxxxxx> wrote in message news:OZMHUCnTJHA.6044@xxxxxxxxxxxxxxxxxxxxxxx
This is probably an easy question but I can't figure it out.

I have a component that returns a 2 dimensional array of strings ( I don't have access to the source code). I also don't know what the dimensions will be.

When I try to assign it to another variable I get:

"Cant' explicitly convert type 'string' to 'string[*,*]

I've even tried to declare a string array with know dimensions but no luck. Anyone have a thought to the solution?

Thanks.

.



Relevant Pages

  • Re: two dimesional array
    ... You can call the static GetUpperBound method of the Array class to get ... I've even tried to declare a string array with know dimensions but no ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Gaussian cluster antenna array data
    ... A gaussian array is aimed towards resonant elements in cluster form. ... but these dimensions have not been ...
    (rec.radio.amateur.antenna)
  • RE: Mass Adding Comments
    ... insert code to fill your own array as desired at the beginning of the ... 'Determine number of dimensions in array using Chip Pearson's method ... ' Loop, increasing the dimension index Ndx, until an error occurs. ... 'Exit sub if dimensions do not match ...
    (microsoft.public.excel.programming)
  • Re: Gaussian cluster antenna array data
    ... A gaussian array is aimed towards resonant elements in cluster form. ... but these dimensions have not been ...
    (rec.radio.amateur.antenna)
  • RE: Mass Adding Comments
    ... insert code to fill your own array as desired at the beginning of the ... 'Determine number of dimensions in array using Chip Pearson's method ... ' Loop, increasing the dimension index Ndx, until an error occurs. ... 'Exit sub if dimensions do not match ...
    (microsoft.public.excel.programming)