|
-
Aug 30th, 2012, 11:26 AM
#1
Thread Starter
Lively Member
[RESOLVED] ToolStrip disappeared
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 ?
-
Aug 30th, 2012, 11:28 AM
#2
Re: ToolStrip disappeared
I've seen a few post on this now. Take a look at this thread.
-
Aug 30th, 2012, 02:41 PM
#3
Thread Starter
Lively Member
Re: ToolStrip disappeared
Dear dday9,
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 ?
Thanks !
-
Aug 30th, 2012, 05:00 PM
#4
Addicted Member
Re: ToolStrip disappeared
I had this same problem before. First time it happened it scared the crap out of me.
http://www.vbforums.com/showthread.p...-items-missing
-
Aug 30th, 2012, 05:04 PM
#5
Addicted Member
Re: ToolStrip disappeared
-
Aug 30th, 2012, 05:06 PM
#6
Addicted Member
Re: ToolStrip disappeared
Triple post. The server lagged out on me for a minute there.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|