Hi Nithya,
If you confirm the issue is not related to the Antivirus software, we can
try to open the form in design view, check the ActiveX control and its
control source; we can delete the control on the form and insert it again
to see if this works. In addition, is this problem machine specific? Does
the issue occur on a fresh new database file?
If there is some underlying code in the form open event, comment them out
and to see if the problem occurs, it is possible the problem is related to
some missing reference.
Please feel free to let me know if you have any questions or concerns.
Sincerely,
Alick Ye, MCSD
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
--------------------
| Content-Class: urn:content-classes:message
| From: "Nithya B" <bookworm@bookworm.com>
[quoted text clipped - 65 lines]
| >
| >.
Nithya B - 26 Sep 2003 06:57 GMT
Hi
I am sure it has nothing to do with the antivirus
software. The error message is quite
different...especially the one that says "There is no
object in this control".
My control is an ATL control and I tried everything you
suggested in your previous post. I have tried just
inserting the control on the form and opening it. There
is no code associated with the form. I still get the
error.
I inserted 2 instances of the control on the form and I
got the error message twice.I don't know if this
information will help.
Could it be a problem with the control registration? But
I tried it on VB and it showed up and worked properly.
Thanks,
Nithya
>-----Original Message-----
>Hi Nithya,
[quoted text clipped - 91 lines]
>
>.
Nithya B - 26 Sep 2003 09:27 GMT
Hi,
I figured out the problem. I had included support for
connection points (events) in the control, but hadn't
included any events. So there was no implementation for
the interface.
I guess that is why Access complained. Still wondering
why Vb didn't.
Thank you for all your help.
Nithya
>-----Original Message-----
>Hi Nithya,
[quoted text clipped - 91 lines]
>
>.
Alick [MSFT] - 26 Sep 2003 10:24 GMT
Hi Nithya,
Great! Thank you for sharing the resolution with us. :- ) It may be due to
the difference between VB and Access VBIDE, such as the mechanism to handle
error.
Sincerely,
Alick Ye, MCSD
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
--------------------
| Content-Class: urn:content-classes:message
| X-Tomcat-NG: microsoft.public.access.activexcontrol
[quoted text clipped - 122 lines]
| >
| >.