My DataGrid is working fine and doing everythng it should.
What I want now is when an image is loaded into column 1 it can not be any larger than 100
I've tried various concoctions of code and none work here is my latest idea
If pbPreview.Width > 100 Then DataGridView1.AutoSize = False DataGridView1.Columns(0).Width = 100
It doesn't work, (No surprise there then!) plus there is no .Height member to Columns or Rows.
So what is the way to make sure that any image loaded, can only be 100 x 100 max?