|
-
Oct 13th, 2004, 05:18 AM
#1
Thread Starter
Hyperactive Member
gif89.dll/webbrowser control[resolved]
Folks
I just can't get the gif89.dll control to work, pesky little bugger.
I've read all the tutorials I can lay my mitts on, done everything anyone has so far suggested. And nada. Zip. All I get is the static image, just as I would if I used a poxy image control.
VB Code:
anigif.filename = "K:\mypath\myimage.gif"
'have also tried adding:
'anigif.play
'although the autostart property is set to true anyway
'and
'anigif.embed = true
'which I saw someone mention in another thread somewheres
Any suggestions?
Incidentally, I have tried using the web browser control but don't like how it appears.
Cheers guys
Last edited by thebloke; Oct 13th, 2004 at 09:07 AM.
The Bloke
www.blokeinthekitchen.com
making cooking cool for blokes
-
Oct 13th, 2004, 05:50 AM
#2
VB Code:
Gif89a1.FileName = "C:\Documents and Settings\Administrator\Local Settings\Temporary Internet Files\Content.IE5\Y9ATOF83\pizza_04[1].gif"
it is working fine. I think u have changed some properties. I suggest u delete that control and drop a new control & leave defaut properties as it is.
-
Oct 13th, 2004, 05:56 AM
#3
Thread Starter
Hyperactive Member
Tried that. Tried placing it on a new application, with nothing else on it, in the form load event. Same thing happens - nothing.
Also, tried placing it on an Access 2002 form and again, all I get is the static image. I've tried a different image, to see if it is the actual gif that is the problem AND I've tried unregistering the dll and registering it again to see if that helped.
It didn't.
The Bloke
www.blokeinthekitchen.com
making cooking cool for blokes
-
Oct 13th, 2004, 08:05 AM
#4
Thread Starter
Hyperactive Member
Ok, so I've abandoned the gif89.dll method and gone back to the webbrowser control.
Next question:
Can I get rid of the border/3d appearance of the webbrowser control? If so, how?
Cheers
PW
The Bloke
www.blokeinthekitchen.com
making cooking cool for blokes
-
Oct 13th, 2004, 09:14 AM
#5
Thread Starter
Hyperactive Member
For those interested:
I eventually used the webbrowser control and got rid of the 3d appearance by placing the control inside a slighly smaller picturebox container and setting the top/left properties of the webbrowser control to -50, thus:
VB Code:
with webbrowser1
set .container = picture1
.top = -50
.left = -50
.visible = true
.navigate "about:<html><body scroll='no' topmargin='0' leftmargin='0'" & _
" marginwidth='0' marginheight='0' border='0' bgcolor='#E0DFE3'><img src='" & _
"K:\mypath\myimage.gif' border='0'></body></html>"
end with
Works a treat.
Hope this is useful to someone else.
Cheers
PW
The Bloke
www.blokeinthekitchen.com
making cooking cool for blokes
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
|