Hello Guest it is March 28, 2024, 05:50:15 PM

Author Topic: Macro Query  (Read 2679 times)

0 Members and 1 Guest are viewing this topic.

Macro Query
« on: August 28, 2013, 05:32:08 AM »
Hello, I have what may be a really dumb question (I am a rank beginner at this macro stuff), but, when I use Mach's VB script editor on my home computer and run a macro ...all is good.

But, if I take the same macro to my lathe's computer and try to use it, I get nothing. Using the lathe's VB editor, i get a "Class is not licensed for use" error in the macro.

Any help will be greatly appreciated....thanks


pete
Re: Macro Query ...Solution Found !!!!
« Reply #1 on: August 31, 2013, 10:55:18 AM »
The solution to my problem was a licensing issue. I was trying to use a virtual com port and the MSCOMM32.OCX file that was needed to run it was not licensed in windows registry. Hence, the "Class not licensed for use" error I was getting when using mach's vb script editor to run the macro. I did register the MSCOMM32.OCX but, i was still getting the error.

After a long day on Google, I found that the solution was to create a new key in windows registry.

HKEY_CLASSES_ROOT\Licenses\4250E830-6AC2-11cf-8ADB-00AA00C00905 and set it’s default value to kjljvjjjoquqmjjjvpqqkqmqykypoqjquoun

In my case, under HKEY_CLASSES_ROOT, Licences wasn't listed. So I created it....right click HKEY_CLASSES_ROOT, then new, type in Licenses. Right click the newly created Licenses, then new, type in 4250E830-6AC2-11cf-8ADB-00AA00C00905. Now left click on the newly created 4250E830-6AC2-11cf-8ADB-00AA00C00905 and set it's default value to    kjljvjjjoquqmjjjvpqqkqmqykypoqjquoun

I now have a working VCP and a happy Emco 120p tool changer  ;D


pete