Poppa Mintin
Well-known member
- Joined
- Jan 4, 2018
- Messages
- 45
- Programming Experience
- 10+
Hi, after using this form of declaration for many years...
Today I get an error message; -
I find it odd that the above code was copied and pasted from a test project, which I've just finished working on, and which works perfectly well.
What's happened ?
Earlier today I installed the latest VS 2017 update, might that have something to do with the problem ?
Microsoft Visual Studio Community 2017
Version 15.6.0
VisualStudio.15.Release/15.6.0+27428.1
Microsoft .NET Framework
Version 4.7.02556
Installed Version: Community
Poppa.
PS. I have the same problem with; -
Pop.
VB.NET:
Private fred_1 As Image = My.Resources.ResourceManager.GetObject("Fred")
'Resources' is not a member of 'Our_Fred.My'.
I find it odd that the above code was copied and pasted from a test project, which I've just finished working on, and which works perfectly well.
What's happened ?
Earlier today I installed the latest VS 2017 update, might that have something to do with the problem ?
Microsoft Visual Studio Community 2017
Version 15.6.0
VisualStudio.15.Release/15.6.0+27428.1
Microsoft .NET Framework
Version 4.7.02556
Installed Version: Community
Poppa.
PS. I have the same problem with; -
VB.NET:
Private fred_1 As Image = DirectCast(My.Resources.ResourceManager.GetObject("Fred"), Image)
Pop.
Last edited: