Archie,
I was updating my solution to 3.97e from 3.96a and got new forms imported no problem. But when I went to build, it would not accept the items I have in the "resource" folder:
this is from one of the designer forms that wont build:
Me.ImageDisplayByValue2.ForeColor = System.Drawing.Color.WhiteSmoke
Me.ImageDisplayByValue2.HighlightColor = System.Drawing.Color.Red
Me.ImageDisplayByValue2.HighlightKeyCharacter = "!"
Me.ImageDisplayByValue2.Image =
Global.MfgControl.AdvancedHMI.My.Resources.Resources._051560_glossy_silver_icon_natural_wonders_star6_ps
Me.ImageDisplayByValue2.KeypadText = Nothing
Me.ImageDisplayByValue2.KeypadWidth = 300
I have some small .png images (like 051560_glossy...above) that are part of my forms and they display fine before but now they wont build in the new rev. FYI the path to the new 3.97e solution is different than the old 3.96A one, but since I did a "add existing items" with these graphics resources to the new solutions resources folder, I would think VBA would know they were in the new location now.
Any ideas?
As always, thanks for the excellent software tools and support.
Here's the actual VBA error:
Error 4 '_051560_glossy_silver_icon_natural_wonders_star6_ps' is not a member of 'MfgControl.AdvancedHMI.My.Resources.Resources'.
C:\Users\Desktop\AdvancedHMIBetaV397e\AdvancedHMI\formtest.designer.vb 864 41 AdvancedHMI