|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
interop errori 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 Maybe an out of bound column/row index?
Greetz Peter Proost -- Show quoteHide quoteProgramming 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" <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 > > > 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. 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. > > Hi that's the nice thing about the flexgrid, the obscure error messages :-)
Greetz Peter -- Show quoteHide quoteProgramming 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" <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. > > > > > >
what is Xtreme Sample Database
Data Source with ReportViewer DataGrid Custom Styles Learning - displaying selection in pictureboxes Null, DBNull, Nothing, VBNullstring Help needed using sample RS232 class to read from serial port Multithreading and ActiveX Small bit of code from VB6 to VB.net - desperate need of help How display Result from sqlCommand select in the Datagridview how to capture print message |
|||||||||||||||||||||||