Solved

adding menu bar to a project

Posted on 2004-04-27
10
130 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
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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 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…

685 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