To create a subdomain

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • anjupt
    New Member
    • Oct 2006
    • 13

    #1

    To create a subdomain

    Hi,

    I have wriiten a vb script to create a subdomain and have called that vbscript in Asp.net program.The problem i am not getting the result as in the subdomain is not getting created and there is no error as well. I am working on windows 2003 server and IIIS version is 6

    I tried following methods and its same for all .
    1)
    Dim objWShell = CreateObject("W Script.Shell")
    'objWShell.Run( "cscript c:\autohost\hos t.vbs nnnm mme/single/members/52", , True)
    2)

    Dim myprocess As System.Diagnost ics.Process = New System.Diagnost ics.Process
    Dim psi As System.Diagnost ics.ProcessStar tInfo = New System.Diagnost ics.ProcessStar tInfo("cscript" , " c:\autohost\hos t.vbs jjj mme/single/members/53")
    psi.UseShellExe cute = False
    psi.RedirectSta ndardOutput = True
    psi.RedirectSta ndardInput = True
    psi.RedirectSta ndardError = True
    psi.WindowStyle = Diagnostics.Pro cessWindowStyle .Hidden
    psi.WorkingDire ctory = "C:\"
    myprocess.Start (psi)

    3)
    Executor = CreateObject("A SPExec.Execute" )
    Executor.Applic ation = "cscript c:\autohost\hos t.vbs ffff mmmm/single/members/44)
    Executor.ShowWi ndow = False
    StrResult = Executor.Execut eWinApp

    Please suggest a solution soon

    Thank You
    Anju
Working...