PDA

View Full Version : Make Online Meeting using UCAddin.dll reference library



ChicagoMike
07-01-2014, 09:46 AM
Hello all,

I am on the final stage of this macro and all I have left to do is to make this olAppointmentItem into an online meeting. I have added Office Communicator W14 Type Library (UCAddIn.dll) as a reference library and am able to see what methods are available via the object browser. I am trying to call either createNewUCMeeting or MakeOnlineMeeting methods.

I can't figure out how to call either of them. The info is:
Function MakeOnlineMeeting(pBaseAppointmentItem As Object) As TestUCMeeting
Member of UCAddinLib.TestUCInterface
Turn an appointment to online meeting.

Function CreateNewUCMeeting() As TestUCMeeting
Member of UCAddinLib.TestUCInterface
method CreateNewUCMeeting


Based on that my code after I successfully have the outlook AppointmentItem:


Dim myItem As Object
Dim myRequiredAttendee, myOptionalAttendee, myResourceAttendee As Outlook.Recipient
Set myItem = Outlook.Application.CreateItem(olAppointmentItem)
Set myRequiredAttendee = myItem.Recipients.Add("emailaddress")
myRequiredAttendee.Type = olRequired

With myItem
.MeetingStatus = olMeeting
.Subject = "testing Online Meeting"
.Start = #9/24/2009 1:30:00 PM#
.duration = 60
.Display
End With

' Both of these get an error. I must be pretty far off.
MakeOnlineMeeting (myItem)
myItem.MakeOnlineMeeting



This doesnt work since myItem is an Object, when it should be TestUCMeeting.

Am I completely missing something? Maybe I am just not reading it correctly and since there is no documentation about how to call anything I am up against this wall. As well, can anyone enlighten me on how to better understand that Object Viewer descriptions?

Thanks in advance for your assistance.
Mike

SMS
12-17-2016, 03:39 AM
Hello Mike,

I am facing the same challenge as yours. Could you find the solution to resolve the issue? Please let me know if you have found the solution

Thanks in advance.




Hello all,

I am on the final stage of this macro and all I have left to do is to make this olAppointmentItem into an online meeting. I have added Office Communicator W14 Type Library (UCAddIn.dll) as a reference library and am able to see what methods are available via the object browser. I am trying to call either createNewUCMeeting or MakeOnlineMeeting methods.

I can't figure out how to call either of them. The info is:
Function MakeOnlineMeeting(pBaseAppointmentItem As Object) As TestUCMeeting
Member of UCAddinLib.TestUCInterface
Turn an appointment to online meeting.

Function CreateNewUCMeeting() As TestUCMeeting
Member of UCAddinLib.TestUCInterface
method CreateNewUCMeeting


Based on that my code after I successfully have the outlook AppointmentItem:


Dim myItem As Object
Dim myRequiredAttendee, myOptionalAttendee, myResourceAttendee As Outlook.Recipient
Set myItem = Outlook.Application.CreateItem(olAppointmentItem)
Set myRequiredAttendee = myItem.Recipients.Add("emailaddress")
myRequiredAttendee.Type = olRequired

With myItem
.MeetingStatus = olMeeting
.Subject = "testing Online Meeting"
.Start = #9/24/2009 1:30:00 PM#
.duration = 60
.Display
End With

' Both of these get an error. I must be pretty far off.
MakeOnlineMeeting (myItem)
myItem.MakeOnlineMeeting



This doesnt work since myItem is an Object, when it should be TestUCMeeting.

Am I completely missing something? Maybe I am just not reading it correctly and since there is no documentation about how to call anything I am up against this wall. As well, can anyone enlighten me on how to better understand that Object Viewer descriptions?

Thanks in advance for your assistance.
Mike