/ Forums / Advansys Formativ / Formativ Runtime / Macro not working for one user on PC

  • Creator
    Topic
  • #3657
    dmather
    Participant

      I designed a macro that forwards a selected email to another email address, and then displays a confirmation dialog.

      The macro works fine on every PC in the organisation, except for one. For one particular user the confirmation dialog is not displayed and the email is not sent. The macro works fine for other users who logon to the PC. The PC is running Windows XP Professional, Groupwise 6.01, and Formativ Runtime 1.5.9.3.

    • Author
      Replies
    • #5760
      Support 1a
      Participant

        Given other users are able to run the applet on the same machine, I suspect the applet and Formativ are correctly installed on the PC. It sounds like it may be a problem with the users account itself. You may wish to try performing maintenance on the users account.

        If performing maintenance on the account does not help, I would suggest you may have insert some MsgBox() or similiar lines in your applet to determine the path of execution when the user tries to forward a message. This should give you a better idea of the problem, and how to fix it for this particular user.

        Regards,

        Advansys Support

        #5755
        Support 1a
        Participant

          Further to the above, you may wish to have the same user login to another machine and try the applet. If the problem persists with the same account on another machine, the problem almost certainly lies with the users account.

          Advansys Support

          #5757
          dmather
          Participant

            Thanks for your quick replies. The same problem occurs when the user logs onto another PC. I remarked out the “On Error Resume Next” line in the macro, and an error message was displayed by the Runtime stating that a particular line in the macro was causing a problem. The code from this line is below:

            set objMsg = GroupWise.Account.MailBox.Messages.Add(1)

            Why would this line fail for one user and no one else?

            Thanks.

            #5761
            Support 1a
            Participant

              I have seen a couple of similar reports. The common thread appears to be a very large number of messages in the users mailbox. This explains why only particular users are affected, and why the problem follows users from machine to machine.

              Could you please let me know approxiamately how many messages this user has in their account? I’ll pass this information onto Novell for comment. It appears this is not a bug in Formativ, rather a problem with the GroupWise programming API. (.Account.MailBox.Messages.Add is a ‘raw’ GroupWise API call).

              I look forward to hearing from you, and working toward a resolution.

              Advansys Support

              #5754
              dmather
              Participant

                The user has over 6000 messages in their mailbox. I’ve asked them to archive and delete as appropriate. Will let you know if that doesn’t work.

                #5762
                Support 1a
                Participant

                  Thank you for the update. This issue is now with Novell, so I’ll pass on what I learn from them ASAP.

                  Advansys Support

                  #5759
                  Support 1a
                  Participant

                    It looks like a problem in a recent update to the GroupWise agents. Try adding your draft message to the Work in Progress folder instead of the MailBox folder:

                    Set iObjMail = GroupWise.Account.WorkFolder.messages.Add("GW.MESSAGE.MAIL", fgwDraft)

                    This should work around the problem until Novell fix the issue in the agents (assuming you have less than 5000 messages in your Work in Progress folder).

                    Advansys Support

                    #5756
                    dmather
                    Participant

                      Thanks for the code change – it worked!

                      #5758
                      Support 1a
                      Participant

                        No problems – we aim to please!

                        Advansys Support

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