Solved

adding menu bar to a project

Posted on 2004-04-27
10
126 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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
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…
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…

707 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now