All of the items in the ToolStrip on my landing page have gone when opening the Form.vb. (not the ToolStrip itself which is still there but blank). However, all my ToolStripItems are still there in the Form.Designer.vb
What am I doing wrong here ? To my knowledge I did not touch any property or code relating to this ToolStrip, so how can the items disappear ?
Although I had already found several references relating to this issue, yours was spot-on as usual !
This was not the first time I have lost my MenuStrip. The problem seems to occur whenever the solution is being build in debug mode.
The problem now as well as the previous times always came together with two other issues :
The error message that my.resources.resources could not load my pictures anymore AND a double reference to the same .exe file
The latter issue I was able to solve by going to Project -> Properties -> Publish -> Application Files and there ‘exclude’ the double file, followed by a new build.
The missing pictures I resolved by (a) removing all pictures from Resources folder and creating a new folder with the same pictures and (b) using local resource instead of project resource file.
Nevertheless, after manually rebuilding the Me.MenuStrip1. … statement, I still lost it a second time.
Just to be safe, I now want to move this statement out of the Form.Designer.vb and place it directly in my Private Sub Form_Load. To my knowledge, I can do this. Or am missing something ?