Monthly Archives: June 2017

The expression On Open you entered as the event property setting produced the following error: Object or class does not support the set of events.

We have some installations that use Access 2003 due to necessity.  We noticed that, after a Windows update, these Access programs ceased to work because the Object Library references get changed.  So, when the Switchboard tries to open, it gives this error:

The expression On Open you entered as the event property setting produced the following error: Object or class does not support the set of events.

To fix this, find the file MSACC.OLB that has a relatively recent timestamp.  It is usually in C:\Program Files\Microsoft Office\Office\Office12\MSACC.OLB but it may be in a different subfolder depending on your installed office versions.  Rename this file to MSACC.OLB.OLD, then open Access 2003 and it should re-configure itself and all is well.  In one case, we had to do a “repair” on Access to get it to work properly.

After this is done, you can rename the MSACC.OLB.OLD file from above back to MSACC.OLB so that later versions of Access you have will work properly.

Setting up a Guest/Visitor account with limited rights on a Windows 10 computer

To set up a Guest/Visitor account with limited rights on a Windows 10 computer, open an elevated command window and use these commands:

  1. net user Visitor /add /active:yes
  2. net user Visitor *
    You are prompted to enter and confirm a password but you can leave both blank since it’s a very limited account.
  3. net localgroup users Visitor /delete
  4. net localgroup guests Visitor /add

You will now see an account called Visitor you can choose on the sign-on screen.