Using the METADATA Tag
Written by Eric Smith, Northstar Computer Systems LLC
In a previous tip, you learned how to reference the ADO library in your ASP file. This lets you use the constants that are documented along with the ADO library. Here's the code you need at the top of your ASP file. (this should all go on one line)
<!-- METADATA TYPE="typelib" FILE="c:\program files\common files\system\ado\msado15.dll"-->
You can use this tag for any DLL you happen to be using. For instance, if you're using the FileSystemObject and related objects, you can reference the Microsoft Scripting Runtime, which is the scrrun.dll...you can search your system for it. In Windows 2000, this file is located in the \WINNT\System32 directory, so the tag would be:
<!-- METADATA TYPE="typelib" FILE="c:\winnt\system32\scrrun.dll"-->
Keywords: [
Uncategorized ASP Tips
]
Publication Date: 7/1/2000
|