What is wrong with My VS 2005

Nonasoft

Member
Joined
May 3, 2007
Messages
16
Programming Experience
1-3
I have VB studio 2005. I designed a project form, during design time, Command Button will look very fine but if I run the program it will start looking like normal vb6.0 commabd Button. Plz help what do I do?

Attached images are run time and design time.
 

Attachments

  • Design Time.gif
    Design Time.gif
    46 KB · Views: 23
  • Run Time.gif
    Run Time.gif
    31.9 KB · Views: 22
Make sure you set EnableVisualStyles in your project properties. If you begin your application from Sub Main, use Application.EnableVisualStyle method before running your application
 
Back
Top