0Hi,
Not sure if there has ever been a definitive answer for this issue, but I'm having a issue with getting datagrids to work in VB6 on a Windows 7 PC with SP1. The application is currently working with no issues on Windows Xp.
When trying to populate the datagrid it comes up with a cannot databind error. I'm using a ADODB connection/recordset to populate the datagrid.
Anyone know how I can resolve this?
this is my code:
'update the form with the values
With Me.DataGrid1
Set .DataSource = SQLrst
.Visible = True
.Columns(1).Width = 950
.Columns(2).Width = 1050
.Columns(3).Width = 1800
.Columns(4).Width = 1000
.Refresh
End With
Not sure if there has ever been a definitive answer for this issue, but I'm having a issue with getting datagrids to work in VB6 on a Windows 7 PC with SP1. The application is currently working with no issues on Windows Xp.
When trying to populate the datagrid it comes up with a cannot databind error. I'm using a ADODB connection/recordset to populate the datagrid.
Anyone know how I can resolve this?
this is my code:
'update the form with the values
With Me.DataGrid1
Set .DataSource = SQLrst
.Visible = True
.Columns(1).Width = 950
.Columns(2).Width = 1050
.Columns(3).Width = 1800
.Columns(4).Width = 1000
.Refresh
End With