I have an aspx page which is having an arraylist of audio file paths. A child window is opened in which the audio is played one by one. I have a timer control to identify when an audio file completes in the child window. Once the audio file completes, I have to close the child window and return to the parent. In the timer tick event, I have to close the child window. Please tell me how I can do this.
can any one please guide me that i want to count totall number of users online i have written this code in global.asa in case of user increament it works fine but when user clicks signout or close the browser it does nothing ...
Fact is, if the user closes the browser, it will always do nothing. So, you need to implement some sort of timeout that checks if a session has been active without any page refreshers for a period of time, then remove them from your active users.
Private Function GetGroups(ByVal _path As String, ByVal _
username As String, ByVal password As String) As String
Dim GroupString As String
Dim myDE As New System.DirectoryServices.DirectoryEntry(_path, _
Dim mySearcher As New DirectorySearcher(myDE)
mySearcher.Filter = "sAMAccountName=" & username
Dim propertyCount As Integer
Dim myresult As SearchResult = mySearcher.FindOne()
propertyCount = myresult.Properties("memberOf").Count
Dim dn As String
Dim equalsIndex, commaIndex As String
For i As Integer = 0 To propertyCount - 1
dn = myresult.Properties("memberOf")(i)
equalsIndex = dn.IndexOf("=", 1)
commaIndex = dn.IndexOf(",", 1)
If equalsIndex = -1 Then
If you've had to pivot your table to show data in a column instead of a row, there's no way the control will let you update a column instead of a row. Your best bet is to use a repeater, start with your normalized data, and write the edit/update functionality yourself.
Driven to the arms of OSX by Vista.
Last Visit: 31-Dec-99 18:00 Last Update: 26-Sep-23 0:27