Click here to Skip to main content
15,920,508 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: vb.net extracting the first letter of a string Pin
Dave Doknjas10-Dec-05 15:04
Dave Doknjas10-Dec-05 15:04 
GeneralRe: vb.net extracting the first letter of a string Pin
Dave Doknjas10-Dec-05 16:10
Dave Doknjas10-Dec-05 16:10 
AnswerRe: vb.net extracting the first letter of a string Pin
culbysl11-Dec-05 5:10
culbysl11-Dec-05 5:10 
Questionsecurity exception Pin
ibigpapa10-Dec-05 9:56
ibigpapa10-Dec-05 9:56 
AnswerRe: security exception Pin
Dave Kreskowiak11-Dec-05 3:32
mveDave Kreskowiak11-Dec-05 3:32 
GeneralRe: security exception Pin
ibigpapa11-Dec-05 6:05
ibigpapa11-Dec-05 6:05 
QuestionVb.Net MDI Back Image Pin
FireOnMoon10-Dec-05 7:21
FireOnMoon10-Dec-05 7:21 
AnswerRe: Vb.Net MDI Back Image Pin
Dave Kreskowiak11-Dec-05 3:29
mveDave Kreskowiak11-Dec-05 3:29 
Yeah, that's been coverd dozens of times in the forums. ANy control you put on the MDI parent will show ABOVE any MDI Child forms. This is because there is a hidden control in the MDI Parent that actually serves as a container for the child forms. Any control you put on the MDI Parent form will be over the top of this hidden control.

You can read more about the MDIClient contorl, here[^].

If you closely enough at that documentation, you'll find it even has it's own BackgroundImage property. All you have to do is interate through the controls on your form and find the only instance of an MDIClient control, cast a variable to it, then set its BackgroundImage property.
If Me.Controls.Count Then
    For Each control As Control In Me.Controls
        If TypeOf control Is MdiClient Then
            Dim mdiClientArea As MdiClient = CType(control, MdiClient)
            mdiClientArea.BackgroundImage = New Bitmap("filepath")
            Exit For
        End If
    Next
End If



RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

QuestionError icon in datagrid Pin
oakleaf10-Dec-05 4:21
oakleaf10-Dec-05 4:21 
QuestionMerging files Pin
elms10-Dec-05 3:01
elms10-Dec-05 3:01 
AnswerRe: Merging files Pin
Dave Kreskowiak10-Dec-05 4:54
mveDave Kreskowiak10-Dec-05 4:54 
QuestionGetLocalInfo not working with VB.NET 2005 Pin
Omar Mallat10-Dec-05 2:53
professionalOmar Mallat10-Dec-05 2:53 
AnswerRe: GetLocalInfo not working with VB.NET 2005 Pin
Dave Kreskowiak10-Dec-05 4:45
mveDave Kreskowiak10-Dec-05 4:45 
GeneralRe: GetLocalInfo not working with VB.NET 2005 Pin
Omar Mallat10-Dec-05 6:27
professionalOmar Mallat10-Dec-05 6:27 
GeneralRe: GetLocalInfo not working with VB.NET 2005 Pin
Dave Kreskowiak11-Dec-05 3:13
mveDave Kreskowiak11-Dec-05 3:13 
GeneralRe: GetLocalInfo not working with VB.NET 2005 Pin
Omar Mallat11-Dec-05 5:44
professionalOmar Mallat11-Dec-05 5:44 
GeneralRe: GetLocalInfo not working with VB.NET 2005 Pin
Dave Kreskowiak11-Dec-05 6:28
mveDave Kreskowiak11-Dec-05 6:28 
GeneralRe: GetLocalInfo not working with VB.NET 2005 Pin
Omar Mallat11-Dec-05 6:31
professionalOmar Mallat11-Dec-05 6:31 
GeneralRe: GetLocalInfo not working with VB.NET 2005 Pin
Dave Kreskowiak11-Dec-05 13:42
mveDave Kreskowiak11-Dec-05 13:42 
QuestionPrinting a form without the background. Pin
Samadara10-Dec-05 2:23
Samadara10-Dec-05 2:23 
QuestionCrystal Report Pin
tusar12310-Dec-05 0:57
tusar12310-Dec-05 0:57 
QuestionDataGrid Height . Pin
microuser_20009-Dec-05 23:52
microuser_20009-Dec-05 23:52 
AnswerRe: DataGrid Height . Pin
oakleaf10-Dec-05 4:14
oakleaf10-Dec-05 4:14 
QuestionTypeEditor for Extended Property Pin
xstoneheartx9-Dec-05 19:09
xstoneheartx9-Dec-05 19:09 
QuestionCapture image in VB.Net through Webcamera Pin
Pratap Chowdary9-Dec-05 17:50
Pratap Chowdary9-Dec-05 17:50 

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.