473,395 Members | 1,678 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Speeding up a form load

I have an app I'm calling from within another application. It has an 800x600 background image. It's not that large, 33kb. It also has 26 label controls. When it loads, the label controls come up rather slow and while they are appearing (just before) the background app is visible through the little windows where the label control goes. What would be the best way to get rid of this annoyance. I am on a pretty fast computer, Athlon XP1900+

Thank you
John
Nov 20 '05 #1
5 940
Hi Jcrouse,

The easiest way to find out what slows down is creating a project with
nothing on it and sees how fast than the form loads.

There should be not be much difference between those two, so by partial
copying and pasting you should find what is the part that stops the loading.

Normall a program should load exactly in the same time as by instance
explorere.

If that is not with the empty form, message us again?

Cor
Nov 20 '05 #2
Hi,

http://msdn.microsoft.com/library/de...torNgenexe.asp

Ken
----------------------
"jcrouse" <an*******@discussions.microsoft.com> wrote in message
news:E5**********************************@microsof t.com...
I have an app I'm calling from within another application. It has an
800x600 background image. It's not that large, 33kb. It also has 26 label
controls. When it loads, the label controls come up rather slow and while
they are appearing (just before) the background app is visible through the
little windows where the label control goes. What would be the best way to
get rid of this annoyance. I am on a pretty fast computer, Athlon XP1900+.

Thank you,
John

Nov 20 '05 #3
Well....Here's an update. I removed ALL my code and it still loaded slow. I then removed my background image BINGO. It seems to be the background image which is a 200kb JPG file. What are some of my options here? I tried the nGen but it didn't make any difference

Thank you
John
Nov 20 '05 #4
More Info.......The file is actually 128kb. I opened it in Photoshop and saved it as a WEB jpg. It's size dropped to 19kb. The issue still exists. The form also has 26 label controls on it. The labels are all set to transparent. This could also be a factor

Thanks
John
Nov 20 '05 #5
Me again. It seems to be the transparent labels. I gave the all a back color of black except the four that really need to be transparent and it is MUCH faster

Thanks
John
Nov 20 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Wayne | last post by:
I am running a complex query using about 25 criteria that are entered on a query form. If any individual criteria isn't required its field is left as "*" on the form. When I run the query the...
2
by: Robert Wilkens | last post by:
Ok... This may be the wrong forum, but it's the first place I'm trying. I'm new to C# and just implemented the 3-tier Distributed application from Chapter 1 (the first walkthrough) in the...
10
by: Sarah Smith | last post by:
Hello, I am a bit of a newbie to VB.NET, but not totally new. I took the plunge recently and decided (along with my colleagues), to try to convert/port a VB6 client/server app to .Net. (I'm...
5
by: jcrouse | last post by:
I have a program that is an external viewer. It is launched with a hotkey from within another application. The program has 30 labels that can be displayed. Since the labels may not always be...
4
by: Jm | last post by:
Hi all I know this might sound a little stupid but i thought id better ask anyway in case there are some things i havent already tried that everybody else knows. Basically i am wondering if...
3
by: Mark Reed | last post by:
All, I have built a database recently which resides on a network server which is constantly being re-structured. This is something I have no control over so have had to incorporate a means by...
0
by: lissbpp | last post by:
Hello, Working in .Net 2.0 using NGen to speed up both my warm and cold startup load times. NGen works beautifully for my application; however, it seams that the native image cache is not...
2
by: salad | last post by:
This is a tip on how to speed up listboxes DRAMATICALLY. Persons that would benefit are those that are constantly updating the rowsource of a listbox/combobox in order to filter and sort the data...
5
by: RobinAG | last post by:
Hello, I just split my database into front and back end. My front end users are experiencing really slow opening of forms. I've searched online for help speeding up forms, but I'm not sure what...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.