Results 1 to 3 of 3

Thread: forms in userControls

  1. #1

    Thread Starter
    Fanatic Member robbedaya's Avatar
    Join Date
    Jul 2002
    Location
    Belgium
    Posts
    872

    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.

  2. #2
    Hyperactive Member
    Join Date
    Dec 2001
    Location
    Dublin, Ireland
    Posts
    262
    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.

  3. #3

    Thread Starter
    Fanatic Member robbedaya's Avatar
    Join Date
    Jul 2002
    Location
    Belgium
    Posts
    872
    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
  •  



Click Here to Expand Forum to Full Width