Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Visual Studio 2005 VB Background Image loading very slowly

Posted on 2007-11-15
2
Medium Priority
?
357 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:Murray Brown
2 Comments
 
LVL 18

Accepted Solution

by:
Joel Coehoorn earned 2000 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:Murray Brown
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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

The object model of .Net can be overwhelming at times – so overwhelming that quite trivial tasks often take hours of research. In this case, the task at hand was to populate the datagrid from SQL Server database in Visual Studio 2008 Windows applica…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

782 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