Jump to content
Macro Express Forums

Could not access the specified registry variable


Recommended Posts

Hi again..

I can't understand what's happening here. I'm using ME Pro Portable. A selection of my macros write to the registry. On one PC with which I do most of my work, everything works fine. I created all the necessary registry keys on another PC in order to be able to work on that PC. However I'm seeing a lot of errors Eg. Line 7: Debug error: Could not access the specified registry value. With one macro, by elimination, I determined that this error would happen when there was no value set in the registry key. I wrote values to all the keys referenced in that macro and it now works fine. Now I have another macro with the same issue. This time there is a value in there "B" so I'm stumped. I'm running in administrator mode. If I disable just that one line then all the other values load correctly. The variable is correctly defined. Wonder what's going on? Thanks.

Link to post
Share on other sites

https://www.winhelponline.com/blog/process-monitor-track-events-generate-log-file/

Maybe try to see what's being written to. That's all I can think of to try. 

My first thought was running with elevated privileges, but obviously you thought of that. 

How about disabling the anti-virus or other security software. McAfee and others will block suspicious programs from writing to the registry. 

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...