Results 1 to 9 of 9

Thread: [RESOLVED] How to display an about us/How to page

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Feb 2005
    Posts
    19

    Resolved [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?
    Last edited by Lucnet; Feb 4th, 2005 at 10:36 AM. Reason: [RESOLVED]

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    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.

  3. #3
    PowerPoster
    Join Date
    Dec 2004
    Posts
    25,618

    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:
    1. 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
    2.  
    3. 'then call it with
    4.  
    5.     ShellAbout Me.hWnd, App.Title, "Created by the KPD-Team 1999", ByVal 0&

    rgds pete

  4. #4
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    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)

    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!

  5. #5

    Thread Starter
    Junior Member
    Join Date
    Feb 2005
    Posts
    19

    Re: How to display an about us/How to page

    Thanks, I will try it out.

  6. #6
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    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.

  7. #7
    Junior Member
    Join Date
    Jan 2005
    Posts
    27

    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

  8. #8

    Thread Starter
    Junior Member
    Join Date
    Feb 2005
    Posts
    19

    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?

  9. #9

    Thread Starter
    Junior Member
    Join Date
    Feb 2005
    Posts
    19

    Re: How to display an about us/How to page

    Sorry to double post, I finnally found it. Thanks for all the help.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width