CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 12 of 12

Threaded View

  1. #1
    Join Date
    Jun 2004
    Location
    NH
    Posts
    678

    Thumbs down Major MenuStrip bug

    AHhhhhhhh!

    Repeat after me:
    I will not trust the MenuStrip component.
    I will not trust the MenuStrip component.
    I will not...
    I was simply adding an image to a picturebox, on the main form.
    When I loaded my application, I noticed that the menustrip was missing 3 items! The only thing I can think of is that the resource file, has become corrupt for no apparent reason. The image was a simple small pic made with ms paint, and I made a test app that has no problem with this picture, and menustrip.

    So I try to add an item to replace the missing items, and upon closing the menu, it claims something like it's not set to instance of an object... ya right. Then I try using menu strip tasks thingy, to add them, and I get the error "Property not valid"(There is already a menu named that... yada yada)
    Now the menustrip won't open at all, and I might have to replace the whole thing, each item having an image. I don't even know the extent of corruption yet, but this really stinks!
    I would assume, that I should be able to get the items back, but VB isn't budging.

    I hope someone could help me, if they have seen this problem before.
    The image below shows that I can't add an item with the name mnuNew, because it already exists, but as you can clearly see it does not exist.
    Attached Images Attached Images

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured