Click here to Skip to main content
15,881,882 members
Home / Discussions / Visual Basic
   

Visual Basic

 
PinnedHOW TO ANSWER A QUESTION PinPopular
Chris Maunder12-Jul-09 22:40
cofounderChris Maunder12-Jul-09 22:40 
PinnedHow to get an answer to your question PinPopular
Chris Maunder10-Nov-05 16:30
cofounderChris Maunder10-Nov-05 16:30 
QuestionHow to use web services in vb.net Pin
yvesauff15-Apr-24 5:15
yvesauff15-Apr-24 5:15 
AnswerRe: How to use web services in vb.net Pin
Dave Kreskowiak15-Apr-24 6:35
mveDave Kreskowiak15-Apr-24 6:35 
QuestionSelected row always visible in datagridview research Pin
medi dimie2-Mar-24 1:53
medi dimie2-Mar-24 1:53 
AnswerRe: Selected row always visible in datagridview research Pin
Richard MacCutchan2-Mar-24 2:58
mveRichard MacCutchan2-Mar-24 2:58 
QuestionResearch in datagridview Pin
medi dimie2-Mar-24 0:52
medi dimie2-Mar-24 0:52 
AnswerRe: Research in datagridview Pin
Richard Deeming3-Mar-24 22:01
mveRichard Deeming3-Mar-24 22:01 
QuestionMy problem is with the Next button. At the last rows, this message appears : System.ArgumentOutOfRangeException: 'Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index' Pin
anis7831-Jan-24 1:46
anis7831-Jan-24 1:46 
AnswerRe: At the last rows, this message appears : System.ArgumentOutOfRangeException Pin
Richard MacCutchan31-Jan-24 2:00
mveRichard MacCutchan31-Jan-24 2:00 
Look at the error message again. It is telling you that the value of your index variable is outside the range of rows in DataGridView1. Most likely because of the line below:
VB
Dim i As Integer = DataGridView1.CurrentRow.Index + 1

If you are currently at the last row then "Index + 1" will refer to a row that does not exist.
GeneralRe: At the last rows, this message appears : System.ArgumentOutOfRangeException Pin
anis7831-Jan-24 2:37
anis7831-Jan-24 2:37 
GeneralRe: At the last rows, this message appears : System.ArgumentOutOfRangeException Pin
Richard MacCutchan31-Jan-24 2:51
mveRichard MacCutchan31-Jan-24 2:51 
GeneralRe: At the last rows, this message appears : System.ArgumentOutOfRangeException Pin
gvidali2-Feb-24 4:51
gvidali2-Feb-24 4:51 
QuestionVB6 printing bitmap or image on a POS Printer Pin
Member 1491430129-Jan-24 23:37
Member 1491430129-Jan-24 23:37 
AnswerRe: VB6 printing bitmap or image on a POS Printer Pin
RedDk30-Jan-24 8:52
RedDk30-Jan-24 8:52 
GeneralRe: VB6 printing bitmap or image on a POS Printer Pin
Member 1491430130-Jan-24 20:00
Member 1491430130-Jan-24 20:00 
AnswerRe: VB6 printing bitmap or image on a POS Printer Pin
Gerry Schmitz31-Jan-24 8:49
mveGerry Schmitz31-Jan-24 8:49 
GeneralRe: VB6 printing bitmap or image on a POS Printer Pin
Member 1491430131-Jan-24 19:39
Member 1491430131-Jan-24 19:39 
QuestionUnhandled exception at 0x77702d63 (shell32.dll) in blahblah.exe What does this really mean? Pin
Member 1510932526-Jan-24 23:32
Member 1510932526-Jan-24 23:32 
AnswerRe: Unhandled exception at 0x77702d63 (shell32.dll) in blahblah.exe What does this really mean? Pin
Richard MacCutchan27-Jan-24 0:15
mveRichard MacCutchan27-Jan-24 0:15 
GeneralRe: Unhandled exception at 0x77702d63 (shell32.dll) in blahblah.exe What does this really mean? Pin
Member 1510932527-Jan-24 5:16
Member 1510932527-Jan-24 5:16 
GeneralRe: Unhandled exception at 0x77702d63 (shell32.dll) in blahblah.exe What does this really mean? Pin
Richard MacCutchan27-Jan-24 5:19
mveRichard MacCutchan27-Jan-24 5:19 
GeneralRe: Unhandled exception at 0x77702d63 (shell32.dll) in blahblah.exe What does this really mean? Pin
Gerry Schmitz27-Jan-24 8:05
mveGerry Schmitz27-Jan-24 8:05 
GeneralRe: Unhandled exception at 0x77702d63 (shell32.dll) in blahblah.exe What does this really mean? Pin
Member 1510932529-Jan-24 2:49
Member 1510932529-Jan-24 2:49 
GeneralRe: Unhandled exception at 0x77702d63 (shell32.dll) in blahblah.exe What does this really mean? Pin
jschell29-Jan-24 4:47
jschell29-Jan-24 4:47 

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.