Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Showing Animated Gif

Showing Animated Gif

Scheduled Pinned Locked Moved C#
question
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    freshonlineMax
    wrote on last edited by
    #1

    Hello I want to show Animated Gif on start form of my application. But i don't know which control can do this!? I used PictureBox, Panel, ... but all of them just show first frame like a picture and there is no animation. Finally i used Label control that shows animation incorrectly and don't show some frames. I know i should use PictureBox but should i set some properties which i don't know about them? Please send me your suggestions... Tanx

    T O 2 Replies Last reply
    0
    • F freshonlineMax

      Hello I want to show Animated Gif on start form of my application. But i don't know which control can do this!? I used PictureBox, Panel, ... but all of them just show first frame like a picture and there is no animation. Finally i used Label control that shows animation incorrectly and don't show some frames. I know i should use PictureBox but should i set some properties which i don't know about them? Please send me your suggestions... Tanx

      T Offline
      T Offline
      Talal Sultan
      wrote on last edited by
      #2

      Hi, Well, as a first idea, I would say to use the original HTML tag; unless you need PictureBox for some other processing later. But if it is just to display a simple GIF animation, this will most probably work, unless your GIF animation wasn't compiled correctly in the first place.

      "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." --Rich Cook

      F 1 Reply Last reply
      0
      • T Talal Sultan

        Hi, Well, as a first idea, I would say to use the original HTML tag; unless you need PictureBox for some other processing later. But if it is just to display a simple GIF animation, this will most probably work, unless your GIF animation wasn't compiled correctly in the first place.

        "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." --Rich Cook

        F Offline
        F Offline
        freshonlineMax
        wrote on last edited by
        #3

        Hi again Dear friend i'm developing windows form application. tag is using in WebForms. No, there is no problem with gif image. Tanx

        T 1 Reply Last reply
        0
        • F freshonlineMax

          Hi again Dear friend i'm developing windows form application. tag is using in WebForms. No, there is no problem with gif image. Tanx

          T Offline
          T Offline
          Talal Sultan
          wrote on last edited by
          #4

          Oops sorry, I didn't notice that. I should have, though, since PictureBox is a Windows Forms control and not a Web Forms control. Well anyway, as I know it, animated GIFs only work with web pages and I don't think you can make them work with a windows application. Please get another opinion on this matter because i'm not 100% sure about that but I have personally never seen an animated GIF on a windows forms application. Sorry that I can't be of more help.

          "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." --Rich Cook

          1 Reply Last reply
          0
          • F freshonlineMax

            Hello I want to show Animated Gif on start form of my application. But i don't know which control can do this!? I used PictureBox, Panel, ... but all of them just show first frame like a picture and there is no animation. Finally i used Label control that shows animation incorrectly and don't show some frames. I know i should use PictureBox but should i set some properties which i don't know about them? Please send me your suggestions... Tanx

            O Offline
            O Offline
            overfreeze
            wrote on last edited by
            #5

            Try this http://weblogs.asp.net/justin_rogers/archive/2004/01/19/60424.aspx I would try to read the article myself and explain it, but i'm just too lazy for that right now... I know I have a book somewhere that explains it better and simpler. I'll post the code if I find it.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups