Results 1 to 2 of 2

Thread: [RESOLVED] Load forms from a class library project (.dll) into my new "menu application"

  1. #1

    Thread Starter
    Addicted Member tgf-47's Avatar
    Join Date
    Feb 2010
    Location
    CapeTown, South Africa -34.01244,18.337415
    Posts
    209

    Resolved [RESOLVED] Load forms from a class library project (.dll) into my new "menu application"

    I have a class library project (.dll) which contains a couple of forms.

    I now have a new project that would be the Client.

    1) How do I load the forms from the dll into this project at runtime?

    2) How do I set the client to be the MDiParent of the forms that will be opened from the dll?

  2. #2
    Addicted Member Tengkorak's Avatar
    Join Date
    Nov 2006
    Posts
    240

    Re: Load forms from a class library project (.dll) into my new "menu application"

    add library in menu ide project->add reference-> in browse tab choose your .dll file.

    define variables :
    vb Code:
    1. Imports mylib
    2.  
    3. Module Module1
    4.  
    5.     Public glib As New mylib.frmLogin ' login at library

Tags for this Thread

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