PDA

View Full Version : is there some thing like CallByName in ASP


wyattwebb
03-13-2003, 10:27 PM
CallByName is a Visual Basic function that allows you to use a variable in a function call.

I.E.

Dim CodeCall

CodeCall = "CreateObject"

CallByName(Server.CodeCall("MSSOAP.SoapClient30"))

Instead of
Server.CreateObject("MSSOAP.SoapClient30")


Anyone have an idea how to do this in ASP?
Thanks.