473,396 Members | 1,891 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,396 software developers and data experts.

Delay when selecting menu item

Hi,

I'm experiencing a delay (of about 1-2 seconds) when I try and select and
item in my VB.NET windows menu. The menu item eventually appears and the
program carries on as normal. But I cannot track what is happening between
the click and the items appearing.

Strangely enough, occassionally I need to wait a second or so to get buttons
to fire off too. Are these problems related?

Does anyone have any thought?

Cheers,
Anthony
Nov 21 '05 #1
7 1224
Anthony,

Do you have set in your options Option Strict On, or set that in top of your
program(s)?

Cor
Nov 21 '05 #2
Yes. I always code with this set ON. How is this related?

I tried building the solution in "release" and it made no difference.

Basically, if I hover the mouse over the menu it takes a good 2 seconds for
the menu to get selected and allow me to click an item.

Thanks

"Cor Ligthert" <no************@planet.nl> wrote in message
news:OH**************@TK2MSFTNGP12.phx.gbl...
Anthony,

Do you have set in your options Option Strict On, or set that in top of your program(s)?

Cor

Nov 21 '05 #3
Why kind of hardware/OS are you running on? Can you run the compiled .exe
on another machine and does it behave the same?

I am having a hard time trying understand Cor's questioning Option Strict on
this one. But then again, I think I should make that question my new sig
line. :^)

Greg
"Anthony" <an*****@sysdel.com.au> wrote in message
news:O1**************@TK2MSFTNGP11.phx.gbl...
Yes. I always code with this set ON. How is this related?

I tried building the solution in "release" and it made no difference.

Basically, if I hover the mouse over the menu it takes a good 2 seconds
for
the menu to get selected and allow me to click an item.

Thanks

"Cor Ligthert" <no************@planet.nl> wrote in message
news:OH**************@TK2MSFTNGP12.phx.gbl...
Anthony,

Do you have set in your options Option Strict On, or set that in top of

your
program(s)?

Cor


Nov 21 '05 #4
Greg,

I ask this not forever however with strange effects like this with option
strict on, those are sometimes showed in the code directly.

Cor
Nov 21 '05 #5
Anthony,

Can you than show the code from the menuevent that goes so lazy.

Cor
Nov 21 '05 #6
There is no menu event code, ...that is I have not overriden any base
classes. In any case, the menu event will not be fired until the menu
receives the focus.

So just to reiterate my problem, ..my menu cannot get any focus for about
2-3 seconds whilst the mouse is hovering over it. I don't click any menu
items (because I can't - it doesn't have the focus).

However, ...I have compiled this and ran it on other (SOE) machines, (Win2k)
and it is working. It's a strange one, but if it is working on the SOEs then
I'm right. Thanks for your help folks.
"Cor Ligthert" <no************@planet.nl> wrote in message
news:O6**************@TK2MSFTNGP12.phx.gbl...
Anthony,

Can you than show the code from the menuevent that goes so lazy.

Cor

Nov 21 '05 #7
Anthony,

The solution for this is mostly to create a very small project with the same
structure as the one that goes wrong and than to see if that goes wrong as
well.

Cor
Nov 21 '05 #8

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

Similar topics

17
by: Will Stuyvesant | last post by:
Here is a question for people who are more comfortable than I am with new Python stuff like generators. I am having fun implementing things from the Wizard book (Abelson, Sussman, "Structure and...
1
by: M.L. | last post by:
Hi NG, I hope someone in here is able to help me in this matter. The problem: I have created a Javascript drop-down menu which expands when moving the mouse into a tablecell (calls my Expand()...
1
by: Nancy Shelley | last post by:
Hi all: I am building a navigation menu using telerik's rad treeview I am able to build the outer menu but not the children. How do I select the child nodes (item) from within the loop? Any...
2
by: Martin Maat | last post by:
I am almost longing for MFC (no, not really, but a couple of things seem to be less powerfull in Windows.Forms). One is updating menu item status. Having commands separated from the UI thingies...
3
by: bardo | last post by:
I am running into the following problem would like to know if this a bug or me doing something wrong. Using C# with visual studios 2003. I make a form and add a mainMenu Control. Now I type in...
5
by: Dan | last post by:
Hi, I'm going crazy here, please help. I have a parent page that has a user control on it that bubbles up data from a dropdown menu. The drop down menus are populated by a set of radio buttons,...
3
by: Novice Computer User | last post by:
I have a drop down menu where people are able to select 1 item. However, I want to modify the drop down list so that the person can select more than 1 item (i.e by holding down the shift button...
3
by: SQLjunky | last post by:
Hello, Contrary to what my screen name indicates, i'm actually quite new to SQL. Having said that, I'll get right into my problem. I'm trying to query an mssql database to return to the value...
2
by: Rahina | last post by:
I am working in Dreamweaver 8, and I have created a simple form: http://www.realmofmystery.com/app.html This is a free website I am doing for some friends, so nothing fancy. And, I learned web...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.