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

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 4226
SwissProgrammer
220 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
272 256MB
As if copied Same Question
https://bytes.com/topic/visual-basic...en-object-open
Oct 27 '20 #3

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

Similar topics

6
by: Matthew Louden | last post by:
The following ASP code yields the following error, but actually the new record is stored in database. The same error happens when the application deletes a record, such as sqlStmt ="delete from...
1
by: cliverama | last post by:
help! fried brains.... asp calling a sqlserver7 stored proc which dynamically builds a sqlstatement & passes it to sp_executesql asp page gives the operation not allowed when object is closed...
1
by: amitbadgi | last post by:
Hello guys I am getting this error while converting an asp applicayion to asp.net Exception Details: System.Runtime.InteropServices.COMException: Operation is not allowed when the object is...
1
by: Matt | last post by:
Got this problem that killing me...what am i doing wrong with this old dll. When i call the function from asp i get "Operation is not allowed when object is closed" any clue will be...
1
by: jigu | last post by:
<html> <head><title>testing connection asp to mdb</title></head> <body> <% dim sql_insert,sSQL src = "C:\websites1\yourdominname\mydatabase.mdb" sConnStr =...
7
vikas1111
by: vikas1111 | last post by:
Hi All.... I have created a form in which i call other forms from the main form .. When i click a perticular botton twice there is an error .. Can anyone help me to solve my problem.. The error...
1
by: sailoosha | last post by:
Hi, I am getting an error "operation not allowed when object is closed" when executing the following code. I am getting the runtime error at While Recordset.EOF <> True I am not sure where the...
2
by: vasavivenu | last post by:
Hi, My code is ElseIf pref = "Delete" Then If r.STATE = 1 Then r.Close r.Open "delete from visitors where ID=" & Val(fg.TextMatrix(fg.row, 0)), dbcon, adOpenKeyset, adLockOptimistic...
2
by: kenneth03 | last post by:
hi can you help me dubug this error it says 'operation not allowed when object is closed here is the code Private Sub Command2_Click() ch = "0" With rsStock
1
by: lester09 | last post by:
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...
0
by: veera ravala | last post by:
ServiceNow is a powerful cloud-based platform that offers a wide range of services to help organizations manage their workflows, operations, and IT services more efficiently. At its core, ServiceNow...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
by: jimatqsi | last post by:
The boss wants the word "CONFIDENTIAL" overlaying certain reports. He wants it large, slanted across the page, on every page, very light gray, outlined letters, not block letters. I thought Word Art...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....

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.