Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: Using ASP Intrinsics in your VB component (Win2000 Server) problem


Message #1 by "Liran" <liranp@s...> on Sun, 25 Mar 2001 13:02:54
Hey All,

I have a problem to use the ASP Intrinsic Objects from within activeX.dll 

in vb(WIN2000 SERVER), First I checked the "Microsoft Active Server Pages 

Object Library" and "COM+ Service Type Library" in the project-

>references. And Then I Write In the Class Initialize event:

  Dim objContext As COMSVCSLib.ObjectContext

  Dim objResponse As ASPTypeLibrary.Response

  Set objContext = GetObjectContext

  Set objResponse = objContext("Response")

  objResponse.Write "COM+ TEST"



and when I try to execute it I Get this Error:

"object or variable not set."



can u tell me what's wrong with my code?

  Return to Index