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

The formatting is lost if the robohelp.dot template is not present in the same folder as the word document I am trying to open (and edit). The template is still present under application data\templates. Below are your answers:
So if you have the robohelp.dot in the application data\templates folder and open the project and the doc, the fomatting is gone in the doc and it is is plain text, correct? - Yes
Are any styles attached to the text at all? - Yes
For instance if you highlight what was a heading 1, is it still heading 1? - Yes - It still shows as heading 1, but not as big and coloured as the headings in documents with robohelp.dot
if you create a new help project, do you run into the same problem? - Yes
I tried copying the styles from robohelp.dot to my document, but still it doesn't reflect the changes.
I want to be able to open the document (with the robohelp template and its styles attached to it) and edit it, without changing any styles/formatting.
I am not an expert on this but my feeling is it has something deeper to do with other than just the location of the template or the styles. There should be a reason for  the runtime error 5152: "Can't move focus to control....".

Similar Messages

  • RH8 for Word not displaying images in WebHelp

    Greetings.
    We recently upgraded from RH7 for Word to RH8 for Word.  Images (bitmaps) that displayed perfectly when RH7 compiled the WebHelp do not display at all when RH8 compiles the WebHelp.  All we get is an extra blank line -- not even a broken image link.
    Images are in the correct folder; nothing has changed, except for the upgrade.
    The images were placed in the files using the New Help Image icon.
    This is an urgent and high-priority issue for us.  Adobe Tech Support is unable to assist.
    Thank you!
    Jerry

    Hi again
    Well, one might assume that you knew where the WebHelp output folder was because you are reporting the images aren't showing when you view WebHelp. So the question now becomes: How exactly are you viewing the WebHelp? Are you clicking the "View Result" button after you generate? Are you viewing after you publish it to the Web Server? (That doesn't sound right as you are saying the "keeper" won't push it until the image issue is resolved. This would seem to infer that you aren't involved other than to post and act as an intermediary?
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • Styles looking different in RH8 for Word source and Webhelp

    Hi All,
    I am using RH8 for Word. There are close to 900 topics in my project. My problem is that the styles that I used in my RH Word documents and the styles displayed after generating Webhlep are looking different. Also, that is not consistent with all the topics; some are generated exactly as the styles are in RH Word documents, but some are generated differently. An example might help you clearly understand.
    Example
    I have used the following styles in my RH Word documents:
    ·                                 Normal for body text
    ·                                 Heading1 for headings
    [to see the below images clearly please zoom in the browser display]
    The following figure shows topic1 when the styles are applied in RH Word:
    This is another topic2 when the styles are applied in RH Word:
    Output for topic1 in webhelp:
    Output for topic2 in webhelp:
    As you can see, the styles applied in topic1 and its output matches, whereas it is different for topic2 in Word and in Webhelp. I am not using any templates in RH Word. Can anyone please explain why this inconsistency. Is there a way to resolve this. I will be glad to provide you more information if required.
    Thank you,
    Vinay

    Hi again
    Well, one might assume that you knew where the WebHelp output folder was because you are reporting the images aren't showing when you view WebHelp. So the question now becomes: How exactly are you viewing the WebHelp? Are you clicking the "View Result" button after you generate? Are you viewing after you publish it to the Web Server? (That doesn't sound right as you are saying the "keeper" won't push it until the image issue is resolved. This would seem to infer that you aren't involved other than to post and act as an intermediary?
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • Enable Highlight Search Result in RH8 for Word

    Hi all,
    Is the search option "Enable Highlight Search Result" available under RoboHelp 8 for Word?  I can find the option in RoboHelp 8 but I can't find it under the RH8 for Word application.
    Any pointers or advice would be really helpful.
    Cheers,
    Leigh.

    Thanks Peter.
    Appreciate you answering this one.
    It's a pity this is not an option as I have word docs already written for a User Guide and the text highlighting option in searches is really helpful to narrow down where seach strngs are located within large topic pages.
    I guess I could copy and paste the word content manually into a RoboHelp HTML project instead.
    Thanks again,
    Leigh.

  • JavaScript Error : Can't move focus to the control because it is invisible,

    I have one JSP page in my project where i am putting all input to save personal details of a person.
    This personal details header contains button(to collapse or expand).
    I input all details and save. It works fine but when i collapse the header and name, age etc are not visible.
    Only Save and cancel button is visible. so i click on save and following javascript error show up :
    Can't move focus to the control because it is invisible, not enabled, or of a type that does not accept the focus.
    In case of expand mode,If there is any error while providing input in text boxes , i have given pop up to display that like " Name field is mandatory " and control focus to that field again. it works fine.
    In case of collapse, as fields are not visible and if i directly click on save button. Pop up is displayed as usual "Name field is mandatory" but it pop up again javascript error
    "Can't move focus to the control because it is invisible, not enabled, or of a type that does not accept the focus."
    Please let me know how to reolve this?

    1) there is a JSP forum
    2) that still doesn't make it a forum to ask javascript questions
    Please let me know how to reolve this?Who says that you can resolve it? If it isn't allowed, don't try it. Likely you'll have to rethink the design of your page.

  • Runtime Error 5152

    On September 6th I posted a topic regarding this problem. I
    found a work around, which is to log on to my PC using a
    new/different login ID.
    Since that time my co-worker has experienced the same
    problem. This problem occurred in the same manner for both my
    co-worker and myself. We copied the project from the LAN to our
    D:drive, when we tried to open the local copy of the project we
    received the runtime error, and then going forward the error
    occurred when trying to open any project. (Refer to Sept 6th post
    for specific error messages).
    My co-worker was able to fix the problem by removing an old
    (we had not used the file in many years) ".dot" template file
    located on D:\documents & settings\userID\application
    data\microsoft\tempates\ . Unfortunately that file does not exist
    on my PC, so am still using the work around.
    Our most recent RH upgrade was in May 06 to X5 with Word
    2003. Our project files are stored on our LAN. We typically work
    off the LAN, but also create local copies of these projects
    (typically the larger ones) to work on them locally. A recent
    change to our PCs has seen the "documents and settings" folder,
    moved to our D: drive. Prior to May 06 it was on our C: drive.
    I am convinced it is a template file location problem related
    to startup, because we keep the robohelp.dot template, which we
    have modified for styles, within the working project folder.

    You are playing with a bunch of things that can screw up RH.
    It must be installed using the login of the user and with
    admin rights attached. That criteria is not met if you install it
    with one login and then use it with another one. Obviously you can
    only address that by uninstalling and reinstalling. You may have
    got RH to do some things by using a new login but it will certainly
    screw up doing something else.
    Then you talk about projects on a LAN. Again a big NO NO.
    It's OK to store things there but not to work on them there. Not
    sure if D is a network or a partition, the latter is OK.
    Now let's look at Word 2003. After installing Word it may be
    necessary to uninstall and reinstall RH for that. Some say it is
    necessary and I have seen it fix problems. I have also been advised
    by Adobe people that it is necessary. Against that I have seen it
    installed after RH and work OK. However, bottom line is if you have
    a problem that has to be on your list.
    Finally you mention Docs and Settings being on D. So again,
    is this a network drive? Is it a roaming profile? Not sure if they
    will work nicely with RH. Can someone else comment?

  • Copy planning for cost center Runtime error

    Dear Gurus,
    I am running KP97 to copy planning for cost center.
    but I got following runtime error:
    ===================================================================
    Runtime Errors         DYN_CALL_METH_CLASS_NOT_FOUND
    Exception              CX_SY_DYN_CALL_ILLEGAL_CLASS
           Occurred on     07.01.2009 at 13:21:25
    What happened?
    Error in ABAP application program.
    The current ABAP program "SAPLGUMD " had to be terminated because one of the
    statements could not be executed.
    This is probably due to an error in the ABAP program.
    What can you do?
    Print out the error message (using the "Print" function)
    and make a note of the actions and input that caused the
    error.
    To resolve the problem, contact your SAP system administrator.
    You can use transaction ST22 (ABAP Dump Analysis) to view and administer
    termination messages, especially those beyond their normal deletion
    date.
    Error analysis
    An exception occurred. This exception is dealt with in more detail below
    . The exception, which is assigned to the class 'CX_SY_DYN_CALL_ILLEGAL_CLASS',
    was neither
    caught nor passed along using a RAISING clause, in the procedure
    "USER_REFRESH_RE_EA" "(FORM)"
    Since the caller of the procedure could not have expected this exception
    to occur, the running program was terminated.
    The reason for the exception is:
    Class "CL_REEX_COPL_MASTERDATA_CHECK" was chosen during dynamic method call,
    but could not be found.
    =====================================================================
    can anybody give me a hint how to solve the problem?
    B.R.
    George
    Hi all, I searched the SAP notes, and found there is one note NOTE_0000632335 related to copy planning, I installed the note by TCode snote. the KP97 can run now, but for the IDES controling area 1000, I tried to test run copy version 0, period 1 to 12 from Fiscal year 2003 to 2004.
    there are many records with error.
    shall I ignore the error , unselect the test run and continue?
    does anyone have similar experience with IDES R/3 4.71? why cannot I carry out all steps in online document for IDES?
    B.R.
    George
    Edited by: George Pan on Jan 7, 2009 11:39 PM

    Hi I checked the error with copying plan data. it's all because of 'plan data already exists'.
    so I just ignore the error and continue.
    thanks!
    George

  • Word 2003 Sartup error

    Just sent this message the Microsoft Office Forum:
    I just upgraded from Windows XP Pro to Windows 7 Pro 64 bit. I had Office 2003 installed in XP and working sucessfully for years in conjunction with Adobe Acrobat Professional 8; after the upgrade to W7 and the total reinstallation of all applications without any difficulties Word 2003 fails at its Startup with the following message: "Word experienced a serious error the last time the add-in acrobat pdfmaker office com addin was opened..............."
    Have uninstalled Adobe and repaired Office, uninstalled and reinstalled Office and followed all the possible suggestions from the web to resolve the issue without any luck, the same Startup error is still there even with Adobe removed. Winword will Start OK with the command: winword.exe /a.
    What is going on?
    Can anyone help?
    Nevio
    Received this reply from Microsoft:
    If Word is reporting an Acrobat error and you have uninstalled Acrobat then you have not uninstalled it completely. You need to ask an Adobe forum for details on how to remove it completely.
    What is it that I need to do to remove Adobe completely?
    Can anyone help?.
    Nevio

    Acrobat 8 is not listed as compatible with Windows 7 - http://kb2.adobe.com/cps/401/kb401518.html
    Manual removal instructions for Acrobat 8 are given here: http://kb2.adobe.com/cps/400/kb400767.html

  • RH8 for Word - Strange page breaks and non-scoll headers

    RH8 and Word 2007 generating WinHelp 2000.
    Normal page breaks are full page width.
    When I insert one in manually, it shows as only 2 inches wide.
    A tiopic with this short break does not show as a non-scroll header and does not get included in the browse sequence
    Any ideas folks?

    Funny you should ask as I've been trying to figure this out too!
    This is a Word 2007 issue - I assume you are using Office 2007? I am using RH7, but I believe my solution will work for you because it is Word, not RH.
    Anyhow, assuming my Word 2007 assumption is spot-on, you need to change word options.
    Go to the Office button, select Word Options.
    Select Advanced.
    Scroll to bottom of the window and look for Compatibility options (very bottom of the window).
    Expand the layout options.
    Check "don't split apart page break and paragraph mark". (You can apply this to the current open doc you see or all docs - if all docs, you will probably change the global normal template, which you may not want to do.)
    Click Okay.
    Note, if you go to recheck the setting, the format is now listed as "custom".
    Specifically, what was happening is the page break was taking on a "normal" style with 0pts before and after. This caused for me a big gap between the top of the help window and my heading 1 style. (I have my Heading 1 style set to 6pt before and 2pt after and font is 12pt.) Changing the above makes the page break itself take on the Heading 1 style which then also expands across the draft window instead only a couple inches. Other than affecting how the Heading 1 might appear in the compiled help system, I don't see any probelm with using the page break with the normal style applied to it, however, it is a little disconcerting. I noticed this particularly in the Outline view as I sort the pages in my the doc alphabetically based on Heading 1 so I can locate info easily by client name. When I used the "normal" or should I say "abnormal" style page break, these page breaks were excluded from the sort and I had no page breaks! (At least there is still an undo option!)
    I'm not sure, but you may need to modify the robohelp.dot template to keep this permanent for your robohelp for word help systems.
    In addition, your heading style probably does not have the paragraph format setting set to "keep with next", so change the style and that should add the non-scroll to the header.
    One final piece of advice, have the "developer" tab showing in the ribbon. This allows you to access the template and see the styles in your doc. I would  uncheck the "automatically update" option so that when you reopen the doc, it doesn't lose any doc specific style changes you made.
    bb

  • Optimize for Speed = LV runtime error in file CCGArrSupp​ort2.c (LV2009 / MCB2400)

    Hello,
    I have a MCB2400 and LV2009 and the normal Code-Generation works fine. But if I try the Run-Time Option: "Optimize for Speed" I always get this Error:
    "LV runtime error in file ...\CCGArrSupport2.c at line 2621: 6 3"
    I already tried a workaround, which helped somebody for blackfin: http://forums.ni.com/ni/board/message?board.id=420​&thread.id=811
    But it didn´t help in my case.
    bye
    amin 
    Solved!
    Go to Solution.

    Hi,
    you are right. In the example it was just a Problem with the output.
    Now here is one little part of the project which brings the runtime error allone, which brings the runtime error (just if the optimize option ist activated).
    The Black Node is a Sub-Vi.
    bye & thanks
    amin
    Message Edited by aminat on 10-23-2009 09:02 AM
    Attachments:
    PUB.zip ‏15 KB

  • Missing Images After Moving RH8 for Word Project

    Hi everyone!
    I am encountering a problem that I cannot solve, so I thought I would try posting here for some help from the pros.
    I am working with a legacy RH for Word project. I currently have RH 8 and Word 2007. I relocated the project and all of its associated files from my local machine to a network drive. Now I have found that all of the image files that I have used throughout the project are showing up as broken links.
    I have tried deleting and readding the references with no success.
    I have also made sure that both the path to the current location and the path to the old location show up in the list under "All Project Folders" on the Help Image Properties box (with the current location on top of the previous location, if that matters).
    The images display if I do the Active Test and they display when I bring up the Help Image Properties box. I have double and triple checked that the images are in both locations, but when it comes time to generate the primary layout and view it, they are broken again.
    I am at my wits end, so any help you can give me would be greatly appreciated. Thanks!

    Many moons since I have used RoboHelp for Word but I am suspecting the issue is moving the project to the network. I think it is OK to have the documents on the network but not the project.
    Not sure and more than happy for a RoboHelp for Word user to chip in and contradict.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • RH8 for Word gives "not responding" message when I try to add a hotspot

    Good afternoon.  I have been trying to add a hotspot or jump to
    RoboHelp 8 Word with no luck.  My computer keeps freezing and in a few minutes I will see that Word is "Not Reponding" on the blue bar at the top of the screen.  Any ideas?  Thanks.

    Hi there
    Wow... it's been last century since I touched RoboHelp for Word, but I do recall that it involves using Word macros to work the RoboHelp Magick. Have you ensured the Macro Security has been relaxed for this? Is this the first time you have tried using RoboHelp for Word? Or was it working fine and suddenly stopped?
    One other thing. What is your operating system?
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • HT1349 Why do I get Runtime Error when trying to open iCloud Control Panel?

    iCloud Calendar isn't syncing and iCloud Control Panel won't open (Runtime Error).(on HP HDX 16 with Vista Ultimate) That is followed by message saying PhotoStream has stopped. I'm just confused at this point. Do I need to uninstall/reinstall something?

    Thanks randers4. I'm not sure why this should have solved the problem, but it did!
    But, that now leaves me with my original problem; that is, calendar is not syncing between iPhone 4s and Vista Ultimate and Windows 7 Ultimate. But with this Runtime Error gone, I can now try troubleshootin the sync problem.
    Thanks again!

  • Permanent solution for Java iView Runtime error ?

    Hi
    I have SAP IDES installed in my system...recently i am getting following error when i am trying to login Portal :
    Java iView Runtime
    Copyright 2002 SAP AG. All rights reserved.
    An exception occured while processing your request.
    If this situation persists, please contact your system administrator.
    I have searched SDN many discussions say that restart server and check memory and...etc......etc
    My system also if i restart server problem is solved temprarely....
    My system memory is not a problem because i have 16GB Ram amd 1 Tera hard disk still i have 500 GB hard diskk free space...
    If i restart simply MMC my J2ee table will not connected so i have to restart hole sytem them start MMC .....then server is up and i can connect to portal .......it seems connection for j2ee table are getting lost.....
    Can some one suggest me permanent solution
    thanks in advance

    Hi Maya,
    BEx Web Analyzer requires Portal and is basically a Web template called 0ANALYSIS_PATTERN.
    Is Portal configured in your system landscape? If yes try to see if its configured probably using transaction RSPOR_CUST01.
    If you have access to SM59, you can test the RFC connection to the portal by running the Test Connection for the corresponding RFC destination ID that you see in RSPOR_CUST01 transaction.
    Assign points if helpful
    Regards, Uday

  • Runtime error for SELECT statement

    Hi All,
    I have written a SELECT statement as follows in my code.
    select budat pernr aufnr vornr from AFRU
    into corresponding fields of table it_vornr
    for all entries in it_cats_tmp
    where budat = it_cats_tmp-workdate
    and pernr = it_cats_tmp-pernr
    and aufnr = it_cats_tmp-rnplnr.
    The table IT-CATS_TMP is having around 3000+ lines.
    When control moves to this statement, the system is throwing Runtime error or its taking around 30 minutes time to execute.
    If i query the same table (AFRU) in SE11 for the same set of conditions, the table displays relevent data immediately.
    What might be the reason for this delay/Runtime Error?
    Shall i need to change the syntax for better performance?
    Your guidelines are highly appreciated......
    Regards
    Pavan

    Hi
    1. Try to put WHERE conditions for KEY FIELDS.
    Solution: Create a RANGE for the key fields & put that in SELECT Query.
    DATA: gr_rueck TYPE RANGES OF afru-rueck.
    SELECT .. WHERE rueck IN gr_rueck.
    2. Avoid using CORRESPONDING FIELDS OF TABLE in SELECT.
    Solution: Change internal table fields ORDER.
    TYPES:
    BEGIN OF TY_VORNR,
      budat TYPE ..
      pernr TYPE ..
      aufnr TYPE ..
      vornr TYPE ..
      ... " Other fields
    END OF TY_VORNR.
    SELECT .. INTO TABLE IT_VORNR ...

Maybe you are looking for

  • Xorg 1.8 crash after applications are reduced in taskbar

    Hi I successfully updated my laptop with xorg 1.8, enabeling me to get rid of xorg.conf file. But I have a systematic problem of crash/restart of xorg when using Firefox. No information found in logs (as far as I know). Here are the steps to reproduc

  • Problem with business partner

    Hello everyone, I have this problem: ive been using extractor 0crm_sales_act_1 for crm, but i just realized that there is no business partner for my activities. I do have a business partner associated to my service order, but not to my activity that

  • Connecting Macbook to Dell U2312HM Monitor

    I'm interested in connecting the Dell U2312HM monitor to my Macbook OS X Version 10.6.8. How do I do it? What are the parts that I need to buy? Thank you.

  • The creation of snapshot fails

    Hi All, In my database the creation of snapshot fails sometimes. When I go to the enterprise manager, it show the following error Task Name ADDM:1655533543_1_12151 Task Owner SYS Status ERROR Error Message error occurred at recursive SQL level 2 Can

  • Convert labview 5 llb to 8.6

    Could someone please convert this library (apparently from Labview 5) into a format compatible with Labview 8.6?  Also, if it is possible to download labview version 8.2 (so I can do these conversions myself without bothering anyone) that would be gr