Solved

VB.net "control does not support background color"

Posted on 2012-04-05
2
325 Views
Last Modified: 2012-04-06
Hi. I have the following code in a VB.net version of http://www.codeproject.com/Articles/24005/Resizable-Moveable-Customizable-Borderless-Form
and need to alter things to get a background image with a Transparent color, but
I get the following error: "control does not support background color"

   Public Sub New()
        ' This call is required by the designer.
        InitializeComponent()

        ' Add any initialization after the InitializeComponent() call.
        FormBorderStyle = FormBorderStyle.None


        BackColor = Color.Transparent

        BackgroundImage = My.Resources.BackBlue

        DoubleBuffered = True
        Opacity = 0.9
    End Sub
0
Comment
Question by:murbro
2 Comments
 
LVL 29

Accepted Solution

by:
QPR earned 500 total points
ID: 37815253
0
 

Author Closing Comment

by:murbro
ID: 37815300
Thanks very much
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

747 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

13 Experts available now in Live!

Get 1:1 Help Now