By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,658 Members | 1,519 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,658 IT Pros & Developers. It's quick & easy.

Create an Outlook Appointment

P: n/a
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
Share this Question
Share on Google+
6 Replies


P: n/a
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
"chuckdfoster" <ch**********@hotmail.com> wrote in message
news:uM**************@TK2MSFTNGP12.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

P: n/a
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_darkfalz.com> wrote in message
news:O%****************@TK2MSFTNGP12.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
"chuckdfoster" <ch**********@hotmail.com> wrote in message
news:uM**************@TK2MSFTNGP12.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

P: n/a
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
"chuckdfoster" <ch**********@hotmail.com> wrote in message
news:u5**************@TK2MSFTNGP12.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_darkfalz.com> wrote in message
news:O%****************@TK2MSFTNGP12.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
"chuckdfoster" <ch**********@hotmail.com> wrote in message
news:uM**************@TK2MSFTNGP12.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

P: n/a
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_darkfalz.com> wrote in message
news:%2****************@tk2msftngp13.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
"chuckdfoster" <ch**********@hotmail.com> wrote in message
news:u5**************@TK2MSFTNGP12.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_darkfalz.com> wrote in message
news:O%****************@TK2MSFTNGP12.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
"chuckdfoster" <ch**********@hotmail.com> wrote in message
news:uM**************@TK2MSFTNGP12.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

P: n/a
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
"chuckdfoster" <ch**********@hotmail.com> wrote in message
news:eG**************@tk2msftngp13.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_darkfalz.com> wrote in message
news:%2****************@tk2msftngp13.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
"chuckdfoster" <ch**********@hotmail.com> wrote in message
news:u5**************@TK2MSFTNGP12.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_darkfalz.com> wrote in message
> news:O%****************@TK2MSFTNGP12.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
>>
>>
>> "chuckdfoster" <ch**********@hotmail.com> wrote in message
>> news:uM**************@TK2MSFTNGP12.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

P: n/a
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 yyyymmddThhmmssZ (greenwich time).
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) 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:20041223T143000Z" & vbCrLf & _

"DTEND:20041223T150000Z" & vbCrLf & _

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

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

"SUMMARY;ENCODING=QUOTED-PRINTABLE:Financial Call Team
Turnover Meeting" & vbCrLf & _

"PRIORITY:3" & vbCrLf & _

"End : VEVENT" & vbCrLf & _

"End : VCALENDAR"

Response.ContentType = "text/x-vCalendar"

Response.AddHeader("Content-Disposition", "filename=Event1" &
".vcs;")

Response.Write(strFile)

Response.End()

End Sub
"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:%2****************@TK2MSFTNGP10.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
"chuckdfoster" <ch**********@hotmail.com> wrote in message
news:eG**************@tk2msftngp13.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_darkfalz.com> wrote in message
news:%2****************@tk2msftngp13.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
"chuckdfoster" <ch**********@hotmail.com> wrote in message
news:u5**************@TK2MSFTNGP12.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_darkfalz.com> wrote in message
> news:O%****************@TK2MSFTNGP12.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
>>
>>
>> "chuckdfoster" <ch**********@hotmail.com> wrote in message
>> news:uM**************@TK2MSFTNGP12.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 discussion thread is closed

Replies have been disabled for this discussion.