PC Review


Reply
Thread Tools Rate Thread

Meeting form questions

 
 
Scout Nibblet
Guest
Posts: n/a
 
      4th Nov 2005
I am using the following code to generate a prepopulated Meeting
Request. I would like to know how to accomplish the following;
- View the form and edit it before sending it along (add resources
etc.)
- Stop the security warning for sending email

I have used the display method, but I cannot get to the form as it is
behind the security dialog box

Thanks

Jeff

===========================================================
' Start Outlook.
' If it is already running, you'll use the same instance...
Dim olApp As Outlook.Application
Set olApp = CreateObject("Outlook.Application")

' Logon. Doesn't hurt if you are already running and logged on...
Dim olNs As Outlook.NameSpace
Set olNs = olApp.GetNamespace("MAPI")
olNs.Logon

Set myItem = olApp.CreateItem(olAppointmentItem)
myItem.MeetingStatus = olMeeting
myItem.Subject = "Strategy Meeting"
myItem.Location = "Conference Room B"
myItem.Start = #11/5/2005 1:30:00 PM#
myItem.Duration = 90
Set myRequiredAttendee =
myItem.Recipients.Add("(E-Mail Removed)")
myRequiredAttendee.Type = olRequired
Set myOptionalAttendee = myItem.Recipients.Add("Kevin Kennedy")
myOptionalAttendee.Type = olOptional
Set myResourceAttendee = _
myItem.Recipients.Add("Conference Room B")
myResourceAttendee.Type = olResource
myItem.Display
myItem.Send

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Form that asks questions based on responses to other Questions =?Utf-8?B?YWtrcnVn?= Microsoft Access Getting Started 3 6th Jul 2007 03:43 PM
Meeting form form for established membership Mark S Microsoft Access Forms 1 3rd Jul 2007 02:12 PM
Emailing Form information with Form questions asked not just resu. =?Utf-8?B?ZGF3Z3MxOTg4?= Microsoft Frontpage 2 28th Oct 2004 11:54 PM
Questions about Form.Invoke and Form.BeginInvoke Stephen Lamb Microsoft C# .NET 2 9th Oct 2004 04:13 PM
Meeting Request Form. Sagar Microsoft Outlook Form Programming 4 5th Jan 2004 07:15 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:58 PM.