Solved

Visual Studio 2005 VB Background Image loading very slowly

Posted on 2007-11-15
2
350 Views
Last Modified: 2013-11-26
Hi

I have a .jpeg image file embedded in my Visual Studio project.
I use it behind a windows for as the Background image and then on a tabcontrol
as the background image for each page.
It seems to load incredibly slwly as I click through each page.
How might I speed this up?
0
Comment
Question by:murbro
2 Comments
 
LVL 18

Accepted Solution

by:
jcoehoorn earned 500 total points
ID: 20289406
Perhaps set the background for the tabpages (and perhaps controls as well) to transparent, with the image only as the background for the form.  If that doesn't work and you're doing some work every time the tab page changes, try using SupendLayout/ResumeLayout so it's not trying to redraw until all the work is done.
0
 

Author Comment

by:murbro
ID: 20289593
Hi

You can only make each tabpage of the tabcontrol transparent. This just seems to turn it white and does not pick up the image on the form
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question