CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 9 of 9
  1. #1
    Join Date
    Jun 2012
    Posts
    23

    Exclamation visual basic direct animation library in windows 7 gone , where will i find it



    guys ...
    our teacher taught us to us how to make .gif animation work in visual basic,
    it uses a component, i tried it in windows xp... (it worked)...
    but when i got home , and tested it in my laptop ..(that has a os "windows 7") it didnt work ..
    i cant find the component .. "direct animation library" where will i find it...
    or is there any other ways to make a .gif file animation work in visual basic...
    (i have visual basic 6.0 professional edition...)

    help please....

  2. #2
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: visual basic direct animation library in windows 7 gone , where will i find it

    Use an AVI file, instead.

    Code:
    Option Explicit
    'Add a component Microsoft Windows Common Controls - 2
    
    Private Sub cmdPlay_Click()
       anmAVI.Open "c:\program files\microsoft visual studio\common\" & _
         "Graphics\Videos\filemove.avi"
       ' Play the file indefinitely.
       anmAVI.Play
    End Sub
    
    Private Sub cmdStop_Click()
       anmAVI.Stop
    End Sub
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  3. #3
    Join Date
    Jun 2012
    Posts
    23

    Re: visual basic direct animation library in windows 7 gone , where will i find it

    thanks ...
    but is there no other way to make an .gif file run on visual basic in windows 7 ...?
    'cause maybe it will eat much larger space if i make it avi or a video file ...?
    (and how to make an avi animation ... in photoshop ?)

  4. #4
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: visual basic direct animation library in windows 7 gone , where will i find it

    Search for GIF89. It's a program for VB6 that I used to use. Not sure if it works in Win7 though.
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  5. #5
    Join Date
    Jun 2012
    Posts
    23

    Re: visual basic direct animation library in windows 7 gone , where will i find it

    thanks again ..
    and then where will i put .. i mean what will i do next ..?
    thanks..

  6. #6
    Join Date
    Jul 2001
    Location
    Sunny South Africa
    Posts
    11,283

    Re: visual basic direct animation library in windows 7 gone , where will i find it

    You may find it strange, but the DirectAnimation Media Control ( Daxctle.ocx ) was actually part of Internet Explorer 4.01 which shipped with Visual Basic 6.

    Sadly, the DirectAnimation Media Control has been discontinued since Internet Explorer 7, due to security issues ( a vulnerability in the Microsoft DirectAnimation path ActiveX Control could allow remote code execution ). So, Windows 7 has IE8 until IE 10, so that means it doesn't have this control anymore.

    You could try the GIF89.DLL David mentioned

  7. #7
    Join Date
    Jun 2012
    Posts
    23

    Re: visual basic direct animation library in windows 7 gone , where will i find it

    but a site where i found a gif89.dll file has this qoute that ...
    if your system have problems try reformatting it .
    or some kind of "your system will have error" (that the solution is formatting) .. ?

  8. #8
    Join Date
    Jul 2001
    Location
    Sunny South Africa
    Posts
    11,283

    Re: visual basic direct animation library in windows 7 gone , where will i find it

    Quote Originally Posted by ryan_09 View Post
    but a site where i found a gif89.dll file has this qoute that ...
    if your system have problems try reformatting it .
    or some kind of "your system will have error" (that the solution is formatting) .. ?
    You are at the wrong place entirely. In my previous post I did supply a link to the GIF89.DLL. I also did answer why you have this problem. Did you even read my post? Do you even care what I have to say? Read post 6 again s l o w l y, and then take it from there.........

  9. #9
    Join Date
    Jun 2012
    Posts
    23

    Re: visual basic direct animation library in windows 7 gone , where will i find it

    dont be Mad men ,,
    ahhm .. i'll take it slowly now
    i want to use gif file for vb,,
    and i would like to add a component on vb ... (as to be)
    that could work the gif on it...
    .
    .
    .
    anyway
    what will i do after i download it ..

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

Featured