Results 1 to 5 of 5

Thread: How to implement a silverlight control in vb 2008

  1. #1

    Thread Starter
    Member
    Join Date
    Oct 2011
    Location
    Sri Lanka
    Posts
    40

    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...!

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

    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.

  3. #3
    Frenzied Member MattP's Avatar
    Join Date
    Dec 2008
    Location
    WY
    Posts
    1,227

    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/

  4. #4

    Thread Starter
    Member
    Join Date
    Oct 2011
    Location
    Sri Lanka
    Posts
    40

    Re: How to implement a silverlight control in vb 2008

    Quote Originally Posted by jmcilhinney View Post
    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

  5. #5

    Thread Starter
    Member
    Join Date
    Oct 2011
    Location
    Sri Lanka
    Posts
    40

    Re: How to implement a silverlight control in vb 2008

    Quote Originally Posted by MattP View Post
    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/
    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
  •  



Click Here to Expand Forum to Full Width