RSS Forums RSS
Please support our VB.NET advertiser: Programming Forums
Views: 7332 | Replies: 2 | Thread Tools  Display Modes
Reply
Join Date: Aug 2005
Posts: 6
Reputation: yoavgold is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
yoavgold yoavgold is offline Offline
Newbie Poster

Help create an appointment in outlook using VB.NET

  #1  
Sep 8th, 2005
Hi there,

Does anyone knows ho to create an appointment in outlook using VB.net ?

thanks :rolleyes:
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jul 2006
Posts: 1
Reputation: TlalocTev is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
TlalocTev TlalocTev is offline Offline
Newbie Poster

Re: create an appointment in outlook using VB.NET

  #2  
Jul 27th, 2006
One way is to use a CSV or CAL file, genereate it on the fly and send it as an atachment to someone or create a dynamic link on a web page for them to click on.

Tlaloc
Reply With Quote  
Join Date: Sep 2007
Posts: 5
Reputation: slavedogg is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
slavedogg's Avatar
slavedogg slavedogg is offline Offline
Newbie Poster

Re: create an appointment in outlook using VB.NET

  #3  
Nov 28th, 2007
Originally Posted by yoavgold View Post
Hi there,

Does anyone knows ho to create an appointment in outlook using VB.net ?

thanks :rolleyes:


Dim objOutlook As Outlook.Application
objOutlook = New Outlook.Application()
Dim objNS As Outlook.NameSpace = objOutlook.Session

'---------Write to Shared calendar-----------------
Dim objFolder As Outlook.MAPIFolder = objNS.Folders.Item("Public Folders")
objFolder = objFolder.Folders.Item("All Public Folders")
objFolder = objFolder.Folders.Item("Boss Calendar")



'=========Add appointment to calendar=================
Dim objApp As Outlook.AppointmentItem
objApp = objFolder.Items(Outlook.OlItemType.olAppointmentItem)

With objApp
.Subject = (" Test appointment")
.Location = "Main Office"
.Body = ("test appointment")
.Start = ("1:30pm 11/21/2007")
.Save()
End With
'\\\\\\\\\
Last edited by slavedogg : Nov 28th, 2007 at 2:26 pm. Reason: sloppy
_______
|} {} gg|
----------
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 6:47 pm.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC