|
-
Nov 2nd, 2000, 07:37 PM
#1
Thread Starter
Member
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.
-
Nov 2nd, 2000, 08:51 PM
#2
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|