Forms Slowness
-
Hi All, I have created a form and placed an image on its back ground. Now the form controls take much time to load. Is there any way by which we can do this thing quickly. thanks
Syed Shahid Hussain
-
Hi All, I have created a form and placed an image on its back ground. Now the form controls take much time to load. Is there any way by which we can do this thing quickly. thanks
Syed Shahid Hussain
Pick one: 1) Don't put an image on it's background. 2) If you must, then make it a small one. 3) Don't load the image until all the controls are loaded. 4) Get a faster machine.
All those who believe in psycho kinesis, raise my hand. My :badger:'s gonna unleash hell on your ass. :badger:tastic!
-
Pick one: 1) Don't put an image on it's background. 2) If you must, then make it a small one. 3) Don't load the image until all the controls are loaded. 4) Get a faster machine.
All those who believe in psycho kinesis, raise my hand. My :badger:'s gonna unleash hell on your ass. :badger:tastic!
I want to give a background image that is very necessary but in vb application it is working very fast but in c# it takes too much time. I'm using core 2Dou 2.0 GHz. :)
Syed Shahid Hussain
-
I want to give a background image that is very necessary but in vb application it is working very fast but in c# it takes too much time. I'm using core 2Dou 2.0 GHz. :)
Syed Shahid Hussain
Then that has to be (pretty much) down to differences in your code, doesn't it? Since VB and C# both use the same .NET framework and runtime, there has to be a significant difference between the two programs. What are you doing in the C# that you aren't in the VB?
All those who believe in psycho kinesis, raise my hand. My :badger:'s gonna unleash hell on your ass. :badger:tastic!
-
Then that has to be (pretty much) down to differences in your code, doesn't it? Since VB and C# both use the same .NET framework and runtime, there has to be a significant difference between the two programs. What are you doing in the C# that you aren't in the VB?
All those who believe in psycho kinesis, raise my hand. My :badger:'s gonna unleash hell on your ass. :badger:tastic!
sorry I was talking about VB6. It its loading speed is too fast. And I want to develop an on screen key board. Do u also have any idea about that? Thanks
Syed Shahid Hussain
-
sorry I was talking about VB6. It its loading speed is too fast. And I want to develop an on screen key board. Do u also have any idea about that? Thanks
Syed Shahid Hussain
CodeProject holds a couple of articles on virtual keyboards. I suggest you search and read them. :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]
I only read code that is properly formatted, adding PRE tags is the easiest way to obtain that.
[The QA section does it automatically now, I hope we soon get it on regular forums as well]
-
sorry I was talking about VB6. It its loading speed is too fast. And I want to develop an on screen key board. Do u also have any idea about that? Thanks
Syed Shahid Hussain
VB6 I can't help with - I bailed out of VB around Version 2 - but I assume VB6 is native code rather than .NET? If so, then I would expect it to load a lot faster, as there is no large framework to worry about. C# need the framework, so will load slower. Having said that, just how many controls do you have? And what size/format is the image? It may be worth just loading the app without the image and seeing if that speeds up the load enough. If it doesn't then I suspect you may have to go the "put-up-a-splash-screen-so-no-one-notices-it-is-so-slow" route that Adobe tried... See Lucs' answer re the virtual keyboard.
All those who believe in psycho kinesis, raise my hand. My :badger:'s gonna unleash hell on your ass. :badger:tastic!
-
VB6 I can't help with - I bailed out of VB around Version 2 - but I assume VB6 is native code rather than .NET? If so, then I would expect it to load a lot faster, as there is no large framework to worry about. C# need the framework, so will load slower. Having said that, just how many controls do you have? And what size/format is the image? It may be worth just loading the app without the image and seeing if that speeds up the load enough. If it doesn't then I suspect you may have to go the "put-up-a-splash-screen-so-no-one-notices-it-is-so-slow" route that Adobe tried... See Lucs' answer re the virtual keyboard.
All those who believe in psycho kinesis, raise my hand. My :badger:'s gonna unleash hell on your ass. :badger:tastic!
Thanks a lot Friend
Syed Shahid Hussain