Results 1 to 2 of 2

Thread: [RESOLVED] Can I make a form from another project appear?

  1. #1

    Thread Starter
    Banned
    Join Date
    Sep 2006
    Posts
    1

    Resolved [RESOLVED] Can I make a form from another project appear?

    On a project I have a form called Form1 (on which has a commandbutton Command1.)

    On another project I have created a form called FormX

    When the user clicks the commandbutton of Form1, FormX would appear. Is this possible? (Please take out that Form1 and FormX were created through different projects.)

    Please make your code and explanations as clear as possible because im a newbie. Im using VB 6.0 Thanks guys!!!

  2. #2
    PowerPoster gavio's Avatar
    Join Date
    Feb 2006
    Location
    GMT+1
    Posts
    4,462

    Re: Can I make a form from another project appear?

    Welcome to the forums

    This is not possible. The only way you can do that is when applications are allready compiled (in EXE). But even then you'd have to use Shell and maybe an argument to the Sub Main, that it should display your FormX. In other words, you cannot make VB to reffer to some object from an unknown module (unknown for VB, in this case FormX).

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