Click here to Skip to main content
15,113,153 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
HI.
I was just wondering. If i download a project (c# or vb.net)from 'the code project' which was made in 2006 the design looks different, i mean when i run the program. The buttons looks 'old' in compare to the new windows 7/vista buttons. Is there any way to change this? is it a dll file?
Thank you.
Posted
Updated 13-Nov-10 0:18am
v2

1 solution

The original was built using a different version of the .Net Framework, and so sports the old style appearance. You might try setting your IDE to build using a newer version to see if the components have been updated, but you may have to replace the controls explicitly to utilize more modern versions.
   
Comments
euhiemf 13-Nov-10 5:28am
   
ok, i will try that.

Thank you
euhiemf 13-Nov-10 5:35am
   
I can't find that setting. Do you know where it is?
Roger Wright 13-Nov-10 5:40am
   
No, I don't know where to change it in an existing project; the only time I see it is when I create a new project. Try creating a new empty project based on .Net 3.5, copy the files to the working directory for that project, then use Add Existing... to incorporate the files into the new project. I think that will work, but I haven't tried it myself.
euhiemf 13-Nov-10 6:06am
   
Thank you
Nicholas Butler 13-Nov-10 10:59am
   
Right click the project in Solution Explorer and click Properties. You can select the "Target Framework" on the "Application" tab.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900