|
-
Sep 14th, 2005, 01:01 PM
#1
Thread Starter
New Member
Determine Component Name from a DLL
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?
-
Sep 15th, 2005, 08:12 AM
#2
Re: Determine Component Name from a DLL
Where's the code going? In an application that is referencing the DLL, or in the DLL?
Sorry, I'm a bit confused.
-
Sep 15th, 2005, 08:35 AM
#3
Re: Determine Component Name from a DLL
LEt me get this straight....
You are building a web page that will allow the user to upload a DLL.... *any* DLL? ... and then you want to create an object based on a class in that DLL. Unless the user also types in the ProgID of the object to be created.... or your know what the ProgID is, there's no good way in VB6 (VBS since this is really ASP) to know what to create. Plus, DLLS can (and usualy do) have more than one object that is creatable, so how would you know which to create? And I'm not even sure it would work. The DLL would first have to be saved to the HD, and then registered before objects in it could be created.
-tg
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|