i have built a vb component for an asp site... the source is below:<BR>Public Function GetAllEvents(EventDate, FolderName)<BR> <BR> Dim objOutlook As Outlook.Application<BR> Dim objNamespace As Outlook.NameSpace<BR> Dim objExplorer As Outlook.Explorer<BR> Dim colFolders As Outlook.Folders<BR> Dim objFolder As Outlook.MAPIFolder<BR> Dim objItems As Items<BR><BR> Set objOutlook = CreateObject("Outlook.Application")<BR> Set objNamespace = objOutlook.GetNamespace("MAPI")<BR> objNamespace.Logon ShowDialog:=True<BR><BR> &#039 Top level folders.<BR> Set colFolders = objNamespace.Folders<BR> Set objFolder = colFolders.Item("Public Folders")<BR><BR> &#039 Navigate down one level to All Public Folders.<BR> Set colFolders = objFolder.Folders<BR> Set objFolder = colFolders.Item("All Public Folders")<BR> <BR> &#039 Navigate down one more level to Systems Calendar.<BR> Set colFolders = objFolder.Folders<BR> Set objFolder = colFolders.Item(FolderName)<BR> <BR> &#039 Get the date passed from the page<BR> strTheDay = EventDate<BR> <BR> &#039 Specify the range.<BR> strToday = "[Start] &#062;= &#039" & strTheDay & " 12:01 am&#039 and [Start] &#060; &#039" & strTheDay & " 11:59 pm&#039"<BR> <BR> &#039 Get the AppointmentItems.<BR> Set objItems = objFolder.Items<BR> objItems.Sort "[Start]"<BR> objItems.IncludeRecurrences = True<BR> Set objItems = objItems.Restrict(strToday)<BR> objItems.Sort "[Start]"<BR> <BR> Set myAppt = objItems.GetFirst<BR> Do While TypeName(myAppt) &#060;&#062; "Nothing"<BR> strMsg = strMsg & vbLf & myAppt.Subject<BR> strMsg = strMsg & " at " & Format(myAppt.Start, "h:mm ampm")<BR> Set myAppt = objItems.GetNext<BR> Loop<BR> &#039 Put the info into the return value.<BR> GetAllEvents = "The " & FolderName & " Events for " & strTheDay & " are " _<BR> & vbLf & strMsg<BR> <BR> objNamespace.Logoff<BR> <BR>End Function<BR><BR>it contains only the one function &#039GetAllEvents&#039<BR>after compiling the dll i have had no problem calling it form another vb app with the createobject command but when i try to call it from an asp page using the following source:<BR>&#060;%@Language=VBScript%&#062;<BR>&#0 60;%<BR> Dim objTodaysEvents<BR> Dim EventDate<BR> Dim FolderName<BR> Dim output<BR> <BR> Set objTodaysEvents = Server.CreateObject("GetPublicFolder.SystemCalenda rInfo")<BR> EventDate = "8/22/00"<BR> FolderName = "Systems Calendar"<BR> output=objTodaysEvents.GetAllEvents(EventDate, FolderName)<BR> <BR> Response.Write output<BR>%&#062;<BR><BR>i get this error:<BR><BR>GetPublicFolder error &#039 800a01ad&#039 <BR>ActiveX component can&#039t create object <BR>/outlookTest.asp, line 11 <BR><BR><BR>i have looked up the error on msdn and find that it supposedly means the dll cant find other components that it is dependent on i.e. the outlook object lib (the only reference i added to the vb project)... please tell me how to fix this dependency issue?? if that is what it is. I appreciate your time<BR><BR>mailto:johngilliland@home.com<BR>