|
-
Jun 7th, 2018, 05:29 AM
#1
Thread Starter
Lively Member
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..
-
Jun 7th, 2018, 05:36 AM
#2
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.
-
Jun 7th, 2018, 06:13 AM
#3
Thread Starter
Lively Member
Re: Animator in VB.NET
 Originally Posted by jmcilhinney
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 :/
-
Jun 7th, 2018, 08:09 AM
#4
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.
-
Jun 9th, 2018, 05:55 AM
#5
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|