I want to you GIF files in my VB application

I am having an application made in VB . I wish to use GIF Files in my VB application. Can any one tell me how do i do it . If i need some Control for it please forward the site address.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

As you are new here:

Please observe the points assignment system.
You have 4 questions with a value from 2 to 5 points. Normally the minimal value is 50 Points (easy).
Nobody can forbid you from asking questions with very few points assigned, but it devaluates the points system and you can bet that you won't get a lot of response with such points.

Bye, Geert
You can use an image or picture control which are both part of Visual Basic. They read Gif Files. Don't think they do animated Gif but they do regular Gif.

As for calacuccia's comment... I must agree. 4 Points is too low for anything. If you feel like you want to raise them you can do so before you accept an answer. If not I for one won't be answering any more of them.
hsaraiyaAuthor Commented:
Adjusted points to 40
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

Don't really mind that you rejected the answer but it would be nice if you explained why so that I could give you some more help.
Looked like all you were wanting was the control, which I gave you. As for an explaination on how to do it, you can set the pictuere at run time by going to the properties for the control and setting the pictue property to the GIF you want. At run time, use the LoadPicture such as:
imgImage.picture = loadpicture("c:\mypics\mygif.gif")

Here is some code to show you how to use an image box to do it. I just used a command button on a form, along with an image box and common dialog control.

Private Sub cmdOpen_Click()
    Dim fileName As String
    CommonDialog1.Filter = "Gif Files *.gif|*.gif"
    fileName = CommonDialog1.fileName
    If fileName <> "" Then
        Image1.Picture = LoadPicture(fileName)
    End If
End Sub

I'd be happy to help you some more if you'd explain what else you need but I'm going to lock it since I'm assuming this is all you were after.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
hsaraiyaAuthor Commented:
We rejected your comments because we already know that answer and we want to use the animated gif in the form. With this code what you have given we just get one frame of that gif not the running or animated gif. We would  appreciate if you could help me with that.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.