473,320 Members | 1,933 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

I need to be able to use Outlook from aspx

I need some help.

I have a group of attorneys that need to be able to see
the schedule of court dates. These dates are scheduled by
the legal assistants.

This is what I need:

when a legal assistant schedules a court date I need that
date to be added to each attorney's outlook calendar when
the legal assistant adds it to the case calendar.

the case calendar can be the calendar control linked to a
database.

I have tried to access the outlook calendar but I can not
even get the outlook object to instantiate.

Here is my code so far:

Dim objOutlook As Outlook.Application
Dim objNamespace As Outlook.NameSpace
Dim objContactFolder As Outlook.MAPIFolder

objOutlook = New Outlook.Application
objNamespace = objOutlook.GetNamespace("MAPI")
I get an error at the "New Outlook.Application" line
above. The error states that "Server execution failed".

Can anyone please help?

Thanks
enak

Nov 17 '05 #1
6 1919
Check out the Exchange 2003 SDK. There's a sample application in there
called Issue Tracking.
They have code to interact with all the Exchange folders.

"enak" <an*******@discussions.microsoft.com> wrote in message
news:00****************************@phx.gbl...
I need some help.

I have a group of attorneys that need to be able to see
the schedule of court dates. These dates are scheduled by
the legal assistants.

This is what I need:

when a legal assistant schedules a court date I need that
date to be added to each attorney's outlook calendar when
the legal assistant adds it to the case calendar.

the case calendar can be the calendar control linked to a
database.

I have tried to access the outlook calendar but I can not
even get the outlook object to instantiate.

Here is my code so far:

Dim objOutlook As Outlook.Application
Dim objNamespace As Outlook.NameSpace
Dim objContactFolder As Outlook.MAPIFolder

objOutlook = New Outlook.Application
objNamespace = objOutlook.GetNamespace("MAPI")
I get an error at the "New Outlook.Application" line
above. The error states that "Server execution failed".

Can anyone please help?

Thanks
enak

Nov 17 '05 #2
I can not find just the application. Where can I get it
without downloading the Exchange 2003 Server?
-----Original Message-----
Check out the Exchange 2003 SDK. There's a sample application in therecalled Issue Tracking.
They have code to interact with all the Exchange folders.

"enak" <an*******@discussions.microsoft.com> wrote in messagenews:00****************************@phx.gbl...
I need some help.

I have a group of attorneys that need to be able to see
the schedule of court dates. These dates are scheduled by the legal assistants.

This is what I need:

when a legal assistant schedules a court date I need that date to be added to each attorney's outlook calendar when the legal assistant adds it to the case calendar.

the case calendar can be the calendar control linked to a database.

I have tried to access the outlook calendar but I can not even get the outlook object to instantiate.

Here is my code so far:

Dim objOutlook As Outlook.Application
Dim objNamespace As Outlook.NameSpace
Dim objContactFolder As Outlook.MAPIFolder

objOutlook = New Outlook.Application
objNamespace = objOutlook.GetNamespace("MAPI")
I get an error at the "New Outlook.Application" line
above. The error states that "Server execution failed".

Can anyone please help?

Thanks
enak

.

Nov 17 '05 #3
You're not downloading Exchange 2003 Server, just the SDK

http://www.microsoft.com/downloads/d...displaylang=en
"enak" <an*******@discussions.microsoft.com> wrote in message
news:00****************************@phx.gbl...
I can not find just the application. Where can I get it
without downloading the Exchange 2003 Server?
-----Original Message-----
Check out the Exchange 2003 SDK. There's a sample

application in there
called Issue Tracking.
They have code to interact with all the Exchange folders.

"enak" <an*******@discussions.microsoft.com> wrote in

message
news:00****************************@phx.gbl...
I need some help.

I have a group of attorneys that need to be able to see
the schedule of court dates. These dates are scheduled by the legal assistants.

This is what I need:

when a legal assistant schedules a court date I need that date to be added to each attorney's outlook calendar when the legal assistant adds it to the case calendar.

the case calendar can be the calendar control linked to a database.

I have tried to access the outlook calendar but I can not even get the outlook object to instantiate.

Here is my code so far:

Dim objOutlook As Outlook.Application
Dim objNamespace As Outlook.NameSpace
Dim objContactFolder As Outlook.MAPIFolder

objOutlook = New Outlook.Application
objNamespace = objOutlook.GetNamespace("MAPI")
I get an error at the "New Outlook.Application" line
above. The error states that "Server execution failed".

