473,320 Members | 1,863 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Menu stops working?

I have been rearranging my menu items and now suddenly the
menu commands don't work. It seems that a "1" suffix has been
added to the menu "click" functions. Other than to cut and paste the
code from the old menu functions to the new menu functions,
is there an easier way to fix the "broken links"?
Nov 21 '05 #1
4 952
"dinny" <nospam> schrieb:
I have been rearranging my menu items and now suddenly the
menu commands don't work. It seems that a "1" suffix has been
added to the menu "click" functions. Other than to cut and paste the
code from the old menu functions to the new menu functions,
is there an easier way to fix the "broken links"?


Are you sure the menu items are declared as 'WithEvents' correctly, and the
handlers have a '...Handles...' specified?

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 21 '05 #2
> Are you sure the menu items are declared as 'WithEvents' correctly, and
the
handlers have a '...Handles...' specified?


I am a bit surprised at this question. I created the menu with the designer,
then double clicked on each item to go to the code view where the
function template was already prepared. I don't understand what Handles
you are taking about.

Nov 21 '05 #3
"dinny" <nospam> schrieb:
handlers have a '...Handles...' specified?
I am a bit surprised at this question. I created the menu with the

designer, then double clicked on each item to go to the code view where the
function template was already prepared. I don't understand what Handles
you are taking about.


Take a look at the event handlers:

\\\
....Sub... Handles...
...
End Sub
///

Is there 'Handles MenuItem1.Click' specified, for example?

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 21 '05 #4
> Take a look at the event handlers:

\\\
...Sub... Handles...
...
End Sub
///

Is there 'Handles MenuItem1.Click' specified, for example?


Ok, got you, thanks.
Nov 21 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: bayouprophet | last post by:
Cant get menu script to to put linked page in the same frame. I am new to Java and I am wondering what am I doing wrong? below are my java applet file, frame.html file, and my text file and one...
2
by: Martin Hjärtmyr | last post by:
I have a program that uses Hotkeys! And they works just fine! I use this hotkeylib:...
6
by: dpomt | last post by:
I have a quite strange problem with the Menu control. I have ten languages and each language has a SiteMapDataSource and a Menu. For better performance, I am creating a hashtable (language ->...
4
by: Enrika | last post by:
Greetings! I'm working on a CSS drop-down menu, which, to my surprise, is actually working, more-or-less, in both IE *and* Firefox (and Netscape). But there are two changes that I want to make that...
0
by: Mike Eaton | last post by:
Hi there, I have an app whose structure is as follows: a module calls a custom application context containing a notify icon and associated context menu, which in turn acts upon an instance of...
1
by: flaviosemeao | last post by:
I have something that is driving me crazy, I've been working more than 3 days in a "sub-menu" that I am building, and as an amateur in actionscript I tried and I just got 50%. I am trying to build a...
1
by: =?Utf-8?B?QW5kcmV3?= | last post by:
Hi, friends, I am using C#.net 2005 to create a windows application. It has menu items, such as File, etc. Under File, there are more menu items, such as New Files, Working Files, etc. Under...
10
by: lenzie | last post by:
I am having a very odd problem with a website I run. The menus have recently been changed to use javascript and some people are reporting that when they first use the site, Instead of a nicely...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.