468,253 Members | 1,236 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,253 developers. It's quick & easy.

Operation is not allowed when the object is open?..

Hello,

have created a form in which i call other forms from the main form ..
When i click a particular button twice there is an error .. Can anyone help me to solve my problem.. The error is:::
ERROR 3705
"Operation is not allowed when the object is open"...

Here i am l posting the code so that you all may get some idea.

thanks
alexsunny
Oct 20 '20 #1
2 3606
SwissProgrammer
207 128KB
I did not see your code.

If my memory is correct, you should be able to detect a single-click and upon doing so disable the button until you have done what it is that you are doing.

As a potential error blocking operation, you might detect a double-click on the button and then check to see if the single click was detected previously. If the single click was not detected, then run the code that should have been run when the single-click was detected. A simple global like "was_single_click_detected" could be used to answer the question and be set to react to the situation.

Thank you for asking.
Oct 27 '20 #2
SioSio
240 128KB
As if copied Same Question
https://bytes.com/topic/visual-basic...en-object-open
Oct 27 '20 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

reply views Thread by NPC403 | last post: by
reply views Thread by kermitthefrogpy | last post: by
reply views Thread by zattat | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.