473,473 Members | 1,584 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

About box

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
3 2196
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: eScrewDotCom | last post by:
eScrew Welcome to eScrew! eScrew is eScrew and this is eScrew story. eScrew will tell you eScrew story if you promise eScrew to consider eScrew story as joke. eScrew story is very funny. eScrew...
220
by: Brandon J. Van Every | last post by:
What's better about Ruby than Python? I'm sure there's something. What is it? This is not a troll. I'm language shopping and I want people's answers. I don't know beans about Ruby or have...
8
by: eScrewDotCom | last post by:
eScrew Welcome to eScrew! eScrew is eScrew and this is eScrew story. eScrew will tell you eScrew story if you promise eScrew to consider eScrew story as joke. eScrew story is very funny. eScrew...
77
by: nospam | last post by:
Reasons for a 3-tier achitecture for the WEB? (NOTE: I said, WEB, NOT WINDOWS. DON'T shoot your mouth off if you don't understand the difference.) I hear only one reason and that's to switch a...
125
by: Sarah Tanembaum | last post by:
Beside its an opensource and supported by community, what's the fundamental differences between PostgreSQL and those high-price commercial database (and some are bloated such as Oracle) from...
5
by: eScrewDotCom | last post by:
www.eScrew.com eScrew Welcome to eScrew! eScrew is eScrew and this is eScrew story. eScrew will tell you eScrew story if you promise eScrew to consider eScrew story as joke. eScrew story is...
81
by: Matt | last post by:
I have 2 questions: 1. strlen returns an unsigned (size_t) quantity. Why is an unsigned value more approprate than a signed value? Why is unsighned value less appropriate? 2. Would there...
0
by: eScrewDotCom | last post by:
eScrew Welcome to eScrew! eScrew is eScrew and this is eScrew story. eScrew will tell you eScrew story if you promise eScrew to consider eScrew story as joke. eScrew story is very funny. eScrew...
7
by: Edward Yang | last post by:
A few days ago I started a thread "I think C# is forcing us to write more (redundant) code" and got many replies (more than what I had expected). But after reading all the replies I think my...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.