Using COM constants on under IIS ASP.
Mark Hammond
MarkH at ActiveState.com
Sat Oct 28 21:31:13 EDT 2000
More information about the Python-list mailing list
Sat Oct 28 21:31:13 EDT 2000
- Previous message (by thread): Using COM constants on under IIS ASP.
- Next message (by thread): Creating printed source code listings
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Syver Enstad wrote: >> As long as you've run makepy on the type-library of the object you're >> creating, all constants defined in that library will be available as >> attributes of win32com.client.constants when objects defined in that >> library are created. > > Thanks it worked, I should've tried it sooner. > > I thought it wouldn't work because I interpreted the Hammond/Robinson book > as saying that the constants were not available until the object was created > by win32com.client.Dispatch and that is never called in my asp file, just > Server.CreateObject. I guess my interpretation is wrong... Your interpretation is correct. It is just that the Active Scripting implementation calls win32com.client.Dispatch() internally! Mark.
- Previous message (by thread): Using COM constants on under IIS ASP.
- Next message (by thread): Creating printed source code listings
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list