473,769 Members | 6,538 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Transparent splash screen

JJ
I remember reading somewhere that transparent forms will not display
correctly on some systems.

The Microsoft help says the about the opacity setting:
"Windows 2000, Windows Server 2003 family Platform Note: This property has
no effect on platforms that cannot display layered windows."

and this about transparent areas of forms:
"Monitors set to a color depth of greater than 24-bit can display problems
with certain parts of the form not being transparent, despite setting of the
TransparencyKey property. To avoid this problem, ensure that the monitor's
color depth is set to less than 24-bit in the Display control panel. "
My XP system is set to 32-bit and I don't seem to have a problem.
So basically my questions are:
---------------------------------
What systems and/or color depths are problematic for displaying tranparent
forms?
What is the result of the problem (i.e. exception/ignores setting/etc.)
Whats the best way of testing for the color depth of a monitor?

I am using vb.net 2003.

Thanks
Feb 16 '06 #1
3 5000
Sorry I can't answer your question. I'd like to know too. I know with
my systems I have graphics (lines, etc.) on a live video window. The
graphics window is supposed to be transparent but if the colordepth is
24 or 32 bits, all I see is black in the video window and no graphics
overlay. If I set it to 16 bits, I get live video with the graphics
overlaid as you would expect. Sometimes causes problems when the color
depth somehow gets set back to 32 bits. (User complaint: "My camera
doesn't work anymore - all I see is black!")

What I would like to know is how to get the color depth of the
screen/display adapter with vb.net. All I've been able to find are
antique code using API calls. Isn't there some new .Net way of finding
out the colordepth like Screen.whatever or
System.Windows. Forms.something ?

Antique code examples:
http://abstractvb.com/code.asp?A=947
http://www.developerfusion.co.uk/show/268/

Mark

Feb 16 '06 #2
JJ
Just out of interest Mark, what OS are you using?
I wonder if the problem lies with the win2000 at 24-bit or higher systems
and not with XP
<ha******@hotma il.com> wrote in message
news:11******** *************@g 47g2000cwa.goog legroups.com...
Sorry I can't answer your question. I'd like to know too. I know with
my systems I have graphics (lines, etc.) on a live video window. The
graphics window is supposed to be transparent but if the colordepth is
24 or 32 bits, all I see is black in the video window and no graphics
overlay. If I set it to 16 bits, I get live video with the graphics
overlaid as you would expect. Sometimes causes problems when the color
depth somehow gets set back to 32 bits. (User complaint: "My camera
doesn't work anymore - all I see is black!")

What I would like to know is how to get the color depth of the
screen/display adapter with vb.net. All I've been able to find are
antique code using API calls. Isn't there some new .Net way of finding
out the colordepth like Screen.whatever or
System.Windows. Forms.something ?

Antique code examples:
http://abstractvb.com/code.asp?A=947
http://www.developerfusion.co.uk/show/268/

Mark

Feb 16 '06 #3
I'm using XP with Service Pack 1 with selective parts of Service Pack 2
(my company rule this with an iron fist)

Feb 16 '06 #4

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

Similar topics

0
1847
by: Graphics_master | last post by:
Anyone know how to create a transparent splash screen similar to Photoshop, After Effects, or premiere. They have a wonderful transparent look. I realize that I can use the key color property of a form to make colors transparent, but I'm not satisfied with aliased edges. I want full 256 color alpha support. I see that the png format has nice transparent support but the form shows through. Forms don't support a transparent background...
2
6922
by: Bill | last post by:
Problem 1) Any ideas on how I would get a splash screen to appear for a certain amount of time when I open a database - it's to display a text based disclaimer message. I know about message boxes in VB but I don't my users having to click on an OK buttone each time this appears. Problem 2)
3
2259
by: andrewcw | last post by:
I implemented the simplest of splash screens ( static and on its own thread ). But it seem that when first called maybe 8 seconds elapsed before it showed up, the main form follows several seconds later. Naturally recalling the application, the response is adequate I have 10 classes in my project. Some small, none really huge. And another form public class frmQCLoader : System.Windows.Forms.For { private System.Windows.Forms.DataGrid...
14
6697
by: SStory | last post by:
I am trying to make a splash screen for my vb.net app. It is an mdi app. including the splash code produces wierd results. not inluding makes things fine. Also have tried loading the splash form from: * load event of main mdi parent
0
2081
by: Juan Pedro Gonzalez | last post by:
Hi, Well it's a bit difficult to post this idea... I've got a Splash Screen, wich includes a PictureBox with a fairly "large" image... I would like to use this Splash form as a Login Screen as well. My initial idea is to use the space provided by the image for the login input. In order to do this I would like to load a Panel (or whatever) so I would get a "box" over part of the Image, this "box" should place some color over the image...
5
6412
by: steve | last post by:
Hi All I have a form set as the splash screen in VB.net 2005 application properties How can I tell when it has or is closing, as I want to then run some licence checking code without the splash screen interfering with msgboxes which may need to be displayed if the licence is invalid or missing I have tried in the splash form's formclosing event but it does not fire
2
4219
by: will_456 | last post by:
In vb2005 Express: In My Project Application Splash Screen I have selected my splash screen form. The form opens on project startup but closes immediately before anyone would have time to read it. I presume it only stays visible while the main form initialises. This is not long enough but I can't see how to slow it down. Should I set the splash screen using the Application settings or go back to
10
22378
by: =?Utf-8?B?UmljaGFyZCBCeXNvdXRo?= | last post by:
Hi In my app I have a SplashScreen, a login form and a main form. On launching the app, I'd like to show the SplashScreen while reading config files and attempting a database connection. I show progress of these tasks on a label on the SplashScreen form. Once this is completed ok, the splash screen should close and the login form should be displayed. A successful login closes that form and shows the main form.
4
5222
by: Gaz | last post by:
I am having a bit of a problem getting my application to work properly. RIght here is my problem... WHen my C# windows app loads up the start form, i create a new thread and show the splash on the new thread and put the main thread to sleep until the splash screen has done the business, then i kill the new thread and start another to show the login and again put the main one to sleep. Problem i have is that my splash screen will show...
0
9589
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9423
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10049
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9865
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8876
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6675
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5310
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5448
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2815
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.