
If you work with COM dlls a lot as I do, you often have a need to register / unregister these components conveniently. Often with only FTP or HTTP access to your remote production webserver, it would also be convenient to be able to call an ASP page that asks you for the full path and name of the DLL, and allows you to either register or unregister the specified component. Fear not! Here I'll present easy ways to do both. First, lets whip up an ASP page that lets us remotely register/unregister our favorite DLL: The key to this operation is to use the RUN method of the WSH WshShell class. First, let's take a brief overview abstracted from the help file so you'll understand where we are going with this useful method:
|