Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / October 2006

Tip: Looking for answers? Try searching our database.

Bug with simple menus in WinForms (.NET 2.0)

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
tjb - 05 Oct 2006 04:37 GMT
Could someone please try the following and tell me whether they can
reproduce this bug?  I'm running 2.0 (the latest version, I presume, since
Windows Update doesn't suggest any 2.0 updates).  I've Googled for reports
on this, but I've found nothing.

Steps:

   1. Create a new WinForms (.NET 2.0) project in a relevant IDE (for
      example, Visual Studio 2005).
   2. Add a MenuStrip to the form.
   3. Add a top-level menu item with the text "&File" (without the
      quote characters).
   4. Create two menu items underneath this, "&New" and "&Open" (without
      the quote characters).
   5. Run the application.
   6. Press Alt+F, to open the File menu.
   7. Press the Down Arrow key.

Result:

   An ArithmeticException is raised.  Here are the details of the
   exception: <http://rafb.net/paste/results/ELOeJ371.html>.

Further info:

   This happens with any top-level menu item that has at least two
   sub-items.
Gabriele G. Ponti - 05 Oct 2006 13:11 GMT
Couldn't reproduce the problem.

> Could someone please try the following and tell me whether they can
> reproduce this bug?  I'm running 2.0 (the latest version, I presume, since
[quoted text clipped - 23 lines]
>    This happens with any top-level menu item that has at least two
>    sub-items.
tjb - 05 Oct 2006 13:46 GMT
> Couldn't reproduce the problem.

Ahhh -- I've found the cause.  It was a keyboard-macro program I had
running in the background!  Disabled that and now I'm no longer
experiencing this problem.

Thanks for the reply -- it prompted me to analyse this further, and
eventually solve it.

Sorry for the false bug report.

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.