Can anyone please help?

Thanks
enak

.

Nov 17 '05 #4
does the server that this is going to run on have to have
Exchange 2003 or can I do what I want to do with just the
SDK or none of Exchange 2003?
-----Original Message-----
You're not downloading Exchange 2003 Server, just the SDK

http://www.microsoft.com/downloads/details.aspx? FamilyId=AAA9FEE9-426E-4437-BF3E-
5A098D5F9A08&displaylang=en"enak" <an*******@discussions.microsoft.com> wrote in messagenews:00****************************@phx.gbl...
I can not find just the application. Where can I get it
without downloading the Exchange 2003 Server?
>-----Original Message-----
>Check out the Exchange 2003 SDK. There's a sample

application in there
>called Issue Tracking.
>They have code to interact with all the Exchange folders. >
>"enak" <an*******@discussions.microsoft.com> wrote in

message
>news:00****************************@phx.gbl...
>> I need some help.
>>
>> I have a group of attorneys that need to be able to see >> the schedule of court dates. These dates are scheduled
by
>> the legal assistants.
>>
>> This is what I need:
>>
>> when a legal assistant schedules a court date I need

that
>> date to be added to each attorney's outlook calendar

when
>> the legal assistant adds it to the case calendar.
>>
>> the case calendar can be the calendar control linked
to a
>> database.
>>
>> I have tried to access the outlook calendar but I can

not
>> even get the outlook object to instantiate.
>>
>> Here is my code so far:
>>
>> Dim objOutlook As Outlook.Application
>> Dim objNamespace As Outlook.NameSpace
>> Dim objContactFolder As Outlook.MAPIFolder
>>
>> objOutlook = New Outlook.Application
>> objNamespace = objOutlook.GetNamespace("MAPI")
>>
>>
>> I get an error at the "New Outlook.Application" line
>> above. The error states that "Server execution

failed". >>
>> Can anyone please help?
>>
>> Thanks
>> enak
>>
>
>
>.
>

.

Nov 17 '05 #5
No, what you're basically doing is using HTTP to do a WebDav query to
exchange.
Your exchange server doesn't have to be 2003.

Only reason I pointed you towards the SDK, is that the Issue Tracking sample
application is the only good C# example I've seen that shows ASPX
integrating with Exchange

"enak" <an*******@discussions.microsoft.com> wrote in message
news:00****************************@phx.gbl...
does the server that this is going to run on have to have
Exchange 2003 or can I do what I want to do with just the
SDK or none of Exchange 2003?
-----Original Message-----
You're not downloading Exchange 2003 Server, just the SDK

http://www.microsoft.com/downloads/details.aspx?

FamilyId=AAA9FEE9-426E-4437-BF3E-
5A098D5F9A08&displaylang=en
"enak" <an*******@discussions.microsoft.com> wrote in

message
news:00****************************@phx.gbl...
I can not find just the application. Where can I get it
without downloading the Exchange 2003 Server?

>-----Original Message-----
>Check out the Exchange 2003 SDK. There's a sample
application in there
>called Issue Tracking.
>They have code to interact with all the Exchange folders. >
>"enak" <an*******@discussions.microsoft.com> wrote in
message
>news:00****************************@phx.gbl...
>> I need some help.
>>
>> I have a group of attorneys that need to be able to see >> the schedule of court dates. These dates are scheduled by
>> the legal assistants.
>>
>> This is what I need:
>>
>> when a legal assistant schedules a court date I need
that
>> date to be added to each attorney's outlook calendar
when
>> the legal assistant adds it to the case calendar.
>>
>> the case calendar can be the calendar control linked to a
>> database.
>>
>> I have tried to access the outlook calendar but I can
not
>> even get the outlook object to instantiate.
>>
>> Here is my code so far:
>>
>> Dim objOutlook As Outlook.Application
>> Dim objNamespace As Outlook.NameSpace
>> Dim objContactFolder As Outlook.MAPIFolder
>>
>> objOutlook = New Outlook.Application
>> objNamespace = objOutlook.GetNamespace("MAPI")
>>
>>
>> I get an error at the "New Outlook.Application" line
>> above. The error states that "Server execution failed". >>
>> Can anyone please help?
>>
>> Thanks
>> enak
>>
>
>
>.
>

.

Nov 17 '05 #6
OK, Thanks.
-----Original Message-----
No, what you're basically doing is using HTTP to do a WebDav query toexchange.
Your exchange server doesn't have to be 2003.

