Click here to Skip to main content
15,924,679 members
Home / Discussions / System Admin
   

System Admin

 
GeneralRe: lucking session Pin
Chris Richardson17-Jan-03 6:33
Chris Richardson17-Jan-03 6:33 
GeneralRe: lucking session Pin
Ray Cassick17-Jan-03 7:10
Ray Cassick17-Jan-03 7:10 
GeneralRe: lucking session Pin
Michael Dunn17-Jan-03 17:00
sitebuilderMichael Dunn17-Jan-03 17:00 
GeneralRe: lucking session Pin
karanba17-Jan-03 20:49
karanba17-Jan-03 20:49 
GeneralWSH an taking user statistics Pin
karanba16-Jan-03 11:51
karanba16-Jan-03 11:51 
GeneralRe: WSH an taking user statistics Pin
Ray Cassick17-Jan-03 5:55
Ray Cassick17-Jan-03 5:55 
GeneralRe: WSH an taking user statistics Pin
karanba17-Jan-03 20:43
karanba17-Jan-03 20:43 
GeneralRe: WSH an taking user statistics Pin
Ray Cassick20-Jan-03 8:06
Ray Cassick20-Jan-03 8:06 
karanba wrote:
*that open a file or DB connection to write in and close.

Here is a quick and dirty example of some VBscrip used to open and read from a DB

strDSN = "FILEDSN=Distrib.mdb.dsn"
Set cn = Server.CreateObject("ADODB.Connection")
cn.Open strDSN
Set rsDistrib = Server.CreateObject("ADODB.Recordset")
strSQL = "SELECT TCountry FROM CountryCombo"
rsDistrib.Open strSQL, cn  
Set objCountry = rsDistrib("TCountry")
   '=== start do
   Do Until rsDistrib.EOF	
      theCountry(indCountry) = objCountry 
      rsDistrib.MoveNext
      indCountry = indCountry+1
   Loop
   cn.close



karanba wrote:
*how to get sistem time

Try this:

msgbox Time()



karanba wrote:
*and how to make a script to work at log on and log off

In Windows 200 (and XP I belive) you can set the machines policy to run a logoff as well as login script. Sending data to DB should not be hard here since they support WSH in these scripts. Windows px would require a utillity to be installed that would provide this functionality. Windows NT you would have to write your own GINA library to manage the process of login and logoff. Not a trivial task.



Paul Watson wrote:
"At the end of the day it is what you produce that counts, not how many doctorates you have on the wall."

George Carlin wrote:
"Don't sweat the petty things, and don't pet the sweaty things."

GeneralAutorun.inf in XP and Me Pin
Navin16-Jan-03 4:55
Navin16-Jan-03 4:55 
GeneralError returned while creating the volume shadow copy:80042301 Pin
bwechner15-Jan-03 18:46
bwechner15-Jan-03 18:46 
QuestionStreaming Client, Perhaps? Pin
Roger Wright15-Jan-03 17:52
professionalRoger Wright15-Jan-03 17:52 
QuestionAn adamantly invisible file on NTFS! How can I make it visible? Pin
bwechner15-Jan-03 15:25
bwechner15-Jan-03 15:25 
AnswerRe: An adamantly invisible file on NTFS! How can I make it visible? Pin
Sarvesvara (BVKS) Dasa21-Jan-03 20:55
Sarvesvara (BVKS) Dasa21-Jan-03 20:55 
GeneralOS Unknowns Pin
will138315-Jan-03 5:00
will138315-Jan-03 5:00 
GeneralRe: OS Unknowns Pin
Daniel Turini15-Jan-03 5:37
Daniel Turini15-Jan-03 5:37 
GeneralRe: OS Unknowns Pin
Brian Delahunty15-Jan-03 6:09
Brian Delahunty15-Jan-03 6:09 
GeneralRe: OS Unknowns Pin
Ray Cassick15-Jan-03 6:16
Ray Cassick15-Jan-03 6:16 
GeneralRe: OS Unknowns Pin
Roger Wright15-Jan-03 17:43
professionalRoger Wright15-Jan-03 17:43 
GeneralRe: OS Unknowns Pin
Sarvesvara (BVKS) Dasa15-Jan-03 20:25
Sarvesvara (BVKS) Dasa15-Jan-03 20:25 
GeneralRe: OS Unknowns Pin
benjymous29-Jan-03 4:12
benjymous29-Jan-03 4:12 
GeneralApplication Error popup Pin
Member 612548015-Jan-03 3:50
Member 612548015-Jan-03 3:50 
GeneralRe: Application Error popup Pin
Daniel Turini15-Jan-03 5:54
Daniel Turini15-Jan-03 5:54 
GeneralInternet Explorer and Explorer Problems Pin
Michael Martin13-Jan-03 14:51
professionalMichael Martin13-Jan-03 14:51 
GeneralRe: Internet Explorer and Explorer Problems Pin
Larry Antram13-Jan-03 15:47
Larry Antram13-Jan-03 15:47 
GeneralRe: Internet Explorer and Explorer Problems Pin
Michael Martin13-Jan-03 16:19
professionalMichael Martin13-Jan-03 16:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.