|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Passing a Variable from one Project to another
Hi,
I have two seperate projects. One project is the main project that contains one userform and references the other project within it for it's funtionality. Essencially the main project is just a user interface that references many other projects. What I have is a textbox in the main form that I want populated from a module from another project and module that is fired. However it does not see the textbox when the module is run from the other form. How do I reference the main form? Example: MainUserForm.textbox1 = otherproject.theModule.MyVariable I hope that makes sense. |
|
#2
|
||||
|
||||
|
Quote:
I usually make a modal or global Module to pass variables |
|
#3
|
|||
|
|||
|
Quote:
I've never used a global Module before. I thought if you set your functions within your project to Public that it opened them up to other projects. Or does that just make them available to other modules in the same project? Away, if you could give me an example of a global module that would be great, the help doesn't mention much about them. Thanks |
![]() |
| Viewing: ASP Free Forums > Programming > Visual Basic Programming > Passing a Variable from one Project to another |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|