Only reason I pointed you towards the SDK, is that the Issue Tracking sampleapplication is the only good C# example I've seen that shows ASPXintegrating with Exchange

"enak" <an*******@discussions.microsoft.com> wrote in messagenews:00****************************@phx.gbl...
does the server that this is going to run on have to have Exchange 2003 or can I do what I want to do with just the SDK or none of Exchange 2003?
>-----Original Message-----
>You're not downloading Exchange 2003 Server, just the SDK >
>http://www.microsoft.com/downloads/details.aspx?

FamilyId=AAA9FEE9-426E-4437-BF3E-
5A098D5F9A08&displaylang=en
>"enak" <an*******@discussions.microsoft.com> wrote in

message
>news:00****************************@phx.gbl...
>> I can not find just the application. Where can I get it >> without downloading the Exchange 2003 Server?
>>
>> >-----Original Message-----
>> >Check out the Exchange 2003 SDK. There's a sample
>> application in there
>> >called Issue Tracking.
>> >They have code to interact with all the Exchange

folders.
>> >
>> >"enak" <an*******@discussions.microsoft.com> wrote in >> message
>> >news:00****************************@phx.gbl...
>> >> I need some help.
>> >>
>> >> I have a group of attorneys that need to be able to
see
>> >> the schedule of court dates. These dates are

scheduled
>> by
>> >> the legal assistants.
>> >>
>> >> This is what I need:
>> >>
>> >> when a legal assistant schedules a court date I
need >> that
>> >> date to be added to each attorney's outlook calendar >> when
>> >> the legal assistant adds it to the case calendar.
>> >>
>> >> the case calendar can be the calendar control linked to
>> a
>> >> database.
>> >>
>> >> I have tried to access the outlook calendar but I

can >> not
>> >> even get the outlook object to instantiate.
>> >>
>> >> Here is my code so far:
>> >>
>> >> Dim objOutlook As Outlook.Application
>> >> Dim objNamespace As Outlook.NameSpace
>> >> Dim objContactFolder As Outlook.MAPIFolder
>> >>
>> >> objOutlook = New Outlook.Application
>> >> objNamespace = objOutlook.GetNamespace("MAPI")
>> >>
>> >>
>> >> I get an error at the "New Outlook.Application" line >> >> above. The error states that "Server execution

failed".
>> >>
>> >> Can anyone please help?
>> >>
>> >> Thanks
>> >> enak
>> >>
>> >
>> >
>> >.
>> >
>
>
>.
>

.

Nov 17 '05 #7

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

Similar topics

5
by: Rod | last post by:
About two weeks ago I had an accident and have broken my left elbow and left wrist. For doing things like Word or e-mail (I use Outlook for) I have been using Microsoft's speech recognition and...
2
by: Bassel Tabbara | last post by:
I wrote the following code: oApp = new Outlook.Application(); oApp = new Outlook.Application(); oNameSpace= oApp.GetNamespace("MAPI"); oNameSpace.Logon(null,null,true,true); //gets defaultfolder...
9
by: George McCullen | last post by:
I have an Outlook 2003 using Exchange Server 2003 Public Contacts Folder containing 20,000 Contacts. I am writing a VB .Net 2003 program that loops through all the contacts in a "for each oCt in...
7
by: Chris Thunell | last post by:
I'm trying to loop through an exchange public folder contact list, get some information out of each item, and then put it into a vb.net datatable. I run though the code and all works fine until i...
0
by: ratnakarp | last post by:
Is there any way i can improve on this code? If i run this application by giving the detials of the start date and end date in the range of 15 days, it's taking 3 mins. I'm looking for a code...
4
by: Brian Hampson | last post by:
I recently upgraded to Outlook 2007 B2TR and have found that I can no longer code against MAPI.DLL It's gone :( Using C#, I used to get the MAPI session, and from that I could change the out of...
9
by: M K | last post by:
I would like to write code to export to excel, outlook and word. Any idea where a good resource to look? I know about using the VBA macros as I have done that in lotus notes ( but that is VB to...
11
by: Bill Davy | last post by:
I am trying to edit Contacts in Outlook. This is so I can transfer numbers from my address book which is an Excel spreadsheet to my mobile phone. I came across the following snippet of code which...
2
by: =?Utf-8?B?UnVzcw==?= | last post by:
I've been using Outlook 2000 on my XP machine forever but lately it's stopped working (Outlook has encountered an error and needs to close - Send Report). I've since made the switch to Outlook...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.