DefaultAd Property

The DefaultAd property is a string Variant that contains the HTML text to be returned by the GetAd method if the AdServer object cannot determine an appropriate advertisement.

Syntax

AdServerObject.DefaultAd

Remarks

If the DesignMode property is set to True, then in the situation in which the GetAd method cannot determine an appropriate advertisement, the method will return an appropriate error message to the developer instead of displaying the default ad.

Example

Ad.DefaultAd = "<B><FONT SIZE=+4 COLOR=BLUE><MARQUEE WIDTH=400>This is the default ad</MARQUEE></FONT></B>"

See Also

DesignMode, GetAd


© 1997-1998 Microsoft Corporation. All rights reserved.