Solved

adding menu bar to a project

Posted on 2004-04-27
10
128 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Need VBS version of Excel date conversion 4 71
Macro which automatically sends attachment to Outlook 14 71
MS Access - Capture pressed key onclick 4 33
vbModal 12 53
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…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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 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…

803 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