473,406 Members | 2,698 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Microsoft Visual Basic .NET 2003: How-to Demo-Non-Rectangular Forms

I downloaded it from Visual Basic at the Movies but there is a problem.

I set up the following properties of the form...

BackroundImage
TransparencyKey = Color that needs to be transparent
FormBorderStyle = None

And it looks like that TransparencyKey color doesn't work.

I set up a bitmap image with green background and red circle in it but when
I set up green as TransparencyKey and when I run the project the form's
background color is still green and it's not transpaerent like I saw in the
demo.

Why is that? I'm using Visual Studio 2003.

Thanks
Nov 21 '05 #1
5 1299
"Morx" <cy******@hotmail.com> wrote in message
news:Oo**************@TK2MSFTNGP12.phx.gbl...
I downloaded it from Visual Basic at the Movies but there is a problem.

I set up the following properties of the form...

BackroundImage
TransparencyKey = Color that needs to be transparent
FormBorderStyle = None

And it looks like that TransparencyKey color doesn't work.

I set up a bitmap image with green background and red circle in it but when I set up green as TransparencyKey and when I run the project the form's
background color is still green and it's not transpaerent like I saw in the demo.

Why is that? I'm using Visual Studio 2003.


There's a bug in that it won't work above 24-bit. Is your monitor set at
32-bit?
Nov 21 '05 #2

"Ricky W. Hunt" <rh*****@hotmail.com> wrote in message
news:WSgVc.4348$9d6.1689@attbi_s54...
"Morx" <cy******@hotmail.com> wrote in message
news:Oo**************@TK2MSFTNGP12.phx.gbl...
I downloaded it from Visual Basic at the Movies but there is a problem.

I set up the following properties of the form...

BackroundImage
TransparencyKey = Color that needs to be transparent
FormBorderStyle = None

And it looks like that TransparencyKey color doesn't work.

I set up a bitmap image with green background and red circle in it but

when
I set up green as TransparencyKey and when I run the project the form's
background color is still green and it's not transpaerent like I saw in

the
demo.

Why is that? I'm using Visual Studio 2003.


There's a bug in that it won't work above 24-bit. Is your monitor set at
32-bit?


Yes, it's 32-bit. I tried it with 16b-bit and it works but that doesn't
help.

Is there a fix for that because I noticed that it doesn't work in VS 2005
BETA 1 also.
Nov 21 '05 #3
Ricky,

Bug?

I think more a disadvantage because it is known and even described.

(and not a little one, because how can you tell that to a customer)

:-)

Cor
Nov 21 '05 #4
"Cor Ligthert" <no**********@planet.nl> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Ricky,

Bug?

I think more a disadvantage because it is known and even described.

(and not a little one, because how can you tell that to a customer)


I only happened to know about it because, since I'm just learning VB.NET, I
try any new code I happen to come across (this might have been from
something you posted - using text as a form possibly?). I went to all the
trouble of doing it only to find out it won't work above 24-bit (my card
only offers 16 and 32 bit so I'm always at 32-bit). I'd call that a SERIOUS
PROBLEM. I was hoping it was just a bug that would be resolved with the next
version. Sorry to hear it sounds like it won't be.
Nov 21 '05 #5
* "Morx" <cy******@hotmail.com> scripsit:
I set up the following properties of the form...

BackroundImage
TransparencyKey = Color that needs to be transparent
FormBorderStyle = None

And it looks like that TransparencyKey color doesn't work.


Use a region instead:

<URL:http://www.bobpowell.net/region_from_bitmap.htm>

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 21 '05 #6

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

Similar topics

2
by: jose | last post by:
Is it possible join in the same project a visual basic net form and a c sharp form?? if the answer is yes, how can I do it? Thanks for your answers
2
by: Just Me | last post by:
I have directories Microsoft Visual Studio .NET, created date = 9/3/2004 Microsoft Visual Studio .NET 2003, created date = 10/16/2003 What is the first one for? I thought it was left over...
0
by: planetthoughtful | last post by:
Hi All, It seems my installation of Visual Basic Help for Access 2003 is missing pages / entries. eg, when I do a search on 'subform' and then click on 'Me Property' in the search results, I...
8
by: Charts | last post by:
I download IEWebControls.exe, and installed it. Installation created IE Web Controls directory. The readme.txt said, 3. Create a /bin subdirectory for the application and copy the file...
4
by: Christian Blackburn | last post by:
Hi Gang, I saw this for sale online: Microsoft Visual Basic.NET Deluxe Learning Edition Version 2003. I'm wondering is the CD that's bundled with the learning edition just a digitized version of...
4
by: bbdobuddy | last post by:
Hi, How do I open a Microsoft Access 2003 form from Visual Basic.net Thanks in advance bbdobuddy
1
by: jmespinosabaviera | last post by:
1) Does visual studio standard 2005 include visual basic ?. 2) What difference is there between the visual studio standard 2005 and the professional version ? 3) What difference is there...
25
by: Marco | last post by:
Hi everyone. I've been trying to move some small applications written in vb.net 2003 to vb.net 2005 express just for testing purposes. I have noticed so far that the applications seem to run ...
8
by: stuart wieder | last post by:
i have an application containing a header with 5 filters (combo boxes) and 2 search boxes (text boxes). When the search boxes are used and return no records in the detail of the form, the actual...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
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...
0
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.