Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

INFO: The Plugins Property Is Not Supported in Internet Explorer


View products that this article applies to.

This article was previously published under Q232702

↑ Back to the top


Summary

Microsoft Internet Explorer does not support the Plugins property for the Navigator object. The Navigator object is used to retrieve information about the capabilities of the current browser in use. The Plugins property is an alias for the collection of all the embedded objects in the Web page.

↑ Back to the top


More information

To determine if a plugin has been installed, use the FileSystemObject object to verify the plugin .dll file in one of the following directories:

C:\Program Files\Internet Explorer\PLUGINS\

-or-

C:\Program Files\Plus!\Internet Explorer\PLUGINS\

For an example, see the following sample code:

<HTML>
<HEAD>
<SCRIPT language="VBScript">
Dim fso, returnDir

Sub checkfile()
   Set fso = CreateObject("Scripting.FileSystemObject")
   returnDir = fso.FileExists("C:\Program Files\Plus!\Internet Explorer\PLUGINS\myplugin.dll")
   If returnDir = True Then
      MsgBox "myplugin.dll is in C:\Program Files\Plus!\Internet Explorer\PLUGINS"
   End If         
   Set returnDir = Nothing
End Sub

Sub window_unload(file)
   Set fso = Nothing
End Sub
</SCRIPT>
</HEAD>

<BODY>
<INPUT type=button value="click me" onclick="checkfile()">
</BODY>
</HTML>
				

NOTE: The CreateObject() function is used with Low security only.

↑ Back to the top


References

For more information, see the following Microsoft Web sites:

MSDS Online, Navigator Object
http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/obj_navigator.asp

MSDN Online, Plugins Collection
http://msdn.microsoft.com/workshop/author/dhtml/reference/collections/plugins_0.asp

Windows Script Technologies, FileSystemObject Tutorial
http://msdn2.microsoft.com/en-us/library/6kxy1a51.aspx


For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
195826 PRB: CreateObject Fails from Client-Side Scripts

↑ Back to the top


Keywords: KB232702, kbinfo

↑ Back to the top

Article Info
Article ID : 232702
Revision : 4
Created on : 8/8/2007
Published on : 8/8/2007
Exists online : False
Views : 385