CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2000
    Location
    Arizona, USA
    Posts
    493

    Outlook Help - Please

    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
    Kris
    Software Engineer
    Phoenix, AZ USA

  2. #2
    Join Date
    Mar 2000
    Location
    Arizona, USA
    Posts
    493

    Re: Outlook Help - Please

    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
    Kris
    Software Engineer
    Phoenix, AZ USA

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured