hi everyone,
this is my first post and I just downloaded VB2005 Express less than a week ago. I have experience in html,css, and php but i`m new to this. my question is, Im workiing on a program that, when started, opens maximized and contains a splitcontainer. At this time I have the settings set up so that Panel1 takes up 100% of the window (settings will be changed when other settings are set by the user). I also have other windows that open, Form2 and Form3 that I would like to open and load into Panel1. I did a search and was unable to find this answer, anyone have any ideas
Thanks!
Michael

container?
Ömer KAYA
At first, the top-level form cann't contained by any control, so, we set TopLevel property to false.
For Panel1, do you want to create it using Designer or at run-time
To add it using Designer, Toolbox => Containers => Panel.
To add it at run-time :
phoy
To show Form2 in Panel1, use this method :
Hope this helps you
colodrmn
binglehopper
hi,
thank you for the quick responce. unfortunetly that didnt work for me. I commented out the attempt I was making and I pasted your code in but I was getting "panel1 not defined" errors. Also, when I used your code Form2 wouldnt show up on screen. Here is what I changed the code to, but still didnt work:
Dim Panel1 As Object 'to remove "undefined" errors