Results 1 to 3 of 3
  1. #1
    I.A. is offline Novice
    Windows XP Access 2007
    Join Date
    Feb 2011
    Posts
    6

    activex object in a form works only after going to design mode

    Hi
    I have a form that uses an Activex Object (on ACCESS 2003 platform) to negotiate with equipment using the serial port (RS232).

    Everything was working good until a few weeks ago when suddenly it didnt work. no changes were made to the code (maybe it was an update to XP that caused this?).

    Anyway - I tried re-registering it and debugg the problem and found a very strange behaviour - If you open the form the button based on the control doesnt work but if you go to DESIGN mode and then back to FORM view (without changing ANYTHING!) - it works!



    Can someone explain this or suggest a way to work around it?

    Thanks
    Last edited by I.A.; 02-14-2011 at 11:13 AM.

  2. #2
    Access_Blaster is offline User
    Windows XP Access 2010 32bit
    Join Date
    May 2010
    Posts
    339
    I would try importing everything into a fresh database to see if the problem goes away.

  3. #3
    I.A. is offline Novice
    Windows XP Access 2007
    Join Date
    Feb 2011
    Posts
    6
    I finally got back to it.
    Your suggestion worked out great.
    Thanks!

Please reply to this thread with any new information or opinions.

Similar Threads

  1. form is suddenly read-only
    By Karen H in forum Forms
    Replies: 28
    Last Post: 02-14-2011, 08:38 AM
  2. Replies: 5
    Last Post: 12-27-2010, 06:59 PM
  3. Replies: 1
    Last Post: 08-05-2010, 12:11 PM
  4. Editing forms suddenly gone wrong
    By twinfair in forum Forms
    Replies: 3
    Last Post: 02-19-2010, 07:48 AM
  5. ActiveX componet can't create object
    By quanmay35 in forum Access
    Replies: 1
    Last Post: 05-26-2009, 05:27 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums