I have been pulling my hair out all day trying to find an answer, so I've decided to ask here. <BR>I have a file... DeleteRecords.vbs ...I created to do some simple moving, deleting, and counting records in a DB. I am trying to set up CDONTS to send out an email if there is a new record added. But when I try to run that DeleteRecords.vbs file I get an error... ActiveX component can't create object. Below is the code for the CDONTS I set up. <BR><BR>If rsRecordCount("CNT") > 0 Then<BR><BR>Dim myMail<BR><BR>Set myMail = CreateObject("CDONTS.NewMail")<BR><BR>myMail.From= "myName@mail.com"<BR>myMail.To="firstname.lastname@example.org" <BR>'myMail.BCC="" <BR>myMail.Subject="Test"<BR>myMail.BodyFormat=0<B R>myMail.MailFormat=0<BR>myMail.Body="This is a test"<BR>myMail.Send<BR>set myMail=nothing<BR><BR>End If<BR><BR>What am I doing wrong?<BR>For some background...my web server has the default web site running, and I have some asp programs that use CDONTS that work fine.<BR><BR>I set up another web site on the same machine (different NIC, different IP) that I call TestWeb. This is the folder where I am trying to run this .vbs file unsuccessfully.<BR><BR>I found that CDONTS.dll is under the WINNT folder on the machine, so I assumed that any folder would have the capability to use CDONTS.<BR><BR>What am I doing wrong??<BR><BR>Thanks.