I created a rotating banner in a form and could only get the banner to work with this code:

On Error GoTo Load_Cancel
With CommonDialog1
.CancelError = True
.Filter = "GIFS (*.GIF)|*.GIF"
.ShowOpen
WebBrowser1.Navigate "url"
WebBrowser1.Move _
ScaleX(-12, vbPixels,vbTwips),ScaleY(-17, vbPixels,vbTwips), Width, Height
Picture1.AutoSize = True
End With
Load_Cancel:

But I can't figure out how to display the banner without it asking for a .gif file every time its run. If anyone understands this please help.