Solved

Visual Studio 2005 VB Background Image loading very slowly

Posted on 2007-11-15
2
349 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

In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

910 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now