I have given thought to using a GlobalMultiUse VB component to encapsulate commonly used subroutines and functions that I'd typically put in a global SSI.
As I understand it, and have tested in a VB EXE, you can call the component's methods without needing to instantiate the object. However, in ASP, only public Enums are visible and nothing else.
For example, while this will work...
Dim x
Set x = Server.CreateObject("MyCOM.MyClass"![Wink ;) ;)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
x.doSomething
this will not work...
doSomething
I have scoured the Web and have found nothing that either; 1) tells me that this can't be done, or 2) describes this problem. In fact, anything I have found makes it sound like I'm the only one that has this problem (or has even tried this) though I find this highly improbable.
I have tried registering this component with both COM+ and REGSVR32. The component is properly referenced in the Global.asa.
Does anyone have any thoughts?
Kris
As I understand it, and have tested in a VB EXE, you can call the component's methods without needing to instantiate the object. However, in ASP, only public Enums are visible and nothing else.
For example, while this will work...
Dim x
Set x = Server.CreateObject("MyCOM.MyClass"
x.doSomething
this will not work...
doSomething
I have scoured the Web and have found nothing that either; 1) tells me that this can't be done, or 2) describes this problem. In fact, anything I have found makes it sound like I'm the only one that has this problem (or has even tried this) though I find this highly improbable.
I have tried registering this component with both COM+ and REGSVR32. The component is properly referenced in the Global.asa.
Does anyone have any thoughts?
Kris