Results 1 to 2 of 2

Thread: banner prob.

  1. #1

    Thread Starter
    Member
    Join Date
    Oct 2000
    Location
    USA
    Posts
    37

    Red face

    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.

  2. #2
    Guest
    Just:

    Code:
    WebBrowser1.Navigate "url" 
    WebBrowser1.Move _ 
    ScaleX(-12, vbPixels,vbTwips),ScaleY(-17, vbPixels,vbTwips), Width, Height 
    Picture1.AutoSize = True

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width