We have just switched from Groupwise 7 to Groupwise 8 and so I installed Formativ V2.02 Beta.
Most of our applets are running well but one is not working anymore. This applet is using the .Attachement.Add method with a selected message in Groupwise.
Is this an error in Formativ V2.02 Beta?
Or an error in Groupwise 8?
Or is there an change in the GW8 interface?
I have break down the applet into a short example reproducing the bug very easily:
Sub Main(Client, GWEvent)
On Error Resume Next
Set Msg = Client.ClientState.CommandMessage
If Msg Is Nothing Then
On Error Goto 0
set MyNewTask = GroupWise.Account.Calendar.Messages.Add(“GW.MESSAGE.TASK”, fgwPersonal)
‘.FromText = GroupWise.Account.Owner.DisplayName
.FromText = Msg.FromText
‘.OnCalendar = FALSE
‘.Priority = fgwNormal
.AssignedDate = today
.StartDate = today
.DueDate = today
‘.Completed = FALSE
.Subject = “New job”
.TaskCategory = “A”
.TaskPriority = 1
.Attachments.Add(Msg) ‘ <<— Error
set MyNewtask = nothing
Set Msg = nothing
- You must be logged in to reply to this topic.