By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,239 Members | 1,505 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,239 IT Pros & Developers. It's quick & easy.

interop error

P: n/a
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
Mar 23 '06 #1
Share this Question
Share on Google+
5 Replies


P: n/a
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)

"mcnewsxp" <mc******@mindspring.com> schreef in bericht
news:el**************@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

Mar 23 '06 #2

P: n/a
> 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.
Mar 23 '06 #3

P: n/a
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" <mc******@mindspring.com> wrote in message
news:ua*************@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.

Mar 23 '06 #4

P: n/a

"mcnewsxp" <mc******@mindspring.com> wrote in message
news:el****************@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


Let me guess - let's face it; with an Exception like that you have to - you
only have two columns. In .Net, they're indexed from 0, not 1.
..Col = 2 would refer to the /third/ visible column.

HTH,
Phill W.
Mar 23 '06 #5

P: n/a
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)

"mcnewsxp" <mc******@mindspring.com> schreef in bericht
news:Op**************@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" <mc******@mindspring.com> wrote in message
news:ua*************@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.


Mar 24 '06 #6

This discussion thread is closed

Replies have been disabled for this discussion.