Does anyone know if there is a way to create an object using the contents
of a variable as a name (instead of hard coding the object name?).

In the example below, I have the code for creating a connection object (with
the name hard-coded)...

set conn=server.createobject("adodb.connection") "DSN=dataset name"
conn is hard coded and becomes the connection object.

Is there a way to do something like this???

connvar = "conn"
set {evaluated value of variable "connvar"}=
{evaluated value of variable "connvar"}.open "DSN=dataset name"

Thanks in advance,