Results 1 to 5 of 5

Thread: Animator in VB.NET

  1. #1

    Thread Starter
    Lively Member JadaDev's Avatar
    Join Date
    Apr 2018
    Posts
    82

    Exclamation Animator in VB.NET

    Hello guys! i was wondering is the Animator only available in C# or i could add it in VB.NET ?



    I want to do an animated button when i hover it does a small animation than it get to the hover exp :

    Button will have a normal pngbackground by default than when i move mouse ( hover - enter ) it will do some effect and changes the background to another PNG

    I couldn't use GIF as gif will be Continue-able..

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Animator in VB.NET

    There is no Animator component in the .NET Framework so that must be something you have added from elsewhere. Is it this perhaps? I'm not sure but I think that adding a third-party control to the Toolbox in a project in one language should add it for the other too, but you can always add it again in the other language if it doesn't. How exactly did you get it into the Toolbox for C#?

    If you're confused because the source code is in C# then put your mind at ease. Almost the entire Framework is written in C# and you're using that fine. Obviously you can't add that code to a VB project though. If you haven't already, you'd need to compile the C# code into a DLL and then add the control to the Toolbox from that.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Lively Member JadaDev's Avatar
    Join Date
    Apr 2018
    Posts
    82

    Re: Animator in VB.NET

    Quote Originally Posted by jmcilhinney View Post
    There is no Animator component in the .NET Framework so that must be something you have added from elsewhere. Is it this perhaps? I'm not sure but I think that adding a third-party control to the Toolbox in a project in one language should add it for the other too, but you can always add it again in the other language if it doesn't. How exactly did you get it into the Toolbox for C#?

    If you're confused because the source code is in C# then put your mind at ease. Almost the entire Framework is written in C# and you're using that fine. Obviously you can't add that code to a VB project though. If you haven't already, you'd need to compile the C# code into a DLL and then add the control to the Toolbox from that.
    Thanks for the idea the thing i see thing in a video he didn't show how he added the animation and i don't have source :/

  4. #4
    Sinecure devotee
    Join Date
    Aug 2013
    Location
    Southern Tier NY
    Posts
    6,598

    Re: Animator in VB.NET

    Did you check the link jmc provided? Does that appear to be the component you're asking about, based on what you saw in the video?
    If so, then you do have the component and source code available, as it is provided at that link.

  5. #5
    Hyperactive Member
    Join Date
    Jun 2018
    Posts
    432

    Re: Animator in VB.NET

    Jada,

    Perhaps you can animate a Gif multiple image file using the ImageAnimator Class?

Tags for this Thread

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