Error when adding manifest

H

Herfried K. Wagner [MVP]

* "=?Utf-8?B?R2VyYWxkaW5lIEhvYmxleQ==?= said:
I'm having a problem adding a manifest to a vb project in order to add visual styles to my vb.net application. I followed the steps outlined here
http://msdn.microsoft.com/library/d...sXPVisualStylesWithControlsOnWindowsForms.asp

This includes adding a resource to the exe file
However when I run the application I get the message

"Error while trying to run project unable to start debugging" , any idea how to resolve the issue.

You will have to add the resource every time you compile the
application.

<URL:http://msdn.microsoft.com/library/en-us/dnwxp/html/xptheming.asp>

My FAQ:

NET 1.0:

Set the controls' 'FlatStyle' properties to 'System', then add an
application manifest.

Tools

<URL:http://www.msjogren.net/dotnet/eng/tools/default.asp>
-> "ThemeMe"

Anternativ:

<URL:http://dotnet.mvps.org/dotnet/samples/tools/>
-> "ThemeUtil"

MSDN:

VS.NET Addin for using XP visual styles
<URL:http://tinyurl.com/37yk>

Using XP Visual Styles in Windows Forms apps
<URL:http://tinyurl.com/37yi>

..NET 1.1:

<URL:http://msdn.microsoft.com/msdnmag/issues/03/03/WindowsForms/>

\\\
Application.EnableVisualStyle()
Application.DoEvents()
///
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top