/ Forums / Advansys Formativ / Creating Solutions with Formativ / Groupwise Crashes when using WScript.Shell

  • Creator
    Topic
  • #4077
    Anonymous

      I am trying to launch a local application from within a Formativ applet using the RUN method of the WScript.Shell object.

      object.Run (Command [, WindowStyle] [, WaitOnReturn])

      If I set the WaitOnReturn parameter to TRUE, the applet script pauses and waits for the second app to close before continuing. The problem is that the applet window disappears (or is hidden) and only reappears when the second app exits.

      The applet launches on the SEND event, and when users try to switch between the second app and their composing message, and they find that the applet window has disappeared, they click on SEND to get it back. But this crashes Groupwise (since the second app is still running and the applet script hasn’t finished executing.)

      Any idea how I can work around this so that Groupwise doesn’t crash everytime the user tries to relaunch the applet from the SEND event? The user must be able to switch back and forth between the applet and the local application, while still being able to return values to the applet from the application.

      Thanks.

    • Author
      Replies
    • #7031
      Support 1a
      Participant

        We tried a test scenario, and found that we couldn’t tab back to the draft message, so I guess your approach must be different. We really need to see your applet in order to assist. If you are willing to share this with us on a confidential basis, please email it to support@advansyscorp.com and we’ll take a look.

        Regards,

        Advansys Support

        #7030
        Anonymous

          I’ve e-mailed a sample of the source code I’m using. Please feel free to post your response on this thread or reply to my e-mail personally.

          Thanks.

          #7029
          Support 1a
          Participant

            Thank you. We’ll take a look at the code.

            Regards,

            Advansys Suport

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