Results 1 to 3 of 3

Thread: [RESOLVED] Windows About Box

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Oct 2009
    Location
    Clive, IA in America!!!!
    Posts
    204

    Resolved [RESOLVED] Windows About Box

    When you open the about box in Notepad there is a professional looking form that tells about the computer as well. Is there a command in vb 6.0 to hook that form? In VB .net:

    Code:
    Public Declare Function ShellAbout Lib "shell32.dll" Alias "ShellAboutA" ( _
         ByVal hwnd As Int32, _
         ByVal szApp As String, _
         ByVal szOtherStuff As String, _
         ByVal hIcon As Int32) As Int32
    
    Call ShellAbout(0, "MyApp", "My App Description + extra info (Other Stuff)", 0)
    But this throws an error in VB 6.0... "User-defined type not defined"

    Thanks for the help!

    VBNetDude - Thinking Programmatically
    By Silver Seal Software

    Don't forget to mark your thread as "Resolved" using the Thread Tools menu on top. And don't forget to rate the answers that help you the most!

  2. #2
    VB-aholic & Lovin' It LaVolpe's Avatar
    Join Date
    Oct 2007
    Location
    Beside Waldo
    Posts
    19,541

    Re: Windows About Box

    Int32 is not recognized by VB6. Use Long instead.
    Insomnia is just a byproduct of, "It can't be done"

    Classics Enthusiast? Here's my 1969 Mustang Mach I Fastback. Her sister '67 Coupe has been adopted

    Newbie? Novice? Bored? Spend a few minutes browsing the FAQ section of the forum.
    Read the HitchHiker's Guide to Getting Help on the Forums.
    Here is the list of TAGs you can use to format your posts
    Here are VB6 Help Files online


    {Alpha Image Control} {Memory Leak FAQ} {Unicode Open/Save Dialog} {Resource Image Viewer/Extractor}
    {VB and DPI Tutorial} {Manifest Creator} {UserControl Button Template} {stdPicture Render Usage}

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Oct 2009
    Location
    Clive, IA in America!!!!
    Posts
    204

    Re: Windows About Box

    Great! Thanks for that input! It works now. I had trouble because the whole thing was highlighted!

    Note: I also had to change "Public Funct..." to "Private Funct..."

    Thank-you very much!

    VBNetDude - Thinking Programmatically
    By Silver Seal Software

    Don't forget to mark your thread as "Resolved" using the Thread Tools menu on top. And don't forget to rate the answers that help you the most!

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