Forum Replies Created

Viewing 15 replies - 1 through 15 (of 24 total)
  • Author
    Replies
  • in reply to: Attaching a windows shortcut #7892
    Immi
    Participant

      Hi Simon!

      You might also send a HTML link – that’s what we do:

      ‘——————————————————————————-
      ‘ AddLinkHTML
      ‘——————————————————————————-
      Sub AddLinkHTML(oMsg)

      Dim sfile

      sFile = SelectFile()
      If sFile <> “” Then ‘ file selected?
      Utilities.CopyHTMLToClipboard(“<DIV><A href=file://” & NoSpaceInFileName(sFile) & “>” & sFile & “</DIV>”)
      GroupWise.EditPaste
      End If

      End Sub

      ‘——————————————————————————-
      ‘ Create short path
      ‘——————————————————————————-
      Function NoSpaceInFileName(filespec)

      Dim fso, f

      If Instr(filespec, ” “) > 0 then
      Set fso = CreateObject(“Scripting.FileSystemObject”)
      Set f = fso.GetFile(filespec)
      NoSpaceInFileName = f.ShortPath
      Set fso = Nothing
      Else
      NoSpaceInFileName = filespec
      End If

      End Function

      Hope this helps

      Stephan

      in reply to: Silent install of ActiveX Core & NDAP…. #6165
      Immi
      Participant

        Generally it should be enough to copy the needed ocx files to the Windows System32 directory and register them with

        C:WindowsSystem32Regsvr32 /s C:WindowsSystem32FileX.ocx

        Stephan

        in reply to: Applet not executed on OnSend when replying #7796
        Immi
        Participant

          Thanks for the info. We are waiting for the things to come…

          Stephan

          in reply to: Applet not executed on OnSend when replying #7797
          Immi
          Participant

            Hi!

            Unfortunately I have to comeback with another issue:

            With the latest GrpWise.exe (14. Dec) we can no longer open messages from shared folders – GrpWise just closes.

            There is a problem with formativ and the following registry keys:
            HKEY_LOCAL_MACHINESOFTWARENovellGroupWise5.0C3PODataTypesGW.MESSAGE.MAILAdvansys.formativEvents
            (I believe with other message types the problem persists)

            If remove the key ‘…Advansys.formativEventsGW#C#OPEN and restart GroupWise the issue is gone for this session. Unfortunately this key gets recreated automatically and the problem is back on the next start.

            Please note: The problem exists also if a user has local admin rights.

            One time we have seen the following error message:
            ‘Exception: Access violation at address 02BAA1BA in module ‘formativ.dll’. Read of address 00000004, Context: GW.MESSAGE.MAIL Persist ID: GW#C#OPEN’

            Stephan

            in reply to: Applet not executed on OnSend when replying #7800
            Immi
            Participant

              Hi!

              You are correct – the latest GroupWise from Dec. 14th does fix the issue.

              Thanks

              Stephan

              in reply to: GroupWise Client no longer refreshing / F5 needed #7479
              Immi
              Participant

                Hi!

                I have gone the elimination path. Even if my applet is the only active applet, I get the error described.

                I have sent the source code to Support@advansyscorp.com so you can try to reproduce the error.

                Regards

                Stephan

                in reply to: GroupWise Client no longer refreshing / F5 needed #7478
                Immi
                Participant

                  Hi MA

                  >> Use utilities.doevents …
                  Why would this make any change? The problematic applet only gets run when the user presses the send button.

                  The client does not even get refreshed in normal idle operation.

                  Stephan

                  in reply to: ExpandedRecipients #7425
                  Immi
                  Participant

                    Hi,

                    Yes, I have tries using
                    GroupWise.AddressBookResolveFullName()

                    But that’s no good for me. GroupWise.AddressBookResolveFullName() is only working through the address books that are included in the NameCompletionSearchOrder list.

                    Let’s assume this: You click reply on a message from ‘John Doe <john.doe@something.com> (John Doe is not in any address books)

                    In the To: field you will see ‘Doe, John <something.com>’.

                    Unfortunatly Msg.To_ will ony return ‘Doe, John’ and the true internet address missing.

                    There is no way I can resolve the internet address for him using GroupWise.AddressBookResolveFullName().

                    Can you tell me what API call Formativ is using for retrieving the value of the Msg.To_ field?

                    Stephan

                    in reply to: ExpandedRecipients #7427
                    Immi
                    Participant

                      Hi!

                      I have acome one intresting fact:

                      The Formativ statements CurrentItem.To_, CurrentItem.CC and CurrentItem.BC do actually do a full address book resolution.

                      Thats how I detected this:

                      1. Add simple code to an ‘before OnSend’ applet

                      Sub Main(Client, GWEvent)
                      Set Msg = GroupWise.ComposingItem
                      If Msg.To_ & Msg.CC & Msg.BC = “” Then Exit Sub ‘ No recipients
                      … your code here…
                      Exit Sub

                      2. Create a new message with only INVALID address (e.g. asdfg) in the To line and press send. You will get an address resolution error dialog!

                      Unfortunately there is no way of retrieving the just resolved addresses… any chances to implement this in a future version of formativ?

                      Stephan

                      in reply to: HowTo re-enable the save draft folder dialog #7458
                      Immi
                      Participant

                        Hi!

                        GroupWise.ItemSaveMessageDlg()or GroupWise.ItemSaveMessageDraft(“”) are ways to save the draft message (again).

                        However I need the ‘Select folder’ dialog activated again, so I can say where where I want o save the new draft message to be stored.

                        Background: In order to have access to the ExpandedRecipient property I need to save the message as a
                        draft message in the ‘work in progress folder’. I do this per ItemSaveMessageDraft(Work In Progress Folder).

                        So far no problem.

                        I now access the ExpandedProperties with an OnSend-applet. If the user decides NOT to send the message he gets redirected to the open message.

                        Now it’s time to remove the left over draft message since the user should not notice the trick with the draft message.

                        That’s where the trouble starts: Since the message was once stored (and later removed from the ‘work in progress folder’), a subsequent click on the save button just saves the message in the mailbox folder (root folder?). How can I make the ‘Select folder’ popup again on the ‘save draft msg’ button so the user can specify where to save the draft message?

                        Stephan

                        in reply to: HowTo re-enable the save draft folder dialog #7457
                        Immi
                        Participant

                          >>(i.e. add a space to the subject, then remove it) which might cause the client to recognise the message as requiring a resave.

                          This just makes the ‘save button’ active again.
                          However I need the ‘folder dialog’ to reappear so that I can save the msg to the folder of my choice.
                          Maybe I have to unlink the msg from all folders. How would I do this?

                          Stephan

                          in reply to: Proxy and BC field on resend message #7385
                          Immi
                          Participant

                            Good to know!

                            in reply to: ExpandedRecipients #7433
                            Immi
                            Participant

                              Hi!

                              I have used some of your sample code with limited success.

                              ‘iWIPPath = GroupWise.Account.Owner.DisplayName & “” & GroupWise.Account.WorkFolder.Name’

                              If the workFolder is in a subfolder, then it fails. How can I build a complete folder-path for ‘groupwise.ItemSaveMessageDraft(iWIPPath)’ ?

                              BTW: The help-file does not contain a section ‘GroupWise.FolderCreate’

                              TIA
                              Stephan

                              in reply to: Redirecting Fomativ directories #7420
                              Immi
                              Participant

                                Hi

                                I have the following reg keys:
                                ‘HKEY_CURRENT_USERSoftwareAdvansys Corporationformativ1.0Settings’
                                “Encoded Applets Output”=”H:\My Documents\”
                                “Flexalock Applet Output”=”H:\My Documents\”
                                “Applet Cache”=”H:\My Documents\”
                                “Flexalock Output”=”C:\Program Files\Advansys\Formativ\Applets\Flexalock Output”
                                “Encoded Macros”=”C:\Program Files\Advansys\Formativ\Applets\Encoded Output”
                                “Add Help Menu Items”=dword:00000000
                                “Data”=”H:\My Documents\”
                                “Debug”=dword:00000000
                                “Exception Countdown”=dword:00000000
                                “Exception Dialog”=dword:00000001
                                “Force Toolbar Wrap”=dword:00000001
                                “Help Centre Home”=”http://www.advansys.info/formativ_helpcenter.htm&#8221;
                                “Help Centre Last Shown”=dword:00000000
                                “Help Centre Reminder”=dword:00000007
                                “Include Groups in Discovery”=dword:00000000
                                “LDAP Allow Anon Login”=dword:00000000
                                “LDAP Automated Login”=dword:00000000
                                “LDAP Cache All”=dword:00000000
                                “LDAP Certificate”=””
                                “LDAP Default Password”=””
                                “LDAP Default Port”=dword:00000185
                                “LDAP Default Port SSL”=dword:0000027c
                                “LDAP Ignore Bind Failure”=dword:00000000
                                “LDAP Port”=dword:00000185
                                “LDAP Port SSL”=dword:0000027c
                                “LDAP Save Password”=dword:00000001
                                “LDAP Server”=””
                                “LDAP Server Requires Logon”=dword:00000001
                                “LDAP SSL”=dword:00000000
                                “LDAP Use Default Password”=dword:00000000
                                “LDAP Use Default Username”=dword:00000000
                                “LDAP Username”=””
                                “Library Backup”=””
                                “Local Scripts”=”C:\Program Files\Advansys\Formativ\Applets\”
                                “Macro Hints”=dword:00000001
                                “Max Traversal”=dword:0000000a
                                “Menu Caption”=”A&pplets”
                                “Mode”=dword:00000005
                                “No Solutions Warning”=dword:00000000
                                “Portal Folder Deleted”=dword:00000000
                                “Portal Folder Enabled”=dword:00000000
                                “Portal Folder Name”=”Formativ Portals”
                                “Protocol Order”=dword:00000000
                                “Protocol Override”=dword:00000000
                                “Redirect Associations”=dword:00000000
                                “TLS Mode”=dword:00000000
                                “Word Limit”=dword:00000000
                                “Word Limit Count”=dword:00000002
                                “Code Explorer”=dword:00000069
                                “Current Line”=dword:00000000
                                “Default Author”=”That’s me”
                                “Default Author Email”=”someone@somewhere.com”
                                “Default Author Phone”=”+123 456 789”
                                “Default Author URL”=”www.somewhere.ch”
                                “ListWidth”=dword:00000138
                                “WindowHeight”=dword:000003ec
                                “WindowLeft”=dword:fffffffc
                                “WindowState”=dword:00000002
                                “WindowTop”=dword:fffffffc
                                “WindowWidth”=dword:00000508
                                “Toolbar Limit Override”=””
                                “Help Centre Content Version”=dword:00000000
                                ‘HKEY_CURRENT_USERSoftwareAdvansys Corporationformativ1.0SettingsExceptions’
                                @=””

                                In the ‘HKEY_LOCAL_MACHINESoftwareAdvansys Corporation’ hive there is no reference to ‘H:My Documents’ what so ever.

                                And Formativ (Runtime 2.0) still creates
                                ‘H:My DocumentsAdvansysFormativEncoded Output’ and
                                ‘H:My DocumentsAdvansysFormativFlexalock Output’
                                upon startup…. what the heck???

                                There is no need for these directories (the will only bring up unnecessary questions and therefore cause helpdesk trouble).

                                Regards

                                Stephan

                                in reply to: Redirecting Fomativ directories #7416
                                Immi
                                Participant

                                  Hi!

                                  NOT working means:
                                  I cannot redirect the (at least) following 2 folders:
                                  ‘Encoded Macros’
                                  ‘Flexalock Output’

                                  Formativ is always creating to sub folders under the directory specified by ‘HKEY_CURRENT_USERSoftwareAdvansys Corporationformativ1.0SettingsData’

                                  BTW: I assume that all listed reg entries should by of type ‘string’.

                                  How can I avoid/redirect the creation of the 2 folders
                                  H:My DocumentsAdvansysFormativEncoded Output &
                                  H:My DocumentsAdvansysFormativFlexalock Output

                                  Please check you mailbox again – maybe my mails get blocked by a spam filter.

                                  Regards,
                                  Stephan

                                Viewing 15 replies - 1 through 15 (of 24 total)