Is there a way of checking the screen resolution?
I have a form that has a datagrid on it that displays the results of a stored procedure. On form load I want to do the following:
Private Sub Form_Load()
If screen res = 800 x 600 then
datagrid.height = 1000
datagrid.width = 500
else
datagrid.height = 800
datagrid.width = 300
End Sub
I'm sure this can be done. Hope someone can help.
I have a form that has a datagrid on it that displays the results of a stored procedure. On form load I want to do the following:
Private Sub Form_Load()
If screen res = 800 x 600 then
datagrid.height = 1000
datagrid.width = 500
else
datagrid.height = 800
datagrid.width = 300
End Sub
I'm sure this can be done. Hope someone can help.