PDA

View Full Version : How to detect asp components


dominicall
06-03-2003, 02:32 PM
Anyone know a simple way to detect which ASP components aree installed on a server?

Thanks

dominicall

raf
06-03-2003, 03:13 PM
Yes. Sending a mail to the host:D

dominicall
06-03-2003, 03:17 PM
Thank you raf!!!!

Am developing a CMS app that allows ppl to upload images and docs and am setting it up so that it can be used with about 5 different upload components.

I need to do a check which components are installed.

dominicall

Roy Sinclair
06-03-2003, 04:37 PM
Not that I've tried this but:

on error resume next
err.clear
set myObject = server.createobject("someobjecttype")
if err.number <> 0 then
' This object wasn't available
else
' found the object
end if
on error goto 0

dominicall
06-03-2003, 04:44 PM
Thanks Roy - will give it a try.

dominicall