Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: How can I run macros in Vista? #6153
    Jxon
    Member

    After a few days research, I find the cause of this problem and also figure out two solutions to fix this problem.

    Cause of Problem:

    The application fails to register EEMacro.tlb, the macro related type library file, in vista system.

    I don’t know why is this happening, maybe some files in my vista corrupts and emeditor.exe couldn’t call the function to register it, or maybe my vista security setting disallow emeditor.exe to access the registry, or maybe the emeditor use the same approach as in the previous versions for XP to register the type lib which could not be applied to vista system. Anyway, the cause of my problem is due to the system could not locate EEMacro.tlb in the Emeditor directory.

    Solutions:

    Solution 1. If you are comfortable with command line, then you could use a console tool “regtlib.exe” to register the file.
    usage:

    regtlib \%EmEditor_Path\%EEMacro.tlb

    Solution 2. Copy the following codes into a text file and rename it to anyname.reg and double click the file to register.
    Note: you may have to change the EmEditor installation path if yours is different from mine.


    Windows Registry Editor Version 5.00

    [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{EEC66535-61A2-43A8-B34F-7A2863014D5E}]

    [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{EEC66535-61A2-43A8-B34F-7A2863014D5E}1.0]
    @="EEMacro 1.0 Type Library"

    [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{EEC66535-61A2-43A8-B34F-7A2863014D5E}1.0]

    [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{EEC66535-61A2-43A8-B34F-7A2863014D5E}1.0win32]
    @="C:Program FilesEmEditorEEMacro.tlb"

    [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{EEC66535-61A2-43A8-B34F-7A2863014D5E}1.0FLAGS]
    @="0"

    [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{EEC66535-61A2-43A8-B34F-7A2863014D5E}1.0HELPDIR]
    @="C:Program FilesEmEditor"

    Good Luck to anyone who has been trapped by this problem like me.

Viewing 1 post (of 1 total)