How to get XP look and feel for windows forms run in win2K

R

Rajendra

Hi All

Can any one plz help me how to give a windows form a look
& feel of XP for buttons & Grid running on win2K, I heard
of Application.EnableVisualStyles and Manifest but its not
working can any plz provide me sample code and sample
manifest file in working condition will be appreciated

Regards

Rajendra
 
S

Shiva

From the documentation of Application.EnableVisualStyles...
<msdn>
XP Platform Note: Visual styles are only supported on Windows XP Home
Edition, Windows XP Professional, and Windows Server 2003.
</msdn>

Hi All

Can any one plz help me how to give a windows form a look
& feel of XP for buttons & Grid running on win2K, I heard
of Application.EnableVisualStyles and Manifest but its not
working can any plz provide me sample code and sample
manifest file in working condition will be appreciated

Regards

Rajendra
 
K

Ken Tucker [MVP]

Hi,

Like shiva stated you need windows xp to use
application.enablevisualstyles. For the xp look and feel on windows 2k you
need to use controls that have the xp style look and feel.

http://www.thecodeproject.com/vb/net/leadit_flatbutton_control.asp

http://dotnet.leadit.be/extendeddatagrid/CategoryView.aspx?category=Home

Ken
--------------------
Hi All

Can any one plz help me how to give a windows form a look
& feel of XP for buttons & Grid running on win2K, I heard
of Application.EnableVisualStyles and Manifest but its not
working can any plz provide me sample code and sample
manifest file in working condition will be appreciated

Regards

Rajendra
 

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