Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

ActiveXObject is not defined. How do I fix?

  • 1 ప్రత్యుత్తరం
  • 550 ఈ సమస్యలు కలిగి ఉన్నాయి
  • 16 వీక్షణలు
  • చివరి సమాధానమిచ్చినది Abhishek Raj Simon

more options

This code function getFileDate(Str){ var oas = new ActiveXObject("Scripting.FileSystemObject"); var fileobj = oas.GetFile("LR0001.jpg"); return fileobj.DateCreated; }

This code function getFileDate(Str){ var oas = new ActiveXObject("Scripting.FileSystemObject"); var fileobj = oas.GetFile("LR0001.jpg"); return fileobj.DateCreated; }

ప్రత్యుత్తరాలన్నీ (1)

more options

The ActiveXObject object is used to create instances of OLE Automation objects in Internet Explorer on Windows operating systems.

So it only supports Internet Explorer on Windows. No other browser support is available till date for ActiveXObject.

For cross browser solution, use object element instead. Read more about it here

న Abhishek Raj Simon చే మార్చబడినది