I´d like to add an attachment to a new create mail in groupwise by pushing a custom button ("GW.MESSAGE"). The button is visible and works but I dont know which object i have to use.

I tryed with:

Dim objMessage As Object
Dim colMessageList As Object
colMessageList = g_C3POManager.ClientState
objMessage = colMessageList.CommandMessage

I don´t get the objMessage to use:


Any Idea?