HOW TO
The ArcView start-up banner is displayed as a modeless dialog window by the request MsgBox.Banner. Since this request does not return a Window object, the requests Move and Resize can not be used on the banner. Because MsgBox.Banner displays an image, you can give the banner a different look. You can use a graphics program to modify the default bitmap image or to create a different one. If you choose to modify the default image, you should make a copy of it first. This document shows you how to use a different image.
Code:
MsgBox.Banner("$AVHOME/etc/banner".AsFileName, 1, "")
Code:
MsgBox.Banner("c:\home\gis_proj\mynewbanner.bmp".asfileName, 1, "")
Note:
To make the banner display longer, increase the numerical parameter.
Note:
If the image fails to display, you may need to decrease its dimensions.
Warning:
The image file must be a bitmap (.bmp), otherwise you will get a segmentation violation.
Article ID:000002550
Get help from ArcGIS experts
Download the Esri Support App