[RESOLVED] How to display an about us/How to page
I am very new with VB and I am making a simple calculator. I have started making a menu. So far I have File and under it is, New, Reset and Exit. I want to add a Help menu and there be two things in it called About Program and How To. I am just wanting to display a short paragraph of the information they need.
How do I do this?
Re: How to display an about us/How to page
Since you are not working with a database within which to store your "How to" info, I would suggest a simple text file and your Help Menu opens and displays in Notepad.
The About box is nothing more than another VB form on which you can display whatever information you feel appropriate "About" your application. There is no right or wrong way to develop an "About" box, it is completely up to your own imgination. Since you are new to this, I would suggest looking at the About boxes of other applications and model yours after one that you like.
Re: How to display an about us/How to page
several chioces for this, depending on what you want it to be like, you could simply display a msgbox, or have a textbox set to invisible that you can display over every thing else, you could use a sepate form with the information on it
or there is an api call to show and "about" box
VB Code:
Private Declare Function ShellAbout Lib "shell32.dll" Alias "ShellAboutA" (ByVal hWnd As Long, ByVal szApp As String, ByVal szOtherStuff As String, ByVal hIcon As Long) As Long
'then call it with
ShellAbout Me.hWnd, App.Title, "Created by the KPD-Team 1999", ByVal 0&
rgds pete
Re: How to display an about us/How to page
Good call westconn1! I had completely forgotten about the API About box (and I've used it numerous times LOL) :thumb:
Lucnet: Play around with westconn1's suggestion. It is a good way to both learn about API calls as well as package a "ready made" About box in your application without having to add a extra form! :thumb:
Re: How to display an about us/How to page
Thanks, I will try it out.
Re: How to display an about us/How to page
M$ has both an About form and a LogIn form in VB6. Just create a new form, and you have about 10 different ones including the blank one that you are used to.
Re: How to display an about us/How to page
Another option is you can use splash screen to display your "About..." sub menu.
This is available under "Add Form" dialogue box.
-Eshu
Re: How to display an about us/How to page
Thanks dglienna, I tried that it adds the form great. Just one noob question. How do I get that linked to the menu?
Re: How to display an about us/How to page
Sorry to double post, I finnally found it. Thanks for all the help.