-
Topic
-
I am following along with some code from the help files to make a ‘print item list’ applet. Using the example code I can get the selectedmessages and access properties of each. The problem comes when I try to access a property that isn’t available for that message type (like ‘Place’ in an email message). Here is the code from the help text:
Dim objMsg
‘ Find out how many items are selected in GroupWise
iCount = Client.ClientState.SelectedMessages.Count‘ If any are selected, access each one
If iCount > 0 Then
For x = 1 To iCount
‘ get the message
Set objMsg = Client.ClientState.SelectedMessages.Item(x)— end snip
How do I test the objMsg to determine if it is an appointment, task, note, email, etc.?
Thanks,
Brian
- You must be logged in to reply to this topic.