Results 1 to 10 of 10

Thread: Multiple projects as one...

  1. #1

    Thread Starter
    Member chenko's Avatar
    Join Date
    Aug 2002
    Posts
    56

    Multiple projects as one...

    Im looking to develop a range of small to meduim applications, and I want them to be all part of one program... In the past I have just developed these under the same project and had to try and keep tidy with form/varible/etc naming, but even still it got messy and made it much harder to add new projects into it.

    The alternative way is just to code them all seperatly and make a small menu program (or just use shortcuts), but I much rather keep the programs together...

    Is there a way I can keep each project seperate yet still have them as one program? :/

    tis a pretty silly question but I have no ideas at the moment

  2. #2
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    I don't think you can do it. Each project will make its own compiled file.
    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

  3. #3

    Thread Starter
    Member chenko's Avatar
    Join Date
    Aug 2002
    Posts
    56
    Originally posted by crptcblade
    I don't think you can do it. Each project will make its own compiled file.
    Yea I know that, speically with group projects etc... im sorta looking for a compremise somewhere at least

  4. #4
    Fanatic Member
    Join Date
    Oct 1999
    Location
    England
    Posts
    982
    In our company we have one application used by many people.
    We use the menus to restrict access to different parts of the app.
    so

    Code:
    if userid = "Jo" then
        mnu1.visible = false
        mnu2.visible = false
    endif
    We actually store all this in a database. and read it in when the person logs in.

    The one thing you have to watch out for is there has to be at least one child menu item visible. You cannot make all children menu item of a parent not visible. It is better to make the parents not visible where possible.

  5. #5

    Thread Starter
    Member chenko's Avatar
    Join Date
    Aug 2002
    Posts
    56
    Originally posted by davidrobin
    In our company we have one application used by many people.
    We use the menus to restrict access to different parts of the app.
    so

    Code:
    if userid = "Jo" then
        mnu1.visible = false
        mnu2.visible = false
    endif
    We actually store all this in a database. and read it in when the person logs in.

    The one thing you have to watch out for is there has to be at least one child menu item visible. You cannot make all children menu item of a parent not visible. It is better to make the parents not visible where possible.
    Thats still misses the problem though, the acctual code... it will all still be in there... and i dont want to restrict anything for anyone.
    When I say small to medium, i mean small as in like 30 odd modules/forms, not 5 lines and half a form.

  6. #6

  7. #7
    Fanatic Member
    Join Date
    Oct 1999
    Location
    England
    Posts
    982
    This is going to be a stupid question but how do you load code modules?

  8. #8

  9. #9

    Thread Starter
    Member chenko's Avatar
    Join Date
    Aug 2002
    Posts
    56
    Originally posted by MartinLiss
    How about separate code modules for each program? That would have the advantage that code modules are not loaded until they are actually needed.
    Thats the approach I took last time I did this type of project, naturally I seperated the forms and modules (prefixed them so I knew which project they belonged too) with a few modules for global usage, but you get into problems with varibles across the project when you dont want them to be , you can make them public to a single module/form but not to a group of forms only else global

  10. #10

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