Click here to Skip to main content
16,008,010 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: how to clear MS Access synchronization list? Pin
Eric Georgiades18-Mar-08 5:01
Eric Georgiades18-Mar-08 5:01 
QuestionDisplaying how many users are currently logged into a web application - Please help Pin
Mr Business Kid17-Mar-08 9:51
Mr Business Kid17-Mar-08 9:51 
GeneralRe: Displaying how many users are currently logged into a web application - Please help Pin
Christian Graus17-Mar-08 10:38
protectorChristian Graus17-Mar-08 10:38 
GeneralRe: Displaying how many users are currently logged into a web application - Please help Pin
Mr Business Kid17-Mar-08 10:49
Mr Business Kid17-Mar-08 10:49 
GeneralRe: Displaying how many users are currently logged into a web application - Please help Pin
Dave Kreskowiak17-Mar-08 13:01
mveDave Kreskowiak17-Mar-08 13:01 
GeneralRe: Displaying how many users are currently logged into a web application - Please help Pin
Christian Graus17-Mar-08 13:25
protectorChristian Graus17-Mar-08 13:25 
GeneralRe: Displaying how many users are currently logged into a web application - Please help [modified] Pin
nlarson1117-Mar-08 16:10
nlarson1117-Mar-08 16:10 
GeneralThere is no row at position 0 Pin
AAGTHosting17-Mar-08 7:03
AAGTHosting17-Mar-08 7:03 
I created a dataTable which I am using to populate a combo box. When I select a student fromthe student combo box the lesson combo box is populated with info from the data table. When I select a student with the student combo box I get the following error.

Can you tell me why?

Here is the function that is giving me the error.

Public Function selectLesson() As DataTable
        ' declare data table
        Dim dt As New DataTable()
        Dim dr As DataRow

        dt.Columns.Add(New DataColumn("lessonTime", GetType(String)))
        dt.Columns.Add(New DataColumn("lessonID", GetType(String)))

        For Each row As DataRow In dtLessTime.Rows
            dr = dt.NewRow()
            dr(0) = " " & arrWeekDays(Convert.ToInt32(row("less_day")) - 1) ' & " " & Convert.ToDateTime(row("less_time"))
            dr(1) = row("less_id")
            dt.Rows.Add(dr)
        Next

        Return dt

    End Function

GeneralRe: There is no row at position 0 Pin
Dave Kreskowiak18-Mar-08 3:03
mveDave Kreskowiak18-Mar-08 3:03 
GeneralDropdown list remains visible Pin
cstrader23217-Mar-08 5:07
cstrader23217-Mar-08 5:07 
GeneralRe: Dropdown list remains visible Pin
Dave Kreskowiak18-Mar-08 2:56
mveDave Kreskowiak18-Mar-08 2:56 
Generalnetwork sockets Pin
Cory Kimble17-Mar-08 4:29
Cory Kimble17-Mar-08 4:29 
GeneralRe: network sockets Pin
Dave Kreskowiak18-Mar-08 3:28
mveDave Kreskowiak18-Mar-08 3:28 
GeneralRe: network sockets Pin
Cory Kimble18-Mar-08 4:34
Cory Kimble18-Mar-08 4:34 
QuestionDrawing in user control Pin
N!ck17-Mar-08 4:03
N!ck17-Mar-08 4:03 
GeneralRe: Drawing in user control Pin
Dave Kreskowiak17-Mar-08 7:44
mveDave Kreskowiak17-Mar-08 7:44 
GeneralRe: Drawing in user control Pin
Christian Graus17-Mar-08 9:21
protectorChristian Graus17-Mar-08 9:21 
GeneralTo get the snap shot of other machine Pin
sjs4u17-Mar-08 2:30
sjs4u17-Mar-08 2:30 
GeneralRe: To get the snap shot of other machine Pin
Dave Kreskowiak17-Mar-08 7:40
mveDave Kreskowiak17-Mar-08 7:40 
GeneralRe: To get the snap shot of other machine Pin
Christian Graus17-Mar-08 9:22
protectorChristian Graus17-Mar-08 9:22 
QuestionMSN Messenger Live Contacts Lits Pin
dunca_roo17-Mar-08 2:22
dunca_roo17-Mar-08 2:22 
GeneralRe: MSN Messenger Live Contacts Lits Pin
Dave Kreskowiak17-Mar-08 7:42
mveDave Kreskowiak17-Mar-08 7:42 
GeneralDynamically load the exe and run Pin
sjs4u16-Mar-08 23:26
sjs4u16-Mar-08 23:26 
GeneralRe: Dynamically load the exe and run Pin
Christian Graus16-Mar-08 23:48
protectorChristian Graus16-Mar-08 23:48 
AnswerRe: Dynamically load the exe and run Pin
Rajesh Anuhya17-Mar-08 0:07
professionalRajesh Anuhya17-Mar-08 0:07 

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.