Home All Groups Group Topic Archive Search About
Author
23 Mar 2006 3:37 PM
mcnewsxp
i get 'System.Runtime.InteropServices.COMException' occurred in
axinterop.mshierarchicalflexgridlib.dll error on this line while trying to
reset column sizes on a MSHFlexGrid:

..col = j

when j = 2

this is a vb6 to vb.net conversion.
???

tia
mcnewsxp

Author
23 Mar 2006 3:56 PM
Peter Proost
Maybe an out of bound column/row index?

Greetz Peter Proost

--
Programming today is a race between software engineers striving to build
bigger and better idiot-proof programs, and the Universe trying to produce
bigger and better idiots. So far, the Universe is winning. (Rich Cook)

Show quoteHide quote
"mcnewsxp" <mcour***@mindspring.com> schreef in bericht
news:eloj$#oTGHA.4960@TK2MSFTNGP12.phx.gbl...
> i get 'System.Runtime.InteropServices.COMException' occurred in
> axinterop.mshierarchicalflexgridlib.dll error on this line while trying to
> reset column sizes on a MSHFlexGrid:
>
> .col = j
>
> when j = 2
>
> this is a vb6 to vb.net conversion.
> ???
>
> tia
> mcnewsxp
>
>
Author
23 Mar 2006 4:08 PM
mcnewsxp
> Maybe an out of bound column/row index?
>
what would be out of bounds?
this works fine in VB6 and it works fine on another machine in VB.NET.
Author
23 Mar 2006 4:36 PM
mcnewsxp
the grid is buit on the fly so i had to set the last column's size before it
knew how many columns - so out of bounds was the right call.
thanks.

Show quoteHide quote
"mcnewsxp" <mcour***@mindspring.com> wrote in message
news:uaz8NQpTGHA.424@TK2MSFTNGP12.phx.gbl...
>> Maybe an out of bound column/row index?
>>
> what would be out of bounds?
> this works fine in VB6 and it works fine on another machine in VB.NET.
>
>
Author
24 Mar 2006 7:13 AM
Peter Proost
Hi that's the nice thing about the flexgrid, the obscure error messages :-)

Greetz Peter

--
Programming today is a race between software engineers striving to build
bigger and better idiot-proof programs, and the Universe trying to produce
bigger and better idiots. So far, the Universe is winning. (Rich Cook)

Show quoteHide quote
"mcnewsxp" <mcour***@mindspring.com> schreef in bericht
news:OpFOjfpTGHA.5808@TK2MSFTNGP12.phx.gbl...
> the grid is buit on the fly so i had to set the last column's size before
it
> knew how many columns - so out of bounds was the right call.
> thanks.
>
> "mcnewsxp" <mcour***@mindspring.com> wrote in message
> news:uaz8NQpTGHA.424@TK2MSFTNGP12.phx.gbl...
> >> Maybe an out of bound column/row index?
> >>
> > what would be out of bounds?
> > this works fine in VB6 and it works fine on another machine in VB.NET.
> >
> >
>
>