By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,587 Members | 1,079 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,587 IT Pros & Developers. It's quick & easy.

About box

P: n/a
How do I call the standard Win32 API about box (like in Windows explorer-
when you select help-about) from a VB.NET windows form?
Nov 22 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
How do I call the standard Win32 API about box (like in Windows explorer-
when you select help-about) from a VB.NET windows form?


Declare Auto Function ShellAbout Lib "shell32.dll" (ByVal hWnd As
IntPtr, ByVal szApp As String, ByVal szOtherStuff As String, ByVal
hIcon As IntPtr) As Integer

....

ShellAbout(Handle, "Your app", "Your description", IntPtr.Zero)

Mattias

--
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
Nov 22 '05 #2

P: n/a
Hi,

API Declare
Declare Function ShellAbout Lib "shell32.dll" Alias "ShellAboutA" _

(ByVal hwnd As IntPtr, ByVal szApp As String, ByVal szOtherStuff As String,
_

ByVal hIcon As IntPtr) As Integer

How to use

ShellAbout(Me.Handle, "Test", "This is some other stuff to display",
Me.Icon.Handle)

Ken

---------------

"A.A. Fussy" <am****@austarnet.com.au> wrote in message
news:e5**************@TK2MSFTNGP09.phx.gbl...
How do I call the standard Win32 API about box (like in Windows
explorer-
when you select help-about) from a VB.NET windows form?

Nov 22 '05 #3

P: n/a
Hi,

API Declare
Declare Function ShellAbout Lib "shell32.dll" Alias "ShellAboutA" _

(ByVal hwnd As IntPtr, ByVal szApp As String, ByVal szOtherStuff As String,
_

ByVal hIcon As IntPtr) As Integer

How to use

ShellAbout(Me.Handle, "Test", "This is some other stuff to display",
Me.Icon.Handle)

Ken

---------------

"A.A. Fussy" <am****@austarnet.com.au> wrote in message
news:e5**************@TK2MSFTNGP09.phx.gbl...
How do I call the standard Win32 API about box (like in Windows
explorer-
when you select help-about) from a VB.NET windows form?

Nov 22 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.