🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: free.it.visual-basic
Article #854

IIS e librerie ADSI

#854
From: FOX
Date: Mon, 23 May 2005 14:04
26 lines
1855 bytes
Salve,
premetto che non ho mai lavorato con visualbasic quindi sono assolutamente
newbie.
Volevo creare un piccolo script che mi notificasse la creazione di nuovi
domini in IIS.

Mi hanno consigliato di fare in questo modo (utilizzando le librerie ADSI) :

Creare un file txt con il numero di domini attualmente presenti.

e poi creare un piccolo eseguibile (credo .vb) e schedularlo.
Il file dovrebbe fare qualcosa del genere:

--> Begin
--> leggi numero domini dal file txt
--> connessione a IIS
--> leggi numero domini nella metabase di IIS
--> if totale_domini_nel_txt < totale_domini_in_IIS then
INVIA_MAIL + SCRIVI_NEL_TXT_IL_NUOVO_VALORE
--> else NON_FARE_NIENTE
--> End

Purtroppo non conosco il Visualbasic o altri linguaggi simili,qualcuno
potrebbe darmi una mano?

Grazie Mille!
Technical Details
Message-ID: <Fplke.932446$b5.40811688@news3.tin.it>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!border2.nntp.ams.giganews.com!nntp.giganews.com!news-out.tin.it!news-in.tin.it!news3.tin.it.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: f94ee,c481cb4b31eb399,start
X-Google-Attributes: gidf94ee,public
X-Google-Language: ITALIAN,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!border2.nntp.ams.giganews.com!nntp.giganews.com!news-out.tin.it!news-in.tin.it!news3.tin.it.POSTED!not-for-mail
From: "FOX" <fox80129@gmail.com>
Newsgroups: free.it.visual-basic
Subject: IIS e librerie ADSI
Lines: 28
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
Message-ID: <Fplke.932446$b5.40811688@news3.tin.it>
Date: Mon, 23 May 2005 14:04:21 GMT
NNTP-Posting-Host: 80.180.223.85
X-Complaints-To: "Please send abuse reports to abuse@tin.it and technical notifications to newsmaster@tin.it"
X-Trace: news3.tin.it 1116857061 80.180.223.85 (Mon, 23 May 2005 16:04:21 MET DST)
NNTP-Posting-Date: Mon, 23 May 2005 16:04:21 MET DST
Organization: TIN