469,317 Members | 1,906 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,317 developers. It's quick & easy.

Citrix, VB.NET and Repaint

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!

Sep 28 '06 #1
7 4701
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

--
Programming today is a race between software engineers striving to build
bigger and better idiot-proof programs, and the Universe trying to produce
bigger and better idiots. So far, the Universe is winning. (Rich Cook)

"Paul" <pw****@hotmail.comschreef in bericht
news:11********************@c28g2000cwb.googlegrou ps.com...
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!

Sep 29 '06 #2
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.
Peter Proost wrote:
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

--
Programming today is a race between software engineers striving to build
bigger and better idiot-proof programs, and the Universe trying to produce
bigger and better idiots. So far, the Universe is winning. (Rich Cook)

"Paul" <pw****@hotmail.comschreef in bericht
news:11********************@c28g2000cwb.googlegrou ps.com...
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!
Sep 29 '06 #3
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/ind...a?categoryID=1

Hope you can find something

Greetz Peter

--
Programming today is a race between software engineers striving to build
bigger and better idiot-proof programs, and the Universe trying to produce
bigger and better idiots. So far, the Universe is winning. (Rich Cook)

"Paul" <pw****@hotmail.comschreef in bericht
news:11**********************@e3g2000cwe.googlegro ups.com...
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.
Peter Proost wrote:
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

--
Programming today is a race between software engineers striving to build
bigger and better idiot-proof programs, and the Universe trying to
produce
bigger and better idiots. So far, the Universe is winning. (Rich Cook)

"Paul" <pw****@hotmail.comschreef in bericht
news:11********************@c28g2000cwb.googlegrou ps.com...
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!
>

Oct 2 '06 #4
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.

Oct 3 '06 #5
Ok, I'll keep monitoring this post.

Greetz, Peter

--
Programming today is a race between software engineers striving to build
bigger and better idiot-proof programs, and the Universe trying to produce
bigger and better idiots. So far, the Universe is winning. (Rich Cook)

"Paul" <pw****@hotmail.comschreef in bericht
news:11**********************@e3g2000cwe.googlegro ups.com...
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.

Oct 4 '06 #6
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?

Oct 23 '06 #7
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

--
Programming today is a race between software engineers striving to build
bigger and better idiot-proof programs, and the Universe trying to produce
bigger and better idiots. So far, the Universe is winning. (Rich Cook)

"Paul" <pw****@hotmail.comschreef in bericht
news:11*********************@m7g2000cwm.googlegrou ps.com...
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?

Oct 24 '06 #8

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by Rob | last post: by
7 posts views Thread by SK | last post: by
5 posts views Thread by Art | last post: by
4 posts views Thread by Peter | last post: by
12 posts views Thread by =?Utf-8?B?QXJ0?= | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by harlem98 | last post: by
1 post views Thread by Geralt96 | last post: by
reply views Thread by harlem98 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.