Results 1 to 6 of 6

Thread: windows about box

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2002
    Location
    Toronto, Ontario, Canada
    Posts
    275

    windows about box

    ok. my trusty notepad went bad. so i coppied it off of a xp computer with a Winddows XP about box. but when it got to my 2000 machine bang it was 2000! i also tried copying 2 other apps (excluseive to xp) and they both had 2000 about boxes.

    so this suggests to me that there is a way to call up the about box and put your own custom little picture and prog name (like ms did with notepad) AND the windows info would change with the system.

    NOT GETTING IT YET ? HERE IS WHAT I WANT TO DO START>PROG>ACCS>NOTEPAD NOTEPAH>HELP>ABOUT

  2. #2
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373
    a lot of windows built in MS programs use that same about box to display their information... i am not sure if you can use it or not in your own apps... but there is an API function called ShellAbout... you may want to check that out

  3. #3
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538
    VB Code:
    1. Private Declare Function ShellAbout Lib "shell32.dll" _
    2. Alias "ShellAboutA" (ByVal hWnd As Long, ByVal szApp As _
    3. String, ByVal szOtherStuff As String, ByVal hIcon As Long) As _
    4. Long
    5.  
    6. Private Sub Form_Load()
    7.     ShellAbout Me.hWnd, "My App Name", "Other Information", _
    8.     ByVal 0&
    9. End Sub

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

  4. #4
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373
    a-ha... i was right

  5. #5
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538
    Yup, I'll be honest, I didn't know about that one, it was only 'cause you put that reply down, that I could look up the call & do the sample - thanks!

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

  6. #6
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373
    i found it in the API guide.. i just didn't try a sample because it is monday morning and there is much to do here

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