Click here to Skip to main content
16,008,183 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionOverrided install sub problem Pin
Memo Soso13-Mar-07 4:56
Memo Soso13-Mar-07 4:56 
Questionadding data to database via vb.net application Pin
peteyshrew13-Mar-07 3:49
peteyshrew13-Mar-07 3:49 
AnswerRe: adding data to database via vb.net application Pin
CPallini13-Mar-07 4:42
mveCPallini13-Mar-07 4:42 
QuestionHow i make a label's backcolor transparent on the picturebox ? Pin
Narenge13-Mar-07 3:28
Narenge13-Mar-07 3:28 
AnswerRe: How i make a label's backcolor transparent on the picturebox ? Pin
Marcus J. Smith13-Mar-07 4:47
professionalMarcus J. Smith13-Mar-07 4:47 
GeneralRe: How i make a label's backcolor transparent on the picturebox ? [modified] Pin
Narenge13-Mar-07 7:26
Narenge13-Mar-07 7:26 
AnswerRe: How i make a label's backcolor transparent on the picturebox ? Pin
M-Hall13-Mar-07 14:52
M-Hall13-Mar-07 14:52 
AnswerRe: How i make a label's backcolor transparent on the picturebox ? Pin
TwoFaced13-Mar-07 17:20
TwoFaced13-Mar-07 17:20 
I was able to add a label to a picturebox and it's transparency worked fine. How are you creating the label. Is it done at runtime or design time. Remember that the location of a control is relative to it's parent. So if the label exists at design time and is located 100 from the left and 200 from the top it will be in that same relative position when you set it's parent to the picturebox. What may be happening is when you set the parent to the picturbox the label is positioned where you can't see it. Try setting it's position to (0,0) and see if it shows up. As proof of concept try creating a new project. Add a label and a picturbox to your form as well as a button. To prove the transparency works give the picturbox an image. Then add this code.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
    'Set the parent
    Label1.Parent = PictureBox1
    'Position the label so we can see it
    Label1.Location = New Point(0, 0)
    'Give it a transparent background
    Label1.BackColor = Color.Transparent
End Sub

QuestionResizing Picture box in StrechImage mode and Gradiant problem!!!??? Pin
Narenge13-Mar-07 2:56
Narenge13-Mar-07 2:56 
AnswerRe: Resizing Picture box in StrechImage mode and Gradiant problem!!!??? Pin
JUNEYT13-Mar-07 3:04
JUNEYT13-Mar-07 3:04 
GeneralRe: Resizing Picture box in StrechImage mode and Gradiant problem!!!??? Pin
Narenge13-Mar-07 3:26
Narenge13-Mar-07 3:26 
Questiondatabase connection Pin
peteyshrew13-Mar-07 2:53
peteyshrew13-Mar-07 2:53 
AnswerRe: database connection Pin
CPallini13-Mar-07 4:46
mveCPallini13-Mar-07 4:46 
QuestionWath Is HOOK Pin
Mogtabam13-Mar-07 0:49
Mogtabam13-Mar-07 0:49 
AnswerRe: Wath Is HOOK Pin
CPallini13-Mar-07 4:40
mveCPallini13-Mar-07 4:40 
Questionone more time days....... Pin
Member 387988113-Mar-07 0:06
Member 387988113-Mar-07 0:06 
AnswerRe: one more time days....... Pin
andre_swnpl13-Mar-07 0:54
andre_swnpl13-Mar-07 0:54 
Questiondate problem in vb.net Pin
motewarp12-Mar-07 23:53
motewarp12-Mar-07 23:53 
AnswerRe: date problem in vb.net Pin
manni_n13-Mar-07 0:09
manni_n13-Mar-07 0:09 
GeneralRe: date problem in vb.net Pin
motewarp13-Mar-07 1:45
motewarp13-Mar-07 1:45 
AnswerRe: date problem in vb.net Pin
prakash J13-Mar-07 4:35
prakash J13-Mar-07 4:35 
QuestionDataGrid Control Pin
somagunasekaran12-Mar-07 23:23
somagunasekaran12-Mar-07 23:23 
AnswerRe: DataGrid Control Pin
Dean_SF14-Mar-07 4:47
Dean_SF14-Mar-07 4:47 
QuestionOutlook not recognising vbcrlf Pin
sean0812-Mar-07 23:20
sean0812-Mar-07 23:20 
QuestionHow to deploy a VB.NET application Pin
venkata lakshmi prasanna12-Mar-07 23:16
venkata lakshmi prasanna12-Mar-07 23:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.