chris_nephew
asked on
Using Windows XP Visual Styles With controls on Windows Form (VS 2003)
Her is my problem,
I'm trying to build a form, so user with Win XP could see with the visual styles of windows xp instead of windows 2000 and before. I did follow the instruction of this page
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vstechart/html/vbtchUsingWindowsXPVisualStylesWithControlsOnWindowsForms.asp.
But when I try to execute the project I always receive the message : Unable to write to outfile file <executable file>. Is there a manner to do so, and does the VS 2005 already use the visual styles of windows XP?
Thanks,
Chris
I'm trying to build a form, so user with Win XP could see with the visual styles of windows xp instead of windows 2000 and before. I did follow the instruction of this page
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vstechart/html/vbtchUsingWindowsXPVisualStylesWithControlsOnWindowsForms.asp.
But when I try to execute the project I always receive the message : Unable to write to outfile file <executable file>. Is there a manner to do so, and does the VS 2005 already use the visual styles of windows XP?
Thanks,
Chris
ASKER
Sorry, I have VS 2002!!! Because I already tried this line, but it seems that enablevisualStyles is'nt a feature in the application module...
VS 2005 uses visual styles of XP in the IDE, no worry...
ASKER
IF I buy the VB.NEt 2003, will I be able to set Application.EnableVisualSt yles() to true and it will work?
yes, although there are some bugs in Application.EnableVisualSt yles() so we use a manifest file to sepcify to use the xp styles.
see here:
http://www.hanselman.com/blog/PermaLink.aspx?guid=36187116-fbe3-4959-af04-c0c9e42479a5
see here:
http://www.hanselman.com/blog/PermaLink.aspx?guid=36187116-fbe3-4959-af04-c0c9e42479a5
ASKER
So, there is no solution for my initial problem with the VS 2002??
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
The problem is that I have the .NET framework 1.1 installed, and if I do all the steps that is described by the page mentionned in my initial question, I get the error mentionned in the initial message. And I don't have the enableVisualStyles applicable in the application. I don't see the enabledVisualStyles anywhere...
I'm pretty confused
I'm pretty confused
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Finally, I bought VB.NET 2003 and my problem was solved, thanks for your support.
Application.EnableVisualSt