This all depends on the user control you created. I can however give you
1. Make sure that in VB you define any parameters as a Variant. VB script
only knows variants, so that is what it will pass to your object.
2. The same holds true for any return values: make them variants as well
3. Then initialize your object like this:
Set objMyObject = Server.CreateObject(progIDOfYourComponent)
The code above passes a Session variable and a local variable to a method
of your object.
If, however, you'd like to access intrinsic ASP objects, like Session or
Request from INSIDE your component, things ae a bit different. Let me know
if you need that, and I can post some code to accomplish that.
At 13:29 6/27/2000 -0400, you wrote:
> Does anyone know how I can pass a ASP session variable to ActiveX
>(User control). I created this ActiveX control using VB. Any help would be
>Wrox Professional Wireless Developer Conference, Amsterdam, July 10-12.
>Covering application of WAP, XML, ASP, Java and C++ to wireless computing,
>choose from 40+ technical sessions delivered by industry experts:
>You are currently subscribed to proasp_howto.