Results 1 to 10 of 10

Thread: How can I view Animated GIF's with VB???

  1. #1

    Thread Starter
    Registered User Lior's Avatar
    Join Date
    Jan 2000
    Posts
    307

    Question

    Hi,
    I really wanted to know, lets say I have an animated GIF file. How can I see it animated with using VB?
    it is not being animated when I use simple PictureBox or ImageBox.

    How can I see it anyway?

    Thanks.

  2. #2
    Guest
    Place a Webbrowser on your form and then navigate to the animated gif file on your computer.

    Code:
    Webbrowser1.Navigate "C:\anigifs\anigif.gif"

  3. #3
    Hyperactive Member
    Join Date
    Feb 2000
    Posts
    284
    IN no way do I want to take away from Matt's answer becuase it is completely right but to give you a bit more detail check this out


    http://forums.vb-world.net/showthrea...threadid=11190

    Nice

  4. #4
    So Unbanned DiGiTaIErRoR's Avatar
    Join Date
    Apr 1999
    Location
    /dev/null
    Posts
    4,111
    They have OCX's for this, they'd probably have transparency too....

  5. #5

    Thread Starter
    Registered User Lior's Avatar
    Join Date
    Jan 2000
    Posts
    307
    Hi
    Thanks for trying to help, but when I use:
    Code:
    WebBrowser1.Navigate "C:\test.gif"
    It tries to DOWNLOAD the file.
    It doesnt show it.

    Please help me.
    Thanks.

  6. #6
    Guest
    Here is a list of results that come up when you search the Vb-World Forums.

    I am sure one of them will be more helpful to you.

  7. #7
    Lively Member
    Join Date
    Aug 2000
    Location
    México, D.F.
    Posts
    64
    Hey !!
    you have to select in the components the Anigif.ocx, if u don't have it i will share it

  8. #8

    Thread Starter
    Registered User Lior's Avatar
    Join Date
    Jan 2000
    Posts
    307

    hi

    Hi
    please, send me the OCX.
    or via ICQ or via Email or just put it online somewhere.

    Thanks.

  9. #9
    Lively Member
    Join Date
    Aug 2000
    Location
    México, D.F.
    Posts
    64

    Talking Re: hi

    Try this website:



    http://www.jcomsoft.com/anigif.htm




    ______________________________________________________
    Erick de la Torre E.
    Mexican VB Developer
    "Thought i´m afraid Hell until I live in Mexico, D.F."

  10. #10

    Thread Starter
    Registered User Lior's Avatar
    Join Date
    Jan 2000
    Posts
    307

    Thumbs up Thank you

    Hi,
    thank you all guys.
    I really appriciate your help.
    I found (with your help), the best way to run an animated gif:

    Code:
    WebBrowser1.Navigate "about:<html><body scroll='no'><img src='D:\Internet\anim.gif'></img></body></html>"
    Thanks again.

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