Solved

project file management

Posted on 2001-08-01
6
166 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 52

Expert Comment

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

Accepted Solution

by:
KDivad earned 50 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
Independent Software Vendors: 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!

 
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

705 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