Solved

adding menu bar to a project

Posted on 2004-04-27
10
129 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
Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

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.

 
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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

Suggested Solutions

Title # Comments Views Activity
How to incorporate an error traping routing to existing code in VB6 11 45
Hide vba in gp 7 104
Visual Studio 2005 text editor 10 44
Sub or Function is not defined 6 43
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…
I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
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 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…

829 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