I've created a usercontrol that displays slides, but i need to pass it a variable so that it can display the stuff that it's supposed to.

They said i can do this >>>

dim tempR

set tempR = Server.CreateOject("projectName.controlName")

------------------------------------------------------------------------------------

The problem with this is that it doesn't work. It gives me some funky errors.


Please Help!