Accessing Modules in a Different Project

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • SenileOwl
    New Member
    • Feb 2008
    • 27

    Accessing Modules in a Different Project

    I'm working with VB. NET 2005.

    I have created two projects that lie within the same solution. The two projects are titled Cats and Committees. Within the Cats project lies a module called ThingsThatStart WithC. Within the module is a procedure called Message.

    Is there a way to call the Message procedure(That lies within Cats) from the project Committees?
  • SenileOwl
    New Member
    • Feb 2008
    • 27

    #2
    Well, I did discover the answer to my question. So here it is if anyone else was having a similar problem.

    I went into the properties of Cat and then went to the reference section. I then clicked on Add, and then went to the projects tab. Committee was sitting there, so I clicked on Committee. (I haven't actually tried this with a project. Instead I used a Windows Control Library, but I'm hoping they are similar, or at least you can used the Library instead of a project.) Then I made sure I had built my Library. This allowed me to drag my component that was part of the Library, onto my form. Then I was able to call any procedures or functions that I had used in the component. I called them by naming the component, i.e.component11 , and then the procedure. Example component11.ema ilcolor.

    Comment

    Working...