当前位置:首页 » 软件开发
开发技术指南» 文章正文
    引言: Imports System Imports System.
 

 

    摘要: 数据结构与算法(c#实现)系列---avltree(二) //---------------override-------------------- public override void attachkey(object _obj) { if(!isempty()) throw new exception("my:this node must be a empty ......
    摘要: 利用#develop内嵌的#ziplib,轻松搞定.net下的解压缩 #develop是一个用于制作c#或者vb.net的项目而设计的一个编辑器,而#ziplib是它内嵌的一个制作.net下的解压缩软件的强大工具。关于#develop这个软件,大家可以去它的中文网站(http://www.aspx.cn/comm/dotnetbbs/forum.aspx?forum_id=14)下载最新的版......


一个关于IIS的类
imports system

imports system.io 【程序编程相关:一周学会C#(值的类型三)

imports system.directoryservices 【推荐阅读:一周学会C#(枚举二)

public class iismanager  【扩展信息:WSE使用总结

    public shared function createwebsite(byval websitename as string, byval pathtoroot as string) as website

        dim root as directoryentry = new directoryentry("iis://localhost/w3svc") 

         find unused id value for new web site

        dim siteid as integer = 1

        dim e as directoryentry

        for each e in root.children

            if e.schemaclassname = "iiswebserver" then

                dim id as integer = convert.toint32(e.name)

                if id >= siteid then

                    siteid = id + 1

                end if

            end if

        next

         create the root directory and welcome html file

        createphysicaldirectory(pathtoroot, websitename) 

         create web site

        dim site as new website(ctype(root.invoke("create", "iiswebserver", siteid), directoryentry))

        site.servercomment = websitename

        site.keytype = "iiswebserver"


...   下一页
    摘要: 新建一测试程序(windows应用程序)需要添加以上类库的引用,然后添加一form1和datagrid1,声明 public newstyle as thefivecolumn.thefivecolumn.fivecolumn_style2 在窗体的sub new 中添加 newstyle = new thefivecolumn.thefivecolumn.fivecolumn_style......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE