CreateObject Failed

Results 1 to 2 of 2

Thread: CreateObject Failed

  1. #1
    Steven Ai Guest

    Default CreateObject Failed

    Dear All<BR><BR>I have my code which is create an Object on my local PC, and it run successful.<BR>But it I try to create an object ove another server. I get an error.<BR><BR>My code is below:<BR><BR>Dim MyObj<BR>Set MyObj = CreateObject("EventLog.LogEvent.1","ipaddress")<BR ><BR>Error Code is below:<BR>Microsoft VBScript runtime (0x800A01AD)<BR>ActiveX component can&#039;t create object: &#039;EventLog.LogEvent.1&#039;<BR><BR>can anybody tell me why?<BR><BR>Thank you

  2. #2
    Join Date
    Dec 1969

    Default RE: CreateObject Failed

    Did you run Regsvr32.exe &#060;Location_Of_DLL&#062;?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts