|
-
Oct 12th, 2002, 07:35 AM
#1
Thread Starter
Fanatic Member
forms in userControls
i'm making a wizard control in VB.NET
The control contains:
- a picture box for the logo of the program
- 4 controls (next, previous, cancel, help)
But what I need to do is load a form into my control.
I load my control in a form, but dan I have to be able to load a form into the control, so that i do not have to program the 4 buttons every time on another form.
I have such an ocx for vb6, but can't use it in VB.net so i'm trying to make a new one.
could somebody help me?
Last edited by robbedaya; Oct 12th, 2002 at 07:43 AM.
- Use the thread tools to Mark your Thread as Resolved when your question is answered.
- Please Rate my answers if they where helpful.
-
Oct 12th, 2002, 09:05 AM
#2
Hyperactive Member
I don't know of any way to load a form into a control. I don't think it can be done. If your basic layout of picture and 4 buttons was a form then you could inherit from that base form for each new form and they would all have the basic controls on it.
Making it a control doesn't quite work to my mind.
-
Oct 12th, 2002, 09:08 AM
#3
Thread Starter
Fanatic Member
thx,
but it has been done in VB6. I've seen it, I'have a OCX that does it, but my OCX doesn't work in VB.NET
- Use the thread tools to Mark your Thread as Resolved when your question is answered.
- Please Rate my answers if they where helpful.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|