Click here to Skip to main content
15,916,449 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionRe: problem with combobox in tabcontrol Pin
nazimghori10-May-09 22:21
nazimghori10-May-09 22:21 
QuestionVB help please! Pin
tommyjay9-May-09 10:57
tommyjay9-May-09 10:57 
AnswerRe: VB help please! Pin
Christian Graus9-May-09 11:05
protectorChristian Graus9-May-09 11:05 
AnswerRe: VB help please! Pin
Colin Angus Mackay9-May-09 13:22
Colin Angus Mackay9-May-09 13:22 
GeneralRe: VB help please! Pin
EliottA11-May-09 2:51
EliottA11-May-09 2:51 
QuestionDeleting Coresponding Row(s) Pin
JustinRiggs9-May-09 9:49
JustinRiggs9-May-09 9:49 
AnswerRe: Deleting Coresponding Row(s) Pin
Henry Minute9-May-09 10:05
Henry Minute9-May-09 10:05 
GeneralRe: Deleting Coresponding Row(s) Pin
JustinRiggs9-May-09 10:26
JustinRiggs9-May-09 10:26 
Yeah it is strange to have to keep one movie in the table. It is because I have another problem that I will have to deal with later. This program is for a school projectSmile | :)
See here when I add a new movie it counts the rows -1 and if there are no rows I get a no nulls allowed in movieID error. So for now I took that problem away by cheating with the msgbox!!

Dim rowcount As Integer = Form1.MovieDataGridView.Rows.Count
            'Get the value of the last movie ID
            x = Form1.MovieDataGridView.Item(0, rowcount - 1).Value
            'Add 1 to the value of the last movie ID
            x += 1
            'Add new row to the datagridview's datasource
            Form1.MovieDataGridView.DataSource.addnew()

            'Set the value of column 1 on the new row
            Form1.MovieDataGridView.Rows(rowcount).Cells(0).Value = x


            'Set the value of column 2 on the new row to the data in the Title textbox
            Form1.MovieDataGridView.Rows(rowcount).Cells(1).Value = txtTitle.Text
GeneralRe: Deleting Coresponding Row(s) Pin
Noctris10-May-09 12:23
Noctris10-May-09 12:23 
AnswerRe: Deleting Coresponding Row(s) Pin
JustinRiggs9-May-09 12:49
JustinRiggs9-May-09 12:49 
QuestionThreading Problem Pin
DarkSorrow389-May-09 5:44
DarkSorrow389-May-09 5:44 
GeneralRe: Threading Problem Pin
harold aptroot9-May-09 6:13
harold aptroot9-May-09 6:13 
QuestiongetData from xml with VB.NET Pin
woerny9-May-09 4:09
woerny9-May-09 4:09 
AnswerRe: getData from xml with VB.NET Pin
Zaegra9-May-09 4:43
Zaegra9-May-09 4:43 
Questioncreate and run process with link (vb.net2005) Pin
hrishiS9-May-09 2:42
hrishiS9-May-09 2:42 
AnswerRe: create and run process with link (vb.net2005) Pin
Luc Pattyn9-May-09 3:06
sitebuilderLuc Pattyn9-May-09 3:06 
GeneralRe: create and run process with link (vb.net2005) Pin
hrishiS9-May-09 3:10
hrishiS9-May-09 3:10 
GeneralRe: create and run process with link (vb.net2005) Pin
Zaegra9-May-09 4:33
Zaegra9-May-09 4:33 
AnswerRe: create and run process with link (vb.net2005) Pin
Dave Kreskowiak9-May-09 7:19
mveDave Kreskowiak9-May-09 7:19 
Questionproblem related to textbox Pin
nazimghori9-May-09 2:24
nazimghori9-May-09 2:24 
AnswerRe: problem related to textbox Pin
Zaegra9-May-09 4:00
Zaegra9-May-09 4:00 
GeneralRe: problem related to textbox Pin
nazimghori9-May-09 4:13
nazimghori9-May-09 4:13 
QuestionRe: problem related to textbox Pin
nazimghori9-May-09 4:19
nazimghori9-May-09 4:19 
GeneralRe: problem related to textbox [modified] Pin
Zaegra9-May-09 4:30
Zaegra9-May-09 4:30 
Questionwhat is the purpose? Pin
Willington9-May-09 1:57
Willington9-May-09 1:57 

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.