Solved

Visual Studio 2005 VB Background Image loading very slowly

Posted on 2007-11-15
2
353 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

It seems a simple enough task, yet I see repeated questions asking how to do it: how to pass data between two forms. In this article, I will show you the different mechanisms available for you to do just that. This article is directed towards the .N…
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…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

738 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