|
From: <as...@ca...> - 2002-02-02 10:09:21
|
http://aspdns.sourceforge.net/aspdns_00000a.htm Remarks Returns True for successful operation. If the zone can't be created check the value of ResText, which contains an extended error text, or see the windows Application Log. Example (VBScript) Dim oMan, vRes Set oMan = CreateObject("ASPDns.ManageServer") *****Response.Write oMan.PrimaryZone*****("acme.com", "dns.foo.com", "dns2.foo.com") I think i might have ogit in now but read the stars! sorry thanks ---- Original Message ---- From: giu...@ai... To: as...@ca..., Subject: Re: [Aspdns-announce] Getting An Add Zone Asp Script to Work Date: Sat, 2 Feb 2002 09:10:12 +0100 >Dear Lech, >please take a look at the manual. > >gsa > >> >> But if I try something like this: >> <% >> Dim oMan, vRes >> Set oMan = CreateObject("ASPDns.ManageServer") >> Response.Write oMan.PrimaryZone("acme.com", "dns.foo.com", > >** Where did you find PrimaryZone metod in the manual??? > >> "dns2.foo.com") >> %> >> It doesn't work, but gives this error: >> Error Type: >> Microsoft VBScript runtime (0x800A01B6) >> Object doesn't support this property or method: 'PrimaryZone' > >** This explanation is clear!!! Probably you ment AddPrmaryZone!!! >** Please RTFM. > >> /dns3.asp, line 4 >> >> If anyone could send me an ASP code that works to add zones and do >> some functions that would be great, I just want to get one piece of >> code working to where it will add a zone, then I think I can figure >> out more. >> >> Thanks, >> >> Lech >> >> >> >> _______________________________________________ >> Aspdns-announce mailing list >> Asp...@li... >> https://lists.sourceforge.net/lists/listinfo/aspdns-announce >> > > |