A
Anand
I have an Office Addin project in which click of commandbar
button i creates object of a form and show. Since i need XP look and
feel i created a manifest file, added in my application. But XP look
and feel seems to be not coming. Controls flatstyle is 'System'. But
when i did the same method for a Windows application project, this
works. Instead,I tried after InitializeComponent() in all forms,
Application.EnableVisualStyles()
Application.DoEvents()
it worked.(My OS is Windows XP) But when i click the commandbar button
again, it showed application has encountered a serious problem and
restarted.
http://msdn.microsoft.com/library/d...sXPVisualStylesWithControlsOnWindowsForms.asp
was my reference to create manifest file.
Any help will be appreciated
button i creates object of a form and show. Since i need XP look and
feel i created a manifest file, added in my application. But XP look
and feel seems to be not coming. Controls flatstyle is 'System'. But
when i did the same method for a Windows application project, this
works. Instead,I tried after InitializeComponent() in all forms,
Application.EnableVisualStyles()
Application.DoEvents()
it worked.(My OS is Windows XP) But when i click the commandbar button
again, it showed application has encountered a serious problem and
restarted.
http://msdn.microsoft.com/library/d...sXPVisualStylesWithControlsOnWindowsForms.asp
was my reference to create manifest file.
Any help will be appreciated