Solved

adding menu bar to a project

Posted on 2004-04-27
10
132 Views
Last Modified: 2010-05-02
hi i need help on following:-
1. How to add a menubar on a vb project? and which OCX is req?
2. I want my project to become full screen mean miximized on run, how it will be done?

plz help, bye
0
Comment
Question by:its_aamir
[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
10 Comments
 
LVL 35

Expert Comment

by:[ fanpages ]
ID: 10936148
Hi its_aamir,

"mean miximized" what's that?


BFN,

fp.
0
 
LVL 9

Assisted Solution

by:p_sie
p_sie earned 207 total points
ID: 10936188
1: Use the menu-editor, right click somewhere on your form (the one you want the menu on) and then select Menu-editor... This will add a menubar to your form, and if you
    have a MDI-form then it is for the entire project.
2: Set the forms 'windowstate' to maximized

This all is for VB6

Greetings,

p_Sie
0
 

Author Comment

by:its_aamir
ID: 10936439
miximized mean, it will be displayed on full screen
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!

 
LVL 9

Expert Comment

by:p_sie
ID: 10936453
I understood you allready!
0
 
LVL 35

Accepted Solution

by:
[ fanpages ] earned 208 total points
ID: 10936471
...does that mean that you do not want the initial form "maximized" but need to set the form (window) dimensions [top, left, width & height] to match the screen dimensions?

e.g.

Private Sub Form_Load()

Me.Move 0,0
Me.Width = Screen.Width
Me.Height = Screen.Height

End Sub

BFN,

fp.
0
 
LVL 2

Expert Comment

by:fadixp
ID: 10946889
Form Style make it NONE
so no frame , will be there
and about the window state make it Maximized

it will be totally full screen
just like you are using a game .
0
 
LVL 35

Expert Comment

by:[ fanpages ]
ID: 11387219
I respectfully suggest the question be closed & points awarded accordingly.

Thank you.
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

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

728 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