MOTOBIT.COM - ASP upload, IIS utility Set content type of extension

Sample for RegEdit.Server.GetKey | Changes | Purchase | Download

Examples

Set content type of extension 
  Set S = CreateObject("RegEdit.Server")

  S.GetKey("HKCR\.asa").Values("Content Type")="text/asp"

Other links for the Set content type of extension sample

RegEdit.Server

Server/computer for the ActiveX regedit.
You can use GetKey method to get a specified key from the server.
Keys property returns a collection containing subkeys of a connected key (See Connect method).

RegEdit

Intuitive, easy to use COM interface to windows registry. Set of classes to read/enumerate/modify windows registry keys and values from ASP, VBS and T-SQL.

© 1996 - 2009 Antonin Foller, Motobit Software | About, Contacts | e-mail: info@pstruh.cz