Results 1 to 6 of 6

Thread: Transition effect

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2009
    Posts
    4

    Transition effect

    I'm trying to build an application to increase my understanding of visual basic. I may have set the bar too high for myself but it's the challenge that makes it fun right?

    Anyway, I'm trying to make a transition effect of a page turning. The application is a brewing database which looks like a book. I think the transition would make it look more professional.

    Dose anyone have any ideals on how I might be able to accomplish this? A basic example even would go a very long way.
    Thanks

    Sab

  2. #2
    New Member icedtrees's Avatar
    Join Date
    Jul 2009
    Posts
    12

    Re: Transition effect

    Visual Basic, fortunately or unfortunately, doesn't have "transition effects" implemented into it. And I don't see any simple method of doing some effect like that using any version of Visual Basic.

    I would probably recommend premaking the effect with some external application like Flash or one of the thousands of 2d animation programs out there, and making it into an animated .gif picture.

    Then it's pretty easy from there, just get a PictureBox, draw it on your form, and click on the dots next to the Image property and Import your image from wherever it is.

    As for making the actual animation? I'm sure many people have tried to make a pageturning animation before, so there should be preanimated examples on the net somewhere. Other than that, the only way I see of doing it is making each frame and putting them together. You could make a VB application for doing that if you like. Just to make it more fun.

    Other than that, I can't help you. Sorry.

    Also, this probably won't increase your understanding of Visual Basic. Visual Basic isn't designed for this sort of thing, either.

  3. #3

    Thread Starter
    New Member
    Join Date
    Jul 2009
    Posts
    4

    Re: Transition effect

    That actually has been quite a lot of help. I made the image and have it doing close to the effect that i am wanting. Is there a way to get rid of the standard blue bar at the top of the form? I cant think of the correct name for it.

  4. #4
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: Transition effect

    Set the border style to "none"....

    and it's called the "Title bar"....

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  5. #5

    Thread Starter
    New Member
    Join Date
    Jul 2009
    Posts
    4

    Re: Transition effect

    Lol thanks. Got it to work. Have a second form with the page turn effect appear over the form behind it and go away when its done. Looks pretty good.

    Sab

  6. #6
    Pro Grammar chris128's Avatar
    Join Date
    Jun 2007
    Location
    England
    Posts
    7,604

    Re: Transition effect

    Quote Originally Posted by icedtrees View Post
    Visual Basic isn't designed for this sort of thing, either.
    VB.NET is not the problem, winforms is the problem. You can make something like this work in WPF natively (using VB.NET) without needing to create an external animation that you just 'play'
    My free .NET Windows API library (Version 2.2 Released 12/06/2011)

    Blog: cjwdev.wordpress.com
    Web: www.cjwdev.co.uk


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