Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Script to create appointment in Outlook

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,1194
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Script to create appointment in Outlook
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Script to create appointment in Outlook - 7/28/2004 10:13:22 PM   
  poly_paparas

 

Posts: 1
Score: 0
Joined: 7/28/2004
From: Greece
Status: offline
Hi,

I am buidling a database solution using Filemaker Pro 7 and I want to be able to send appointments to Outlook Calendar.
I have been trying to use a script from within Filemaker that creates a Visual Basic Script which is then run to create the appointment in Outlook.
The problem is that although when Outlook is already running this work well, if Outlook is not already open, it crashes...

I am attaching the vb script created by my database for any advise.

Dim App
Dim Appmt
Set App = CreateObject("Outlook.application")
Set Appmt = App.CreateItem(1)
Appmt.Subject = "test apptm"
Appmt.Body = "testing testing"+chr(13)
Appmt.Start = "30/7/2004 9 AM"
Appmt.End = "30/7/2004 10 AM"
Appmt.AllDayEvent = "false"
Appmt.Save
Set Appmt = Nothing
Set App = Nothing



I am using FM Pro 7 Dev and Outlook 2003


Many thanks for any help
Poly
 
 
Post #: 1
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Script to create appointment in Outlook Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts