Hi, I'm getting an odd, intermittant error. I have several Windows Forms
(VB.NET 2005) in my project that I cannot view in Design mode. The
application runs fine after a compile but I cannot view the forms in the IDE.
I get messages like:
The type 'SMS_OpTransactions.My.Resources.Resources' has no property named
'salary_128'.
'SMS_OpTransactions' is my project name and 'salary_128' is a image file
that I've added through the My Project, Resources page.
I have this particular form in a subfolder within my project. Where my main
application folder is "\SMS_OpTransactions" and contains standard subfolders
for "My Project" and "Resources", I also have a subfolder called
"FinancialScreens" which contains the VB codefiles for this form. There is
also a .RESX file for the form in this subfolder. Could this be the issue?
How can I resolve it?
Hi,
One MSFT has tried to answered your query in below link:
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=271308&SiteID=1

Signature
Hope this helps.
Thanks and Regards.
Manish Bafna.
MCP and MCTS.
> Hi, I'm getting an odd, intermittant error. I have several Windows Forms
> (VB.NET 2005) in my project that I cannot view in Design mode. The
[quoted text clipped - 13 lines]
> also a .RESX file for the form in this subfolder. Could this be the issue?
> How can I resolve it?
JohnMSyrasoft - 20 Jun 2007 13:39 GMT
I also saw this post in the forums. I'm not running Beta 2. I have 2005 Pro
SP1 and the 2.0 .NET Framework.
I also have the Resources.Designer.vb file in my project and
VbMyResourcesResXFileCodeGenerator as the Custom Tool Property. The VS info
on my machine can be seen below.
Any other ideas?
Microsoft Visual Studio 2005
Version 8.0.50727.762 (SP.050727-7600)
Microsoft .NET Framework
Version 2.0.50727
Installed Edition: Professional
Microsoft Visual Basic 2005 77626-009-0000007-41917
Microsoft Visual Basic 2005
Microsoft Visual C# 2005 77626-009-0000007-41917
Microsoft Visual C# 2005
Microsoft Visual Web Developer 2005 77626-009-0000007-41917
Microsoft Visual Web Developer 2005
Microsoft Web Application Projects 2005 77626-009-0000007-41917
Microsoft Web Application Projects 2005
Version 8.0.50727.762
Crystal Reports AAC60-G0CSA4B-V7000AY
Crystal Reports for Visual Studio 2005
InstallShield 12 Editor
InstallShield 12 Editor. For more information see the Macrovision website at
<http://www.macrovision.com>. For customer support visit
<support.macrovision.com>. Copyright © 1997-2005 Macrovision Corporation.
Microsoft Visual Studio 2005 Professional Edition - ENU Service Pack 1
(KB926601)
This service pack is for Microsoft Visual Studio 2005 Professional Edition -
ENU.
If you later install a more recent service pack, this service pack will be
uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/926601
Refactor! for Visual Studio 1.0
Refactor! for Visual Studio 2005.
> Hi,
> One MSFT has tried to answered your query in below link:
[quoted text clipped - 17 lines]
> > also a .RESX file for the form in this subfolder. Could this be the issue?
> > How can I resolve it?
jerhardt@gmx.net - 22 Jun 2007 14:51 GMT
Today I've had the same problems an finally I've found a solution:
It seems to be a bug in VS2005 if you have more than one project in
your solution and some of them have the same root namespace and have
resource files, too. VS2005 seems to look for the requested resource
in the wrong resource-file!
Solution:
Give the resources.resx files a unique namespace. Locate the
resources.resx and change the namespace of the custom tool from
My.Resources to anything else like <projectname>.Resources. You will
have to manually correct the calls to the Resources in the
<File>.Designer.vb files to the new namespaces. After that everything
works fine.
JohnMSyrasoft - 22 Jun 2007 15:07 GMT
Thanks very much. This solved the issue for me as well. I couldn't find my
way around this without your post. Thanks for getting me back on track.
> Today I've had the same problems an finally I've found a solution:
> It seems to be a bug in VS2005 if you have more than one project in
[quoted text clipped - 9 lines]
> <File>.Designer.vb files to the new namespaces. After that everything
> works fine.