A resource file in your project doesn't follow the standard format for a Windows resource file or there is a mismatch between the resource file and the Visual Basic project. This error has the following causes and solutions:
Recreate the resource source and resource files and adhere to the syntax documented in the Windows Software Development Kit.
Remove the invalid resource file from the project.