• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 189
  • Last Modified:

Give an XP look for all controls on all Operating Systems in CSharp DotNet.

I am developing a CSharp DOtnet Application using .NET framework v 1.1. I need to give the application an XP look and this look should be maintained on any windows operating system( win 98/ME/2000/XP/2003).
0
Anisha
Asked:
Anisha
  • 2
1 Solution
 
2266180Commented:
hm ... are you by any chance referring to C# (from visual studio)? if so, you kind of missed the TA. You should ask in community support for this question to be move to C# TA.
if delphi 8+ has c# support, then ignore my comment: I never seen any of D8+.
0
 
Mohammed NasmanSoftware DeveloperCommented:
Delphi 2005 and 2006 has support for the C#

there's no built in way to make your application look as XP in different OS, you have to use third party controls for that

for that use DotNetSkin
http://www.link-rank.com/net/index.htm
0
 
EtherZaCommented:
Try changing you Main() entry point as follows:

  [STAThread]
  static void Main()
  {
    Application.EnableVisualStyles();
    Application.DoEvents();
    Application.Run(new Form1());
  }
0
 
EtherZaCommented:
Sorry, the "Application.DoEvents();" fixes a known issue introduced by using "Application.EnableVisualStyles();" :)
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now