Results 1 to 13 of 13

Thread: startup animation

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Sep 2004
    Location
    india
    Posts
    88

    Question startup animation

    I want to show some animation for few secs before laoding main form. I understand that gif files dont work in VB6.0.
    How do people do animation. what are the ways to do it?
    any info pl.
    Thanx in advance.

  2. #2
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  3. #3
    Fanatic Member Nove's Avatar
    Join Date
    Jul 2004
    Posts
    736
    well, if you just got a bunch of frames together you could play them back to back in a picturebox, couldn't you?

  4. #4
    Software Eng. Megatron's Avatar
    Join Date
    Mar 1999
    Location
    Canada
    Posts
    11,286
    Yes you could, but that might create some unncessary hassle.

    (Though in the same token, one could say that including an external DLL file is a hassle in comparison)

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Sep 2004
    Location
    india
    Posts
    88

    Question

    Which is the best way to have animation.
    if no other method is there, is it only the option to change frames with timer control.
    are there any gif dll's availabla? trouble free ones!!

    any help pl.

  6. #6
    Frenzied Member pnish's Avatar
    Join Date
    Aug 2002
    Location
    Tassie, Oz
    Posts
    1,918
    Here's a freeware dll that allows you to display animated gifs on a form. I've been using it for years and have never had a problem.

    Although it's a dll, you need to add it to your project as a component after which it will show up in your toolbox. Just draw it on your form and set the FileName property to point to an animated gif file on your PC and away you go.

    Cheers

    EDIT: I just realised that this is the same dll that RobDog was referring to in his post. Anyway, here it is just in case you can't find it.
    Attached Files Attached Files
    Last edited by pnish; Nov 22nd, 2004 at 02:10 AM.
    Pete

    No trees were harmed in the making of this post, however a large number of electrons were greatly inconvenienced.

  7. #7
    Frenzied Member Jmacp's Avatar
    Join Date
    Jul 2003
    Location
    UK
    Posts
    1,959
    The changing frames method is quite easy and only needs a few lines of code, i've just finished a few animations using this way. Was trying to recreate a 'Virtual girl' type of animation for the desktop. Worked out ok i guess.

  8. #8
    Fanatic Member Nove's Avatar
    Join Date
    Jul 2004
    Posts
    736
    Of course this would all be much more fun using bitblt and gettickcount...

  9. #9
    Fanatic Member laserman's Avatar
    Join Date
    Jan 2002
    Location
    Wales U.K
    Posts
    775
    ignore

  10. #10
    Fanatic Member laserman's Avatar
    Join Date
    Jan 2002
    Location
    Wales U.K
    Posts
    775
    Animation control
    Attached Files Attached Files

  11. #11
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901
    What did you use to make the .avi file. It also opens in Media Player.

  12. #12
    Fanatic Member laserman's Avatar
    Join Date
    Jan 2002
    Location
    Wales U.K
    Posts
    775
    Downloaded some avi. files from the net.

    Did it work ok for you.?
    I have some other samples but not on this pc.if you want some more I will post this evening.

    Cheers

  13. #13
    Fanatic Member laserman's Avatar
    Join Date
    Jan 2002
    Location
    Wales U.K
    Posts
    775
    Some more avi files.



    Hope these help you.
    Attached Files Attached Files

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