Results 1 to 8 of 8

Thread: How to use multiple projects

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2000
    Posts
    5

    Question

    I have two projects in my project window, how do I call a form in project2 when project1 is my startup project


  2. #2
    Guest

    You must specify what project.

    Code:
    Project2.Form2.Show

  3. #3

    Thread Starter
    New Member
    Join Date
    Jun 2000
    Posts
    5

    Exclamation

    Thanks Megatron

    I tried that, Project2.Form2.Show however does not work. Both of the projects are .vbp, is that a problem?
    Hope somebody have an answer

    PJC

  4. #4
    Guest
    You must have them added together in a Project Group (*.vbg).

  5. #5

    Thread Starter
    New Member
    Join Date
    Jun 2000
    Posts
    5
    The *.vbg was done the err I get is Variable not defined, the name of project2 is highlighted

  6. #6
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    Variable not defined? If you use option explicit in one or more of you forms in project2 that error may occur, if you haven't declared all variables.
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

  7. #7
    Guest
    Is temeof the Project called Project2?

  8. #8

    Thread Starter
    New Member
    Join Date
    Jun 2000
    Posts
    5
    Megatron
    Project1 is called Login, Project2 is LogBook, I start with login, when that is succesfull executed I want to unload login and load LogBook, however no luck
    Kedaman
    All my form has Option Explicit, each project runs okay on its own

    PJC

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