一个关于IIS的类[5]

[入库:2005年8月18日] [更新:2007年3月24日]

本文简介:选择自 acewang 的 blog

        else

            directory.createdirectory(pathtoroot)

            dim indexfile as new streamwriter(pathtoroot + "\index.htm", false, system.text.encoding.ascii)

            indexfile.write("<html><body><br><br><br><br><center><h2><font name='verdana'>welcome to <font color='green'>&nbsp;" + websitename + "</font></font></h2></center></body></html>")

            indexfile.close()

        end if

    end sub 

end class

public class website

    public sub new(byval objdirectoryentry as directoryentry)

        site = objdirectoryentry

        logfileflags = new logextfileflags(objdirectoryentry)

    end sub 

    private site as directoryentry

    private logfileflags as logextfileflags

本文关键:IIS vb.net
  相关方案
Google
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top