Citrix, VB.NET and Repaint

  • Thread starter Thread starter Paul
  • Start date Start date
P

Paul

I have a VB.NET form with a DataGrid. When I toggle to Excel (for
example) and then back to my application the repaint of the DataGrid is
really slow. You can see the repainting happening. When I toggle back
to Excel, it does not do that. The repaint is quick. I'm running this
within a Citrix environment. The scrolling of the DataGrid is slow
also.

Would anyone know how I can fix or even determine what is going on?

Thank you!
 
Hi Paul,

are both your app and Excel on citrix or only your app. Because there's
always a bit of delay on citrix, the things you see on the screen have to
come from your server. So It could mean a slower network connection, but it
could also be a problem in your app, have you got the same problem when you
run the app localy with some other programs active? How much records are
there in the datagrid?

Greetz Peter
 
Thanks for the response Peter. It doesn't matter how many records are
in the DataGrid. It does the same thing with one record or multiple
records. Excel and my app are running the same. I know that it has
something to do with the server and how hard the server is working.
When there are fewer users, the app performs better.

But that doesn't explain why Excel can handle the repaint so much
better than my app. I should mention that my app is a MDI app. The
part that seems to be having the problem is child form within the MDI
form. Is there any known issues with using a MDI app within Citrix?

Any help would be appreciated.
 
Hi Paul,

which version of citrix metaframe are you running? Have you already tested
different scenario's for example just create a new exe with just one form
containing a datagrid with records and check if it has the same behavior. Is
it slow the very first time the datagrid is filled or only after a couple of
fills? Here at work we have metaframe xp and we have no trouble with slow
repainting in mdi app's. I tested it with a grid with 5000 records and excel
open and switching between them both.
I'm always willing to help you search for a soultion.
Maybe you can find something at the citrix forums:

http://support.citrix.com/forums/index.jspa?categoryID=1

Hope you can find something

Greetz Peter
 
Thanks for helping Peter. I need to mention that we are using a third
party DataGrid and I believe the problem is with that. I'm glad to
hear that your MDI apps work well. I was going to test that. We will
do a test between a VB.NET DataGrid and our third party one. I'll post
what I find when we get to that point.
 
Thanks for you help Peter. The more I investigated this the more I
believe it is the third party control. The other controls on the form
repaint fine. We are going to be stop using the third party control
and use the DataGridView from VS 2005. The DataGrid from VS 2003 could
not handle what we needed, but the 2005 version seems to be able to
work well.

Related to that, I found a couple of classes that seem to work well
with paging and using the DataGridView control in "virtual" mode. Has
anyone had any good experience with that?
 
Hi Paul, I think it may be better if you start a new topic about your last
question because this thread is already a couple of weeks old and a lot of
people won't notice the new posts.
I myself can't help you with your question because I'm still on .net 2003

Greetz, Peter
 
Back
Top