gvozd Posted February 3, 2004 Report Share Posted February 3, 2004 Как определить, сколько человек сидит в Интернете за текущее соединение? А то таймер превирает слегка. Link to comment Share on other sites More sharing options...
dmc Posted February 3, 2004 Report Share Posted February 3, 2004 Запомнить текущее состояние системного времени в переменную, затем в конце сеанса из значения системного времени вычесть эту переменную. А таймером мерить эт конечно оригинально :) Dim up_time up_time = Time ... Link to comment Share on other sites More sharing options...
gvozd Posted February 6, 2004 Author Report Share Posted February 6, 2004 А мне надо, чтоб каждую секунду время смотреть ;) Link to comment Share on other sites More sharing options...
dmc Posted February 7, 2004 Report Share Posted February 7, 2004 Таймером нужно выводить значение переменной (см. выше), а для большей точности лучше поставить интервал 100-500 мс. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now