/ Forums / Advansys Formativ / Creating Solutions with Formativ / Runtime Error creating ndom.document

  • Creator
    Topic
  • #4459
    embru
    Participant

      On some Machines under Win 7 i’m getting a runtime error at this statement:

      set nDoc = nDom.Document

      Error Message:
      Objekt erforderlich: ‘nDOM’ at line 988, column 4

      It seems, that the hole NDOM stuff ist missing on these Machines. What are the requirements on the pc’s, for using ndom and xml Code.

      Thanks

      Rolf

    • Author
      Replies
    • #8230
      Support 3
      Participant

        We believe you are referring nDOM as “MS HTMLDocument interface”.

        As you only noticed this behaviour on some machine so it must be environmental. You may need check the Internet Explorer installed property.

        You may also need to check how you access the nDOM object, may be the object not available in some case, check the object not null before you access its properties.

          
         on error resume next
         if not nDOM is Nothing then
           ' Do stuff...
         end if
        

        Regards,

        Advansys Support

        [This message was edited by Support 3 on November 08, 2011 at 03:32 PM.]

      Viewing 1 replies (of 1 total)
      • You must be logged in to reply to this topic.