Click to See Complete Forum and Search --> : Outlook Help - Please


softweng
June 15th, 2001, 01:25 PM
Can anyone tell me how to open the "New Meeting Request" form in Outlook 2000 from VB?
From Outlook you access it by going to the calendar and right clicking and selecting
"New Meeting Request" I need to do this from VB. I'm sure it can be done with API's or the
Outlook object library but I don't know how.
Thanks for any help!!!

Kris
Software Engineer
Phoenix,AZ

softweng
June 15th, 2001, 02:27 PM
I figured it out.

private Sub Command1_Click()
Dim olAPP as Outlook.Application
Dim olMeetReq as Outlook.AppointmentItem


set olAPP = new Outlook.Application

set olMeetReq = olAPP.CreateItem(olAppointmentItem)

olMeetReq.MeetingStatus = olMeeting

olMeetReq.Display

DoEvents

End Sub






Kris
Software Engineer
Phoenix,AZ