I need to determine what x should equal (in VB6) when you want to call server.createobject(x) (from ASP).

I have a the physical file path and name of a dll and I am adding the list of available references to a database table.

Purpose: when coding an ASP page I don't have to know that exact component name. I can just pull it from an include file (created dynamically) that has the variable x already defined.

It is a VB6 application and the user will uploading a DLL. I can not assume the Component name will be the file name. (86 the ".dll")

Any ideas?