Results 1 to 16 of 16

Thread: WindowsXP-Style Controls [RESOLVED]

  1. #1

    Thread Starter
    Lively Member TLord's Avatar
    Join Date
    Jun 2004
    Posts
    95

    WindowsXP-Style Controls [RESOLVED]

    Does anyone here has a good free windows forms controls in WindowsXP-Style? ?
    Last edited by TLord; Jul 24th, 2004 at 03:16 PM.
    Do you think my life is easy?
    Do you think it's good to win?
    do you think it's nice to kill?
    Do you think learning is a must?
    Do you think computers are nothing?
    Do you think this post is stupid?
    Do ypu think we're really humen?

    DO YOU THINK IT'S GOOD TO THINK AT ALL? ? ? ! ! !

  2. #2
    Fanatic Member pax's Avatar
    Join Date
    Mar 2001
    Location
    Denmark
    Posts
    840
    Hi.

    I think these are free (at least for non-commercial use)

    http://www.skybound.ca/developer/vis...s/default.aspx
    I wish I could think of something witty to put in my sig...

    ...Currently using VS2013...

  3. #3
    Just to clarify, our VisualStyles product is free for any use (commercial or otherwise).


    Best Regards,
    Andrew Young
    Skybound Software

  4. #4
    Fanatic Member pax's Avatar
    Join Date
    Mar 2001
    Location
    Denmark
    Posts
    840
    Originally posted by skybound.ca
    Just to clarify, our VisualStyles product is free for any use (commercial or otherwise).


    Best Regards,
    Andrew Young
    Skybound Software
    Wow..The author himself.

    I found your product through http://www.windowsforms.net
    Very nice.
    I wish I could think of something witty to put in my sig...

    ...Currently using VS2013...

  5. #5
    Fanatic Member LITHIA's Avatar
    Join Date
    Dec 2002
    Location
    UK, England
    Posts
    575
    PRETTY WEBSITE!!!

  6. #6

    Thread Starter
    Lively Member TLord's Avatar
    Join Date
    Jun 2004
    Posts
    95
    Thank you very much

    I like this forum
    Last edited by TLord; Jul 24th, 2004 at 02:38 PM.
    Do you think my life is easy?
    Do you think it's good to win?
    do you think it's nice to kill?
    Do you think learning is a must?
    Do you think computers are nothing?
    Do you think this post is stupid?
    Do ypu think we're really humen?

    DO YOU THINK IT'S GOOD TO THINK AT ALL? ? ? ! ! !

  7. #7
    Fanatic Member pax's Avatar
    Join Date
    Mar 2001
    Location
    Denmark
    Posts
    840
    Originally posted by TLord
    I like this forum
    Me too...without this forum I'd still be on the "guess a number" application stage that I started with on the C64...
    I wish I could think of something witty to put in my sig...

    ...Currently using VS2013...

  8. #8

    Thread Starter
    Lively Member TLord's Avatar
    Join Date
    Jun 2004
    Posts
    95
    Originally posted by pax
    Me too...without this forum I'd still be on the "guess a number" application stage that I started with on the C64...
    Do you think my life is easy?
    Do you think it's good to win?
    do you think it's nice to kill?
    Do you think learning is a must?
    Do you think computers are nothing?
    Do you think this post is stupid?
    Do ypu think we're really humen?

    DO YOU THINK IT'S GOOD TO THINK AT ALL? ? ? ! ! !

  9. #9
    Frenzied Member
    Join Date
    Nov 2003
    Posts
    1,489
    ah! the good ol' C64!! I've been trying to get my hands on one of those for a while. eBay has some but they're a bit pricey(the ones i've seen)

  10. #10
    Frenzied Member
    Join Date
    Nov 2003
    Posts
    1,489
    I tried out those visual styles and had some build errors. well, one after I altered some scope of the <stathread> but anyway...

    i set the project to start off of sub main() and copied the code that was in the example but I get an error saying
    'No accessible 'Main' method with an appropriate signature was found'.

    how do I correct this?

  11. #11
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Originally posted by pax
    Wow..The author himself.

    I found your product through http://www.windowsforms.net
    Very nice.
    How did you get him to reply here , pax ?

  12. #12

    Thread Starter
    Lively Member TLord's Avatar
    Join Date
    Jun 2004
    Posts
    95
    Replying to Andy.

    You should add a module to your code, put the "Sub Main()" there, add the activation line:
    Code:
    Skybound.VisualStyles.VisualStyleProvider.EnableVisualStyles()
    and then add the "Application.Run(...)" method call.
    to get this thing working, set your project's startup object to that module, by following these menues:
    Project > Properties > General > Startup Object
    there set the startup object to the name of the module you created.
    Do you think my life is easy?
    Do you think it's good to win?
    do you think it's nice to kill?
    Do you think learning is a must?
    Do you think computers are nothing?
    Do you think this post is stupid?
    Do ypu think we're really humen?

    DO YOU THINK IT'S GOOD TO THINK AT ALL? ? ? ! ! !

  13. #13
    Originally posted by Andy
    I tried out those visual styles and had some build errors. well, one after I altered some scope of the <stathread> but anyway...

    i set the project to start off of sub main() and copied the code that was in the example but I get an error saying
    'No accessible 'Main' method with an appropriate signature was found'.

    how do I correct this?
    Here's the declaration from the documentation:

    VB Code:
    1. Public Shared <STAThread()> _
    2. Sub Main()
    3.    Skybound.VisualStyles.VisualStyleProvider.EnableVisualStyles()
    4.    Application.Run(New Form1())
    5. End Sub
    This example assumes the Main method is in a Class or Form file. If your entry point is in a Module, omit the Shared keyword. Also, as TLord said, you need to change your Startup Object to Sub Main.

    Technically, the STAThread attribute is not required for VisualStyles to work—although it's still required for some other Windows Forms operations, such as drag and drop, so you should always use it.

    I think the next release will include a VB and C# sample project to help people get started.


    Best regards,
    Andrew Young
    Skybound Software

  14. #14
    Frenzied Member
    Join Date
    Nov 2003
    Posts
    1,489
    yup. I was trying to put that code in the form's 'new' sub. I did what you two suggested and it works! may I say Andrew, GREAT WORK!!!

    If I understand correctly, it's shareware? No license needed? I want to show my project leader this control and see if he might like to incorporate it into our current projects. I don't recal seeing a fee for commercial destribution on your site. Is there? I'm sure our company would gladly pay to include such a nice control.

  15. #15
    Andy, I'm glad you like it! We worked hard to make it and it's good to know that people appreciate our efforts.

    Shareware? Actually, it's freeware; you are free to use it in any commercial or non-commerical way. We sell source code licenses for $99 (that's a site license) for those of you who want to build it directly into your applications, customize it, or simply want to see how it works.

    If you buy a source code license, we'll also give you special priority support... that means that if you find a bug in VisualStyles, we're going to work our butts off to fix it for you.


    Best regards,
    Andrew Young
    Skybound Software

  16. #16
    Frenzied Member
    Join Date
    Nov 2003
    Posts
    1,489
    awesome-o! (southpark)

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