Results 1 to 6 of 6

Thread: [RESOLVED] ToolStrip disappeared

  1. #1
    Member
    Join Date
    Mar 11
    Posts
    58

    Resolved [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 ?

  2. #2

  3. #3
    Member
    Join Date
    Mar 11
    Posts
    58

    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 !

  4. #4
    Addicted Member
    Join Date
    Aug 11
    Posts
    200

    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

  5. #5
    Addicted Member
    Join Date
    Aug 11
    Posts
    200

    Re: ToolStrip disappeared

    Double post.

  6. #6
    Addicted Member
    Join Date
    Aug 11
    Posts
    200

    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
  •