Results 1 to 9 of 9

Thread: Whats the best way of displaying an animated gif, except the web browser control?

  1. #1
    DarthCooper
    Guest

    Question Whats the best way of displaying an animated gif, except the web browser control?

    I think thinking of like an intro screen for my app? Are there any decent controls out that'll embed an anim gif into my form? The web browser is crap for this as you need a speciic path and it never fits in with the back ground colours of my form.

    Thanks,

    Darth

  2. #2
    Registered User Nucleus's Avatar
    Join Date
    Apr 2001
    Location
    So that's what you are up to ;)
    Posts
    2,530
    Well you can't change the backgroud colour of the animated gif, and you can use app.path instead of a fixed path to load the gif into the webbrowser, which fixes both those problems.

    You can also search www.planetsourcecode.com.

  3. #3
    MerryVIP
    Guest
    I think there was GIF89.DLL somewhere. Even though it's DLL, it appears to be a control. I can't remember where to get it...My work day ended I must go now. Try looking with Google

  4. #4
    DarthCooper
    Guest
    app.path? So if I did use a web browser control and I wanted it to load the gif at form_load, how would I state this? Something like:

    Webbrowser1.Navigate "App.Path\opening.gif

    or something similar?

    Darth,

  5. #5
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538
    The app.path statement will look in the same folder that you're running the exe / your program from.

    Not the best solution, but you would use :
    Webbrowser1.Navigate App.Path & "\opening.gif"

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

  6. #6
    DarthCooper
    Guest

    Talking

    Ah ha, thats works cool. Thanks! Yes its not the best method but it'll do for now until I find another method Thanks for your help folks.

    darth

  7. #7
    _______ HeSaidJoe's Avatar
    Join Date
    Jun 1999
    Location
    Canada
    Posts
    3,946

    <?>

    Haven't really played with this..found it once but never bothered to check it out...works, that's all I know. Zipped Attachment.
    Attached Files Attached Files
    "A myth is not the succession of individual images,
    but an integerated meaningful entity,
    reflecting a distinct aspect of the real world."

    ___ Adolf Jensen

  8. #8
    DarthCooper
    Guest
    Nice, I will try and adapt it for use in my app, thanks HeSaidJoe :P

    Darth

  9. #9
    DarthCooper
    Guest
    On second thoughts, after looking at the code.....

    Darth

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