Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: VB COM object enums?


Message #1 by "Owen Mortensen" <ojm@a...> on Thu, 14 Jun 2001 16:12:16 -0700
Anyone know how I get to VB COM object enums?  For example, in the VB class

I have:



public enum ConstItems

    FIRST_ITEM

    SECOND_ITEM

    THIRD_ITEM

end enum



In VisualBasic, if I want to use one of these as a paramter to a function

(after first creating a COM reference), I just do this:



functionName ComName.ConstItems.FIRST_ITEM, "a string", "another string"



Anyone know how I can do this in an ASP file?



TIA,

Owen




  Return to Index