Atlanta Custom Software Development 

 
   Search        Code/Page
 

User Login
Email

Password

 

Forgot the Password?
Services
» Web Development
» Maintenance
» Data Integration/BI
» Information Management
Programming
  Database
Automation
OS/Networking
Graphics
Links
Tools
» Regular Expr Tester
» Free Tools

Quickly build a simple About form

Total Hit ( 1751)

Rate this article:     Poor     Excellent 

 Submit Your Question/Comment about this article

Rating


 


If you need a quick-and-dirty About dialog box for your application, that maintains a consistent look with other Windows applications, look no further than the ShellAbout routine in SHELL32.DLL. Using this function you have little control on what the dialog displays, and you can only customize the Product's name, a short descriptive message, and the icone. Here's the code, that couldn't be shorter:

Click here to copy the following block
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

' the first argument makes the About dialog modal with
' respect to the current form. The last argument assigns the
' dialog the same icon used for the current form.
ShellAbout Me.hWnd, App.Title, "A descriptive message", Me.Icon)

While this function does what it is supposed to do, there is a little problem to be solved: the copyright of all your applications appear to owned by Microsoft Corp, which is something that they (as well as you) might not want to ...



Submitted By : Nayan Patel  (Member Since : 5/26/2004 12:23:06 PM)

Job Description : He is the moderator of this site and currently working as an independent consultant. He works with VB.net/ASP.net, SQL Server and other MS technologies. He is MCSD.net, MCDBA and MCSE. In his free time he likes to watch funny movies and doing oil painting.
View all (893) submissions by this author  (Birth Date : 7/14/1981 )


Home   |  Comment   |  Contact Us   |  Privacy Policy   |  Terms & Conditions   |  BlogsZappySys

© 2008 BinaryWorld LLC. All rights reserved.