Showing Control's forms

  • 18 years ago

    Hi!


    I developed the 'Version Control Form' (see article ), and I'm trying to develop an OCX control with the same behaviour.
    I inserted the form into the control project, and while running the group (i.e. control + test project) everything seems to work right, but as soon as I compile the OCX and include into a different project, when i execute the method:

    Code:
    Public Sub ShowWindow()
       Load frmVersion
       frmVersion.Show vbModal, UserControl.Parent
    End Sub

    VB throws an error about interaction not allowed between compiled components and design time components.


    Can anyone help me?


    Thanks,
       Ivan

Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“There are only two kinds of languages: the ones people complain about and the ones nobody uses” - Bjarne Stroustrup