Error debugging vb.net Windows application in Visual Studio 2008

Developing a small Windows application woth vb.net in Visual Studio 2008 all was working well until I added a picturebox and then added an image to the picturebox. On debugging, the attached exception message appeared. On removing the picturebox, dubugging worked fine.

Now I'm in  a position where, even without the picturebox I am getting the same exception message on debugging. Any help on solving this would be greatly appreciated.
System.InvalidOperationException was unhandled
  Message="An error occurred creating the form. See Exception.InnerException for details.  The error is: Could not find any resources appropriate for the specified culture or the neutral culture.  Make sure \"PMWdataUpload.UploadOptions.resources\" was correctly embedded or linked into assembly \"PMWdataUpload\" at compile time, or that all the satellite assemblies required are loadable and fully signed."
  Source="PMWdataUpload"
  StackTrace:
       at PMWdataUpload.My.MyProject.MyForms.Create__Instance__[T](T Instance) in 17d14f5c-a337-4978-8281-53493378c1071.vb:line 190
       at PMWdataUpload.My.MyProject.MyForms.get_UploadOptions()
       at PMWdataUpload.My.MyApplication.OnCreateMainForm() in C:\Software_development\PMWonlineSIMS_link\PMWdataUpload\My Project\Application.Designer.vb:line 35
       at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()
       at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
       at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine)
       at PMWdataUpload.My.MyApplication.Main(String[] Args) in 17d14f5c-a337-4978-8281-53493378c1071.vb:line 81
       at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
       at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()
  InnerException: System.Resources.MissingManifestResourceException
       Message="Could not find any resources appropriate for the specified culture or the neutral culture.  Make sure \"PMWdataUpload.UploadOptions.resources\" was correctly embedded or linked into assembly \"PMWdataUpload\" at compile time, or that all the satellite assemblies required are loadable and fully signed."
       Source="mscorlib"
       StackTrace:
            at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)
            at System.Resources.ResourceManager.GetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)
            at System.ComponentModel.ComponentResourceManager.FillResources(CultureInfo culture, ResourceSet& resourceSet)
            at System.ComponentModel.ComponentResourceManager.FillResources(CultureInfo culture, ResourceSet& resourceSet)
            at System.ComponentModel.ComponentResourceManager.FillResources(CultureInfo culture, ResourceSet& resourceSet)
            at System.ComponentModel.ComponentResourceManager.ApplyResources(Object value, String objectName, CultureInfo culture)
            at System.ComponentModel.ComponentResourceManager.ApplyResources(Object value, String objectName)
            at PMWdataUpload.UploadOptions.InitializeComponent() in C:\Software_development\PMWonlineSIMS_link\PMWdataUpload\UploadOptions.Designer.vb:line 87
            at PMWdataUpload.UploadOptions..ctor()
       InnerException:

Open in new window

Al230762Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ASliborskyCommented:
Find file PMWdataUpload.UploadOptions.resources in your solutino and set its property (type) to Embedded Resource then rebuild the project. It should help.
0
Al230762Author Commented:
The PMWdataUpload.UploadOptions.resx file is aleardy set to Embedded Resource - is that what you mean?
0
Al230762Author Commented:
There's a shortage of experts on this topic obviously. Never mind, I re-created the project from scratch and it's all working again now.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.