Well, at least that's an answer. I decided to find out if I could use
the old datagrid in 2005 so I copied my 2003 program to a new dir and
upgraded it to 2005. It kept the datagrid instead of using
datagridview. However performance was 1 minute and 40 seconds on the
upgraded project vs 45 seconds when it was compiled in 2003. So I guess
even if I use the old datagrid in 2005 I will still not get any faster
performance. This sucks. The shame of it all was that 45 seconds was
determined to be too slow so the program was written in Visual FoxPro
instead of 2003. I had hoped 2005 would be faster and able to compete
with FoxPro on this type of app as it occurs here quite often.
I consider myself more of a VB programmer than a FoxPro programmer so
it's humiliating to me to have these problems. I'm not going to get
into a debate about how good VB or Foxpro is. That isn't the point.
The point is I'm disappointed in VB's performance and frankly complexity
too especially in this area. The FoxPro app which turns out a
strikingly similar screen comes up with the data being display in less
than 5 seconds. I can't compete with that using VB! Admittedly it has
the home court advantage as the data is in a stand alone FoxPro table
but all I had to do was put the grid on the form and tell it the
datasource was the table and it was done. I really wish MS would
include in VB the ability to use FoxPro stand alone tables--call it
something else if they wish but that kind of simple functionality. They
own both languages how hard could it be?
Walter Wang [MSFT] wrote:
Hi cj,
>
This is unfortunately a known issue of DataGridView:
>
https://connect.microsoft.com/Visual...ck.aspx?Feedba
ckID=117093
>
<quote>
The big difference between the DataGrid and the DataGridView is that the
DataGrid uses Graphics.DrawString(text, font, brush, textBounds, format)
while the DataGridView uses TextRenderer.DrawText(graphics, text, font,
textBounds, color, flags). This is where the biggest difference comes from
in my opinion.
</quote>
>
You can vote on the issue, this will increase the priority of the issue in
our future improvement plan. Thanks.
>
Regards,
Walter Wang (wawang@online.microsoft.com, remove 'online.')
Microsoft Online Community Support
>
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
>
This posting is provided "AS IS" with no warranties, and confers no rights.
>