the look of the button is not good

P

Pradeep

hi,
im using visual basic 2005 express edition to create my windows
application..the look of the button is not good..in the sense that..the
look of the button that i get in visual studio 2005 is not present in
visual basic 2005 express edition...is there a way to change the way
the button looks ?
bye
Pradeep
 
S

Stoitcho Goutsev \(100\)

Do you mean that they don't have the XP look?

I haven't worked with the express editions of VS, but in order to enable the
XP look in the Main method you need to call

Application.EnableVisualStyles();
before
Application.Run(...).

Without this all the control will have classical win2k look.

Check in the main method. Express edition or not VS uses the same framework
so there should be a problem to enable this.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top