Animated Gif Problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rusdyrip
    New Member
    • Jan 2008
    • 29

    Animated Gif Problem

    hi all
    i want to make Loading Form with animated gif

    i make like this

    Code:
    'do events
    formloading.showdialog()
    'do events
    
    'process loading data to grid
    
    'do events
    formloading.close
    'do events
    but the problem is the animated gif won't animated.
    if don't make loading process the animated gif work perfectly

    how to i get it to animate while i am loading?

    thx

    sory bad english
  • lotus18
    Contributor
    • Nov 2007
    • 865

    #2
    Hi

    What version of vb are you using? In .NET, you can play animated .GIF in the form but not in vb6. In vb6 it needs another control for that : )

    Rey Sean

    Comment

    • rusdyrip
      New Member
      • Jan 2008
      • 29

      #3
      Originally posted by lotus18
      Hi

      What version of vb are you using? In .NET, you can play animated .GIF in the form but not in vb6. In vb6 it needs another control for that : )

      Rey Sean

      i am use vb2005 express
      on normal condition it can animate on the form.
      but if i load while processing it don't animate

      Comment

      • daniel aristidou
        Contributor
        • Aug 2007
        • 494

        #4
        Originally posted by rusdyrip
        [CODE=vb]
        'do events
        formloading.sho wdialog()
        'do events

        'process loading data to grid

        'do events
        formloading.clo se
        'do events
        [/CODE]
        but the problem is the animated gif won't animated.
        if don't make loading process the animated gif work perfectly
        how to i get it to animate while i am loading?
        From your...post i understand that the gif image is there but...not.....a nimated?
        You might want to try.....Me.Refr esh and me.validate before the process code....

        Comment

        • Vladica
          Banned
          New Member
          • Jan 2008
          • 1

          #5
          I think he can do that in VB6. I have some codes. I will look at home so i will give you any of it.

          *vace*

          Comment

          • VACEPROGRAMER
            Banned
            New Member
            • Nov 2007
            • 167

            #6
            Maybe you shold use the animation control or try to take the GIF into PictureBox and ImageBox

            *VACE*

            Comment

            • rusdyrip
              New Member
              • Jan 2008
              • 29

              #7
              if anybody have spare time,
              pls take a look at my sample project.

              this is my problem


              http://rapidshare.com/files/88986964/WindowsApplicat ion1.rar.html

              thx

              Comment

              • Ali Rizwan
                Banned
                Contributor
                • Aug 2007
                • 931

                #8
                I have already uploaded a code to play animated gifs.
                Make a search in thescripts you will find that.
                Or goto my profile and then see all my posts then search for that or search manually.

                Regards
                >> ALI <<

                Comment

                Working...