473,221 Members | 1,925 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,221 software developers and data experts.

Alternative to EXOLEDB?

All,

I am in dire need of a solution. I used to have my .net application on my
exchange server but have since moved it to a separate server (which is
running SQL 2000). The application basically grabs leave form requests and
stores them on the sql server. It uses Exchange 2003 to route e-mails and to
store the time off on a public calendar. Everything still works fine except
for the public calendar. As I found via google, you cannot use exoledb as
your provider unless the code is on the exchange server. Does anyone have an
alternative (maybe with WebDAV) to the small piece of code below that does
not use exoledb?

---
' Reference to Microsoft ActiveX Data Objects 2.5 Library
' Reference to Microsoft CDO for Exchange 2000 Library
' Reference to Active DS Type Library
Function CreateAppointment(ByVal StartDate As Date, _
ByVal EndDate As Date, ByVal stime As String, _
ByVal etime As String, ByVal Subject As
String, _
ByVal Location As String, _
ByVal TextBody As String) As CDO.Appointment
Try

Dim iAppt As New CDO.Appointment
Dim Conn As New ADODB.Connection
Conn.Provider = "ExOLEDB.DataSource"

With iAppt

.StartTime = "#" & StartDate & "#"
.EndTime = "#" & EndDate & "#"
.Subject = Subject
.Location = Location
.TextBody = TextBody
.BusyStatus = "OOF"
.MeetingStatus = "Tentative"

'Save the appointment in a public folder calendar
Conn.Open("http://myserver/public/leaveform/")

..DataSource.SaveToContainer("http://myserver/public/leaveform/", Conn)

End With

CreateAppointment = iAppt
Conn.Close()

Catch err As Exception
Console.WriteLine(err.ToString())
CreateAppointment = Nothing
End Try
End Function
---

I would greatly appreciate any help and would be glad to share any knowledge
I have gained from .net apps with SQL and exchange.

Thank you,
Ken Wigle
wi*****@uc.edu
Jul 22 '05 #1
0 1092

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

Similar topics

46
by: Robin Becker | last post by:
It seems that the rotor module is being deprecated in 2.3, but there doesn't seem to be an obvious alternative. I'm using it just for obfuscation. It seems we have ssl available in 2.3 for sockets,...
99
by: Paul McGuire | last post by:
There are a number of messages on the python-dev mail list that indicate that Guido is looking for some concensus to come from this list as to what *one* alternative syntax for decorators we would...
28
by: Paul McGuire | last post by:
Well, after 3 days of open polling, the number of additional votes have dropped off pretty dramatically. Here are the results so far: Total voters: 55 (with 3 votes each) Votes for each choice...
1
by: prasaddevivara | last post by:
I am using the outerHTML property to modify the HTML of existin elements in a web page in Internet Explorer. But same outerHTM property is not working in firefox browser, Anybody can tell me a...
1
by: Morten | last post by:
Hi! I'm trying to use exoledb to apply permissions to a public folder. My code looks like: ADORecord = new ADODB.RecordClass(); ADOConn = new ADODB.ConnectionClass(); ADOConn.Provider =...
0
by: Ken Wigle | last post by:
All, I am in dire need of a solution. I used to have my .net application on my exchange server but have since moved it to a separate server (which is running SQL 2000). The application...
3
by: Will McGugan | last post by:
Hi, Is there a naming convention regarding alternative constructors? ie static methods where __new__ is called explicity. I use lower_case for methods in general, but thought maybe CamelCase...
0
by: sachintandon | last post by:
Hello all, Thanks in advance for your help I have a problem in sending emails, my requirement is to send multipart alternative emails with attachments, I'm able to send text with attachments or...
11
by: Francine.Neary | last post by:
I've read that as well as "normal" Java-like function definitions, e.g. int main(int argc, char **argv), you can also choose to use an alternative syntax, i.e. int main(argc, argv) int argc;...
0
by: veera ravala | last post by:
ServiceNow is a powerful cloud-based platform that offers a wide range of services to help organizations manage their workflows, operations, and IT services more efficiently. At its core, ServiceNow...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
0
by: mar23 | last post by:
Here's the situation. I have a form called frmDiceInventory with subform called subfrmDice. The subform's control source is linked to a query called qryDiceInventory. I've been trying to pick up the...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
by: jimatqsi | last post by:
The boss wants the word "CONFIDENTIAL" overlaying certain reports. He wants it large, slanted across the page, on every page, very light gray, outlined letters, not block letters. I thought Word Art...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...

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.