Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

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

Cuireadh an snáithe seo sa chartlann. Cuir ceist nua má tá cabhair uait.

ActiveXObject is not defined. How do I fix?

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; }

All Replies (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

Athraithe ag Abhishek Raj Simon ar