Click here to Skip to main content
15,893,487 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questionhow can i catch form event keydown if my form has datagridview control ? Pin
xingselex30-Mar-10 6:36
xingselex30-Mar-10 6:36 
AnswerRe: how can i catch form event keydown if my form has datagridview control ? Pin
Abhinav S30-Mar-10 6:48
Abhinav S30-Mar-10 6:48 
AnswerRe: how can i catch form event keydown if my form has datagridview control ? Pin
dan!sh 30-Mar-10 6:49
professional dan!sh 30-Mar-10 6:49 
QuestionVB 2008 DataGridView Pin
Filippo197430-Mar-10 5:46
Filippo197430-Mar-10 5:46 
AnswerRe: VB 2008 DataGridView Pin
dan!sh 30-Mar-10 6:12
professional dan!sh 30-Mar-10 6:12 
AnswerRe: VB 2008 DataGridView Pin
Filippo197430-Mar-10 6:18
Filippo197430-Mar-10 6:18 
GeneralRe: VB 2008 DataGridView Pin
Filippo197430-Mar-10 10:12
Filippo197430-Mar-10 10:12 
GeneralRe: VB 2008 DataGridView Pin
Sebastian Br.31-Mar-10 21:37
Sebastian Br.31-Mar-10 21:37 
Try the following:

For iRow = 0 To dgvPreview.RowCount - 1
For iCols = 0 To dgvPreview.ColumnCount - 1

(Note the additional "- 1" at the end of the lines)


Maybe it is also helpful for your further devolpments to use try-catch-blocks, to handle exceptions. Normally the Exception itself contains several useful information, which could help you to identify the error's position and circumstances.
AnswerRe: VB 2008 DataGridView Pin
William Winner30-Mar-10 11:04
William Winner30-Mar-10 11:04 
AnswerRe: VB 2008 DataGridView Pin
William Winner30-Mar-10 11:08
William Winner30-Mar-10 11:08 
QuestionCreate autowidth() Property Pin
nyt197230-Mar-10 1:32
professionalnyt197230-Mar-10 1:32 
GeneralRe: Create autowidth() Property Pin
DaveAuld30-Mar-10 4:35
professionalDaveAuld30-Mar-10 4:35 
AnswerRe: Create autowidth() Property Pin
DaveAuld30-Mar-10 11:31
professionalDaveAuld30-Mar-10 11:31 
AnswerRe: Create autowidth() Property Pin
Anubhava Dimri30-Mar-10 20:07
Anubhava Dimri30-Mar-10 20:07 
AnswerRe: Create autowidth() Property Pin
nyt197230-Mar-10 20:27
professionalnyt197230-Mar-10 20:27 
GeneralRe: Create autowidth() Property Pin
nyt19721-Apr-10 0:51
professionalnyt19721-Apr-10 0:51 
GeneralRe: Create autowidth() Property Pin
nyt19724-Apr-10 19:30
professionalnyt19724-Apr-10 19:30 
QuestionVB.NET Date Functions Calculations [modified] - SOLVED Pin
Member 442053429-Mar-10 22:43
Member 442053429-Mar-10 22:43 
AnswerRe: VB.NET Date Functions Calculations Pin
Steven J Jowett29-Mar-10 22:52
Steven J Jowett29-Mar-10 22:52 
GeneralRe: VB.NET Date Functions Calculations Pin
Member 442053429-Mar-10 23:08
Member 442053429-Mar-10 23:08 
GeneralRe: VB.NET Date Functions Calculations Pin
Member 442053429-Mar-10 23:23
Member 442053429-Mar-10 23:23 
GeneralRe: VB.NET Date Functions Calculations Pin
Steven J Jowett29-Mar-10 23:42
Steven J Jowett29-Mar-10 23:42 
QuestionResize external application Pin
csanmba29-Mar-10 10:55
csanmba29-Mar-10 10:55 
AnswerRe: Resize external application Pin
Tarakeshwar Reddy29-Mar-10 12:15
professionalTarakeshwar Reddy29-Mar-10 12:15 
GeneralRe: Resize external application Pin
csanmba30-Mar-10 1:43
csanmba30-Mar-10 1:43 

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.