-
Dec 23rd, 2011, 07:24 AM
#1
Thread Starter
Member
How to implement a silverlight control in vb 2008
I want to build a flip clock for my vb 2008 form.But I cant seem to get it done.So I searched and found a flip clock control for not Vb but silverlight.Here is the link
http://www.cespage.com/silverlight/sl4tut28.html
Is there a way I can use this clock in my vb form.
Can anyone please help.
Thanks.
VBForums rocks...!
-
Dec 23rd, 2011, 09:54 AM
#2
Re: How to implement a silverlight control in vb 2008
VB is not an alternative to Silverlight. Silverlight is a technology, not a language, and Silverlight apps can be written in VB. Presumably you mean that you want to create a similar control in Windows Forms.
The answer is that it would be possible but not simple. WPF and Silverlight have been built from the ground up to support advanced UI behaviour like transparency and animation, where Windows Forms was designed for basic business UIs.
Your best bet would be to learn WPF, which is very similar to Silverlight, and create your Windows app using that instead of Windows Forms. You could then probably use pretty much the same code.
-
Dec 23rd, 2011, 10:26 AM
#3
Re: How to implement a silverlight control in vb 2008
The only way I see this happening is to use a WebBrowser control and display the page hosting the Silverlight flip clock.
I would suggest you follow jmcilhinney's advice and start taking a look at WPF. Here's a link to a flip clock that's already done: http://rgramann.blogspot.com/2009/08...f-control.html
Here's a couple of links to get you started learning WPF:
http://windowsclient.net/learn/videos_wpf.aspx
http://www.wpftutorial.net/LearnWPFin14Days.html
http://learnwpf.com/
-
Dec 23rd, 2011, 11:38 AM
#4
Thread Starter
Member
Re: How to implement a silverlight control in vb 2008
Originally Posted by jmcilhinney
VB is not an alternative to Silverlight. Silverlight is a technology, not a language, and Silverlight apps can be written in VB. Presumably you mean that you want to create a similar control in Windows Forms.
The answer is that it would be possible but not simple. WPF and Silverlight have been built from the ground up to support advanced UI behaviour like transparency and animation, where Windows Forms was designed for basic business UIs.
Your best bet would be to learn WPF, which is very similar to Silverlight, and create your Windows app using that instead of Windows Forms. You could then probably use pretty much the same code.
Thank you jmcilhinney..Theres no shortcut to success.I get that.Big time.But I needed to get this project done asap.and I cant seem to create a flip clock on vb.net.
Thanks for your wisdom
-
Dec 23rd, 2011, 11:53 AM
#5
Thread Starter
Member
Re: How to implement a silverlight control in vb 2008
Originally Posted by MattP
Thank you sooooo much MattP.You were such a help.Im always willing to learn and the tutorials you led me to were fantastic.Currently watching the videos on your second link.
Thank you very much
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
|