?
Solved

Can you load a form from a different project in Multiple Project Groups

Posted on 2003-03-14
9
Medium Priority
?
142 Views
Last Modified: 2010-05-01
Is it possible at all to load a form in a project, so that if you had a shared project that contained all the forms that were used by all the other projects
0
Comment
Question by:Matthew Tandy
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
9 Comments
 
LVL 38

Expert Comment

by:PaulHews
ID: 8139985
Yeah, we do that all the time.  The trick is to come up with a sensible method of storing shared forms perhaps keep them in their own folder.  Then just add them to your project to use them.  Keep them as generic as possible and don't reference global variables or other forms unless you plan on having *those* present in every project as well.
0
 
LVL 1

Author Comment

by:Matthew Tandy
ID: 8140101
No i mean load a from from another project within the current project

Project Group
+Project 1
++Form 1
+Project 2
++Form 2

Is it possible to load the forms from project 1 from project 2?
0
 
LVL 38

Expert Comment

by:PaulHews
ID: 8140187
Hmmm.  You could acheive this with an active x dll or exe, but it can be fairly complicated.  What you would be doing would be calling methods that in turn call the required form in the component.  There are some issues with the way VB displays these forms, and it is an excercise in complexity to make everything behave the way you want it.  When you do manage to load the forms, you have to consider how you will expose the information back to the calling project--more complexity.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Expert Comment

by:CleanupPing
ID: 8900065
TandyHome:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
Experts: Post your closing recommendations!  Who deserves points here?
0
 
LVL 38

Expert Comment

by:PaulHews
ID: 8906911
Question was answered, but maybe user was expecting something more for the 200 points.  Unfortunately nothing more was possible to suggest.  If user wanted more information, he certainly wasn't asking for it.
0
 
LVL 38

Accepted Solution

by:
PaulHews earned 800 total points
ID: 8906915
If the user would be ok with a reduction of points, I would be happier with that than deletion.
0
 
LVL 1

Author Comment

by:Matthew Tandy
ID: 8907075
there you go mate
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question