G
Guest
I had my app using the
Windows.Forms.Application.EnableVisualStyles()
Windows.Forms.Application.DoEvents()
And I was receiving some errors, so I want to go to a manifest file, but I
copied one off a newsgroup -- see below
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-cÂom:asm.v1" manifestVersion="1.0">
<assemblyIdentity
version="1.0.0.0"
processorArchitecture="X86"
name="MyApp"
type="win32"
/>
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.CommonÂ-Controls"
version="6.0.0.0"
processorArchitecture="X86"
publicKeyToken="6595b64144ccf1Âdf"
language="*"
/>
</dependentAssembly>
</dependency>
</assembly>
When you have this as a file do the following in the VS .NET IDE:
1. Select File>Open File
2. Open your executable file
3. Right click the parent node and select 'Add Resource'
4. Choose Import and select the manifest file
5. When the box appears asking for the type of resource type RT_MANIFEST
6. The resource identifier needs to be 1, so select '101' in the
RT_MANIFEST folder and change it to 1
I followed these steps and when I try to run my application in debug or
right from the exe I get.
"This application has failed to start because the application configuration
is incorrect. Reinstalling the application may fix this problem.
Any help would be appreciated.
Windows.Forms.Application.EnableVisualStyles()
Windows.Forms.Application.DoEvents()
And I was receiving some errors, so I want to go to a manifest file, but I
copied one off a newsgroup -- see below
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-cÂom:asm.v1" manifestVersion="1.0">
<assemblyIdentity
version="1.0.0.0"
processorArchitecture="X86"
name="MyApp"
type="win32"
/>
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.CommonÂ-Controls"
version="6.0.0.0"
processorArchitecture="X86"
publicKeyToken="6595b64144ccf1Âdf"
language="*"
/>
</dependentAssembly>
</dependency>
</assembly>
When you have this as a file do the following in the VS .NET IDE:
1. Select File>Open File
2. Open your executable file
3. Right click the parent node and select 'Add Resource'
4. Choose Import and select the manifest file
5. When the box appears asking for the type of resource type RT_MANIFEST
6. The resource identifier needs to be 1, so select '101' in the
RT_MANIFEST folder and change it to 1
I followed these steps and when I try to run my application in debug or
right from the exe I get.
"This application has failed to start because the application configuration
is incorrect. Reinstalling the application may fix this problem.
Any help would be appreciated.