I'm having a problem with the behaviour of my program when run through
the debugger versus the way it behaves when run as a published
executable. I have a DataGridView that I apply custom colouring and
formatting to, and it looks fine when I run it using the debugger, or
when I run it from $PATHTOPROJECT/bin/MyApp.exe or
$PATHTOPROJECT/obj/debug/MyApp.exe.
When I publish and install it, the DataGridView is not formatted. The
column headers show up, and the vertical scroll bar is the right
height, but the data cells aren't even being drawn. Does anyone know
why this would happen? Is there a bug with the DataGridView control? To
do the custom formatting, I use the RowPrePaint event. I used to use
CellFormatting, but I switched.
I'm using VB Express 2005.
thanks.