Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / May 2006

Tip: Looking for answers? Try searching our database.

the look of the button is not good

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Pradeep - 23 May 2006 05:48 GMT
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
Stoitcho Goutsev (100) - 23 May 2006 14:43 GMT
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.

Signature

HTH
Stoitcho Goutsev (100)

> hi,
> im using visual basic 2005 express edition to create my windows
[quoted text clipped - 4 lines]
> bye
> Pradeep

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.