Ask Me Help Desk

Ask Me Help Desk (https://www.askmehelpdesk.com/forum.php)
-   Visual Basic (https://www.askmehelpdesk.com/forumdisplay.php?f=469)
-   -   Opening a form in a picturebox (https://www.askmehelpdesk.com/showthread.php?t=364098)

  • Jun 12, 2009, 03:54 AM
    Mistery1
    Opening a form in a picturebox
    Hi there

    Does anyone know how to open a form in a picturebox?

    Thanks
  • Jun 12, 2009, 06:12 AM
    Perito

    Open a form in a picturebox? Do you have an example of someone doing this?

    A picturebox is typically a component placed on a form. I'm not sure how you could open a form in a component. If you could explain a little better, then I might be able to help.
  • Jun 16, 2009, 11:24 PM
    Mistery1
    Hi there,

    Thanks for the reply. Its OK I have the answer

    Form1.TopLevel = False

    SplitContainer1.Panel2.Controls.Add(Form1)

    Form1.Show()

    Form1.BringToFront()

  • All times are GMT -7. The time now is 07:17 PM.