473,669 Members | 2,372 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Create an Outlook Appointment

Is there a way to create an New Outlook Appointment from an ASP.NET
application? I would also need to check if Outlook is running first. Any
suggestions, advice?
Nov 19 '05 #1
6 5904
I suggest an easier route. Create an .ICS file that the user simply
imports/executes to add it to their client outlook settings.

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"chuckdfost er" <ch**********@h otmail.com> wrote in message
news:uM******** ******@TK2MSFTN GP12.phx.gbl...
Is there a way to create an New Outlook Appointment from an ASP.NET
application? I would also need to check if Outlook is running first. Any
suggestions, advice?

Nov 19 '05 #2
Could you give me some code to get me started. I understand what a ICS file
looks like, but how do you get it to save to the client's PC? Is there a
way to do it withou them being prompted to Save,Open, Cancel? Thanks for
your help.
"Curt_C [MVP]" <software_AT_da rkfalz.com> wrote in message
news:O%******** ********@TK2MSF TNGP12.phx.gbl. ..
I suggest an easier route. Create an .ICS file that the user simply
imports/executes to add it to their client outlook settings.

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"chuckdfost er" <ch**********@h otmail.com> wrote in message
news:uM******** ******@TK2MSFTN GP12.phx.gbl...
Is there a way to create an New Outlook Appointment from an ASP.NET
application? I would also need to check if Outlook is running first. Any suggestions, advice?


Nov 19 '05 #3
You dont... What I mean is generate it on your server and feed it up, let
the client choose to save or execute it (import)

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"chuckdfost er" <ch**********@h otmail.com> wrote in message
news:u5******** ******@TK2MSFTN GP12.phx.gbl...
Could you give me some code to get me started. I understand what a ICS
file
looks like, but how do you get it to save to the client's PC? Is there a
way to do it withou them being prompted to Save,Open, Cancel? Thanks for
your help.
"Curt_C [MVP]" <software_AT_da rkfalz.com> wrote in message
news:O%******** ********@TK2MSF TNGP12.phx.gbl. ..
I suggest an easier route. Create an .ICS file that the user simply
imports/executes to add it to their client outlook settings.

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"chuckdfost er" <ch**********@h otmail.com> wrote in message
news:uM******** ******@TK2MSFTN GP12.phx.gbl...
> Is there a way to create an New Outlook Appointment from an ASP.NET
> application? I would also need to check if Outlook is running first. Any > suggestions, advice?
>
>



Nov 19 '05 #4
Can you give me insight as to how the whole process works and what happens
where? As you can tell, I haven't been developing ASP.NET for very long (a
few months). I apoligize for the inexperiece.
"Curt_C [MVP]" <software_AT_da rkfalz.com> wrote in message
news:%2******** ********@tk2msf tngp13.phx.gbl. ..
You dont... What I mean is generate it on your server and feed it up, let
the client choose to save or execute it (import)

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"chuckdfost er" <ch**********@h otmail.com> wrote in message
news:u5******** ******@TK2MSFTN GP12.phx.gbl...
Could you give me some code to get me started. I understand what a ICS
file
looks like, but how do you get it to save to the client's PC? Is there a way to do it withou them being prompted to Save,Open, Cancel? Thanks for your help.
"Curt_C [MVP]" <software_AT_da rkfalz.com> wrote in message
news:O%******** ********@TK2MSF TNGP12.phx.gbl. ..
I suggest an easier route. Create an .ICS file that the user simply
imports/executes to add it to their client outlook settings.

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"chuckdfost er" <ch**********@h otmail.com> wrote in message
news:uM******** ******@TK2MSFTN GP12.phx.gbl...
> Is there a way to create an New Outlook Appointment from an ASP.NET
> application? I would also need to check if Outlook is running first.

Any
> suggestions, advice?
>
>



