RH8 for Word 2003. Runtime Error 5152: Cant move focus to control
Hi, I am trying to open a word file from the RoboHelp source files and am getting the following error:
Runtime Error '5152': Can't move focus to the control because it is invisible, not enabled, or of a type that does not accept the focus.
I am using Word 2003 and RoboHelp 8. I didnt not change anything in the code, its a RoboHelp provided code. RH was installed with my netword id and with admin rights. When I click debug, it highlights the following piece of code.
Private Function IsRoboHookLoaded() As Boolean
IsRoboHookLoaded = False
' No addins, not loaded
If (AddIns.Count = 0) Then
GoTo IsRoboHookLoadedExit
End If
For i = 1 To AddIns.Count
AddInName$ = LCase$(AddIns.Item(i).Name)
If (AddInName$ = "robohook.wll") Then
If (AddIns.Item(i).Installed = True) Then
IsRoboHookLoaded = True
Exit For
End If
End If
Next
IsRoboHookLoadedExit:
End Function
Also, when I click end and try to close the Document, I get another error:
Runtime Error '5152': Method 'Name' of Object 'AddIN' failed.
It again highlights the same piece of code on debug.
Can you please suggest why this might be so?
Thanks in advance.
- Shubs
