Tomas Galvez

Hello,

I'm using Visual Studio .NET 2005 and I was wondering if nice XP Visual Styles can be applied to the windows and dialogs that i use on my office add-in. since it's a library i cannot check the checkbox "Enable Applicaiton Framework" neither "Enable XP Visual Styles".

I've found this article but i'm using VB.NET and don't know how to translate the "using" statement. Can anyone help me or explain to me at least general steps to get this to work on VB.NET

thank you



Re: Visual Studio Tools for Office How to use XP visual Styles on an Office (Excel) Add-in

Dennis Wallentin

Tomas,

How about the two following lines of code which You add in a start up procedure like Main:

System.Windows.Forms.Application.EnableVisualStyles()
System.Windows.Forms.Application.DoEvents