Can you post your full code? What is the purpose of using WMI? Thanks!
GetObject WMI Bug in Access 2510 (Build 19328.20244)
Attempting to call GetObject("winmgmts://./root/cimv2") from the Form_Activate event handler when opening a form using a Hyperlink SubAddress fails with an automation error "Unspecified error". Opening/activating the same form using DoCmd.OpenForm or clicking the form tab works without error. Calls to GetObject for Excel also work fine either way.
Microsoft 365 and Office | Access | Development
3 answers
Sort by: Most helpful
-
-
DBG 11,531 Reputation points Volunteer Moderator2025-11-26T17:43:29.3033333+00:00 Hi. Sorry for the delay. I was able to see the problem after downloading your file. When I researched it, I discovered that WMI has a slight conflict with using hyperlink subaddresses. Here's the workaround I used to overcome the problem. I hope it works for you.
-
DBG 11,531 Reputation points Volunteer Moderator2025-12-04T19:53:17.6433333+00:00 Hi Scot,
I was told that this issue is now fixed in the Current Channel. Are you able to verify that the issue is fixed for you by going back to Current Channel?
Thanks,
DBG
PS. Please make sure to perform a restart as well, just to be safe. Thanks!