?
Solved

project file management

Posted on 2001-08-01
6
Medium Priority
?
169 Views
Last Modified: 2010-05-02
i am developing a project on visual baisc 6. i will be having around 100 different forms.i will have a same menu on all the forms which loads the different forms . for this purpose , should i make a single project file and put all the forms under this , or i shall make different project files for a group of related forms.

regards,
naresh
0
Comment
Question by:ATIRAS
[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
6 Comments
 
LVL 6

Expert Comment

by:JonFish85
ID: 6343414
Private Declare Function SetMenu Lib "user32" Alias "SetMenu" (ByVal hwnd As Long, ByVal hMenu As Long) As Long
Private Declare Function GetMenu Lib "user32" Alias "GetMenu" (ByVal hwnd As Long) As Long


then:

Dim frm As Form

For Each frm In Forms
  SetMenu frm.hWnd, GetMenu(FormWithMenu.hWnd)
Next frm

hope this helps!
0
 
LVL 53

Expert Comment

by:Ryan Chong
ID: 6343432
<listening..>
0
 
LVL 5

Accepted Solution

by:
KDivad earned 200 total points
ID: 6343965
I'd say to use an MDIForm. Put the menu on it and make all the forms with that menu MDIChildren.
-or-
If the forms are shown only one at a time, you can use frames on a single form to contain the controls. This way, you'd have one form, one set of menus and you can just use show the frame you wish to show and hide the others.

Essentially, a project equals an app. If you split the forms to different projects, you'll end up with them in different apps.
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 4

Expert Comment

by:vindevogel
ID: 6346906
One for all, all for one ;-)
0
 
LVL 12

Expert Comment

by:guidway
ID: 7197449
This question appears to have been abandoned. A Moderator will be asked
to close this question after seven days, with the following recommended disposition:

Points to KDivad

If you have any comment or objection to the recommendation, please leave
it here.

guidway
EE Cleanup Volunteer

0
 
LVL 5

Expert Comment

by:Netminder
ID: 7211481
Per recommendation, force-accepted.

Netminder
CS Moderator
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

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses
Course of the Month9 days, 2 hours left to enroll

764 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