Nov 19 '05 #5
Look at creating a text file (that's all it is). There are plenty of sample
on the net. Just google it or hit www.asp.net for plenty of examples.

No worries on being new, we all were at one point.

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"chuckdfost er" <ch**********@h otmail.com> wrote in message
news:eG******** ******@tk2msftn gp13.phx.gbl...
Can you give me insight as to how the whole process works and what happens
where? As you can tell, I haven't been developing ASP.NET for very long
(a
few months). I apoligize for the inexperiece.
"Curt_C [MVP]" <software_AT_da rkfalz.com> wrote in message
news:%2******** ********@tk2msf tngp13.phx.gbl. ..
You dont... What I mean is generate it on your server and feed it up, let
the client choose to save or execute it (import)

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"chuckdfost er" <ch**********@h otmail.com> wrote in message
news:u5******** ******@TK2MSFTN GP12.phx.gbl...
> Could you give me some code to get me started. I understand what a ICS
> file
> looks like, but how do you get it to save to the client's PC? Is there a > way to do it withou them being prompted to Save,Open, Cancel? Thanks for > your help.
>
>
> "Curt_C [MVP]" <software_AT_da rkfalz.com> wrote in message
> news:O%******** ********@TK2MSF TNGP12.phx.gbl. ..
>> I suggest an easier route. Create an .ICS file that the user simply
>> imports/executes to add it to their client outlook settings.
>>
>> --
>> Curt Christianson
>> Owner/Lead Developer, DF-Software
>> Site: http://www.Darkfalz.com
>> Blog: http://blog.Darkfalz.com
>>
>>
>> "chuckdfost er" <ch**********@h otmail.com> wrote in message
>> news:uM******** ******@TK2MSFTN GP12.phx.gbl...
>> > Is there a way to create an New Outlook Appointment from an ASP.NET
>> > application? I would also need to check if Outlook is running
>> > first.
> Any
>> > suggestions, advice?
>> >
>> >
>>
>>
>
>



Nov 19 '05 #6
I found it on the web. I found the sample code at
http://www.devx.com/getHelpOn/10Minu...20508/0/page/4

For anyone who needs it, here is my code....For DTSTART and DTEND the value
is yyyymmddThhmmss Z (greenwich time).
Private Sub Button1_Click(B yVal sender As System.Object, ByVal e As
System.EventArg s) Handles Button1.Click

Dim strFile As String

Dim strvCalendar

strFile = "BEGIN : VCALENDAR" & vbCrLf & _

"PRODID:-//Microsoft Corporation//Outlook 11.0 MIMEDIR//EN"
& vbCrLf & _

"VERSION:1. 0" & vbCrLf & _

"BEGIN : VEVENT" & vbCrLf & _

"DTSTART:200412 23T143000Z" & vbCrLf & _

"DTEND:20041223 T150000Z" & vbCrLf & _

"LOCATION;ENCOD ING=QUOTED-PRINTABLE:IT Conference Room" &
vbCrLf & _

"DESCRIPTION;EN CODING=QUOTED-PRINTABLE:The team has voted to
have Turnover" & vbCrLf & _

"SUMMARY;ENCODI NG=QUOTED-PRINTABLE:Finan cial Call Team
Turnover Meeting" & vbCrLf & _

"PRIORITY:3 " & vbCrLf & _

"End : VEVENT" & vbCrLf & _

"End : VCALENDAR"

Response.Conten tType = "text/x-vCalendar"

Response.AddHea der("Content-Disposition", "filename=Event 1" &
".vcs;")

Response.Write( strFile)

Response.End()

End Sub
"Curt_C [MVP]" <software_AT_da rkfalz.com> wrote in message
news:%2******** ********@TK2MSF TNGP10.phx.gbl. ..
Look at creating a text file (that's all it is). There are plenty of sample on the net. Just google it or hit www.asp.net for plenty of examples.

No worries on being new, we all were at one point.

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"chuckdfost er" <ch**********@h otmail.com> wrote in message
news:eG******** ******@tk2msftn gp13.phx.gbl...
Can you give me insight as to how the whole process works and what happens where? As you can tell, I haven't been developing ASP.NET for very long
(a
few months). I apoligize for the inexperiece.
"Curt_C [MVP]" <software_AT_da rkfalz.com> wrote in message
news:%2******** ********@tk2msf tngp13.phx.gbl. ..
You dont... What I mean is generate it on your server and feed it up, let the client choose to save or execute it (import)

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"chuckdfost er" <ch**********@h otmail.com> wrote in message
news:u5******** ******@TK2MSFTN GP12.phx.gbl...
> Could you give me some code to get me started. I understand what a ICS > file
> looks like, but how do you get it to save to the client's PC? Is there
a
> way to do it withou them being prompted to Save,Open, Cancel? Thanks

for
> your help.
>
>
> "Curt_C [MVP]" <software_AT_da rkfalz.com> wrote in message
> news:O%******** ********@TK2MSF TNGP12.phx.gbl. ..
>> I suggest an easier route. Create an .ICS file that the user simply
>> imports/executes to add it to their client outlook settings.
>>
>> --
>> Curt Christianson
>> Owner/Lead Developer, DF-Software
>> Site: http://www.Darkfalz.com
>> Blog: http://blog.Darkfalz.com
>>
>>
>> "chuckdfost er" <ch**********@h otmail.com> wrote in message
>> news:uM******** ******@TK2MSFTN GP12.phx.gbl...
>> > Is there a way to create an New Outlook Appointment from an

ASP.NET >> > application? I would also need to check if Outlook is running
>> > first.
> Any
>> > suggestions, advice?
>> >
>> >
>>
>>
>
>



Nov 19 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1739
by: Jeff Mikels | last post by:
Here is a python script to synchronize Palm Desktop Datebook files with Outlook's Calendar I'm releasing it under the Python license as version 0.1. -------------------------------------------------------------------------------- ''' palm2Outlook.py
0
9090
by: Akira | last post by:
Could someone tell me how to send outlook appointment email from asp page? I would like appointment email just like one outlook can send out. I tried to look for an answer for this, but it seems exchange server has to be installed on web server if I want to use the following code?? Is there way to send outlook appointment email without using outlook.Application object? If not, how can I make the code below work since we have separate...
2
6352
by: Kamyk | last post by:
Hello all! I have created a function in VB which generate appointment in Outlook. Everything is OK, except one thing. I cannot send it automatically using a button in Access, because I don`t know what is the code to send it automatically. I noticed that if I click on Calendar>"click on selected appointment">menu>Appointment>Invite Atendees everything is going well and this appointment is sent to attendees given on the list. My question...
1
4309
by: mal_lori | last post by:
Hello, I have basic code to Creat an Outlook appointment and add Access Data. (code below) This works to add appointments to the basic calendar in my user folder. However I wish to add it to a Calendar that resides in Public folder. Any advice or resources on how to do this? The "address" is .... Public Folders...All Public Folders...CommonRanchCalendar
0
2854
by: saurabhaggarwal | last post by:
Hi Suppose there is backend that stores all the appointments that are currently there in outlook. The job of my plugin is to add all the appointments that are there in outlook back to the database and if there is any appointment in database but not in outlook then plugin adds that appointment to the outlook.
1
2515
by: jodyblau | last post by:
I am using the code provided by MSDN to set an appointment on my Outlook. However, I would like to adjust this code so that instead of setting the appointment on in Outlook on my computer, it places it in Outlook on a different computer on the network. Here is the code sample from MSDN; any suggestions on how I might accomplish my goal? Private Sub cmdAddAppt_Click() On Error GoTo Add_Err 'Save record first to be sure required fields...
2
4266
by: daruse712 | last post by:
Hi there, I'm writing a function to search through a calendar to find any conflicting meeting times for the appointment recently recieved. Heres the code: Private Function isConflict(appt As Outlook.AppointmentItem) As Boolean Dim strFind As String Dim foundAppt As Outlook.AppointmentItem 'string for a conflicting appointment 'calItem.start <= appt.start < calItem.end - appointment starts between an existing...
1
6155
by: GraemeC | last post by:
I have a database that is used to book venues and assign people to those venues. The person doing the booking can send an appointment request from Access to an individuals Outlook calendar. This part of the system works fine. I can also send a cancelled appointment request from Access to the same individual for the same appointment but for some reason Outlook is not recognising the cancel request as being for the original appointment so when...
0
1146
by: swdesh | last post by:
Hi I am creating one outlook add-in using VSTO 2005 SE. I need to track all appointment event. I have used the following code.. Private Sub initializeEvent() Dim olFolder As Outlook.Folder = Nothing Dim olCalendarFolder As Outlook.MAPIFolder Dim olItems As Items olCalendarFolder = olNS.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderCalendar) olFolder = DirectCast(olCalendarFolder,...
0
8894
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8803
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8587
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8658
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7407
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6210
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4206
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4384
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2029
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.