Click here to Skip to main content
15,915,501 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: [VB10] DataGridView Columns Error Pin
Luc Pattyn14-Sep-10 12:25
sitebuilderLuc Pattyn14-Sep-10 12:25 
GeneralRe: [VB10] DataGridView Columns Error Pin
The Mighty Atom14-Sep-10 12:32
The Mighty Atom14-Sep-10 12:32 
AnswerRe: [VB10] DataGridView Columns Error Pin
Luc Pattyn14-Sep-10 12:41
sitebuilderLuc Pattyn14-Sep-10 12:41 
GeneralRe: [VB10] DataGridView Columns Error [modified] Pin
The Mighty Atom14-Sep-10 12:50
The Mighty Atom14-Sep-10 12:50 
AnswerRe: [VB10] DataGridView Columns Error Pin
Luc Pattyn14-Sep-10 13:12
sitebuilderLuc Pattyn14-Sep-10 13:12 
GeneralRe: [VB10] DataGridView Columns Error Pin
The Mighty Atom14-Sep-10 13:16
The Mighty Atom14-Sep-10 13:16 
GeneralRe: [VB10] DataGridView Columns Error Pin
Luc Pattyn14-Sep-10 13:38
sitebuilderLuc Pattyn14-Sep-10 13:38 
GeneralRe: [VB10] DataGridView Columns Error Pin
The Mighty Atom14-Sep-10 13:54
The Mighty Atom14-Sep-10 13:54 
if myDataGridView is Nothing Then Exit Sub


With myDataGridView being the name of my DataGridView right? In my case its called dgvRAD.

Tried that but its still producing the error. I tried your second method first becuase it's a lot simpler and easier to do. But i doesn't seem to do anything. Frown | :(
I debugged and noticed that it it doesn't reach Exit Sub, even though the from is still not visible and so no control is created yet. So if i understand this, myDataGridView Is Nothing and it should jump to Exit Sub, but it does'nt, its continuing jumping though the rest of the code under my PopulateGrid sub.
This is strange, don't you agree? Frown | :(
Virtual Space Shuttle Astronaut

AnswerRe: [VB10] DataGridView Columns Error Pin
Luc Pattyn14-Sep-10 14:21
sitebuilderLuc Pattyn14-Sep-10 14:21 
GeneralRe: [VB10] DataGridView Columns Error Pin
The Mighty Atom15-Sep-10 7:24
The Mighty Atom15-Sep-10 7:24 
GeneralRe: [VB10] DataGridView Columns Error [modified] Pin
Luc Pattyn15-Sep-10 7:44
sitebuilderLuc Pattyn15-Sep-10 7:44 
GeneralRe: [VB10] DataGridView Columns Error Pin
The Mighty Atom15-Sep-10 12:09
The Mighty Atom15-Sep-10 12:09 
QuestionHow to add row header to DataGridView in vb.net Pin
Andraw Tang14-Sep-10 9:24
Andraw Tang14-Sep-10 9:24 
AnswerRe: How to add row header to DataGridView in vb.net Pin
Andraw Tang14-Sep-10 12:32
Andraw Tang14-Sep-10 12:32 
AnswerRe: How to add row header to DataGridView in vb.net Pin
Prerak Patel20-Sep-10 22:19
professionalPrerak Patel20-Sep-10 22:19 
Questionhow to create data grid control in VB6.0 Pin
jainiraj14-Sep-10 2:38
jainiraj14-Sep-10 2:38 
AnswerRe: how to create data grid control in VB6.0 Pin
Dave Kreskowiak14-Sep-10 4:09
mveDave Kreskowiak14-Sep-10 4:09 
Questionhow to read xml data from xml file in VB6.0 Pin
jainiraj14-Sep-10 0:19
jainiraj14-Sep-10 0:19 
AnswerRe: how to read xml data from xml file in VB6.0 Pin
Eddy Vluggen14-Sep-10 9:06
professionalEddy Vluggen14-Sep-10 9:06 
QuestionPowerPoint slide animations flicker when onscreen text updated Pin
Hypermommy13-Sep-10 9:43
Hypermommy13-Sep-10 9:43 
QuestionReferencing Variables in Module1 Pin
Win32SF12-Sep-10 9:13
Win32SF12-Sep-10 9:13 
AnswerRe: Referencing Variables in Module1 Pin
Eddy Vluggen12-Sep-10 9:59
professionalEddy Vluggen12-Sep-10 9:59 
GeneralRe: Referencing Variables in Module1 Pin
Win32SF12-Sep-10 10:11
Win32SF12-Sep-10 10:11 
GeneralRe: Referencing Variables in Module1 Pin
Eddy Vluggen12-Sep-10 10:27
professionalEddy Vluggen12-Sep-10 10:27 
GeneralRe: Referencing Variables in Module1 Pin
Eddy Vluggen12-Sep-10 13:38
professionalEddy Vluggen12-Sep-10 13:38 

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.