Hi,
Is it possible to add XP themes in a VB.net com add-in?
I know it’s possible in C#:
http://support.microsoft.com/default.aspx?scid=kb;en-us;830033#6
I can add the class to a separate C# project in my solution, but how do I use it in my VB.net add-in? In the example they use a wrapper, but how is that done in vb.net?
the wrapper:
Thanks
Lars Hjort
Is it possible to add XP themes in a VB.net com add-in?
I know it’s possible in C#:
http://support.microsoft.com/default.aspx?scid=kb;en-us;830033#6
I can add the class to a separate C# project in my solution, but how do I use it in my VB.net add-in? In the example they use a wrapper, but how is that done in vb.net?
the wrapper:
VB.NET:
[color=black][font='Courier New']using( new EnableThemingInScope( true ) ) { Form1 form1 = new Form1(); form1.CreateControl(); }[/font][/color]
Thanks
Lars Hjort