Click here to Skip to main content
15,868,016 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: I need urgent help how to synchronize web & windows database. Please help!!! Pin
Yajjoj10-Jun-09 3:55
Yajjoj10-Jun-09 3:55 
AnswerRe: I need urgent help how to synchronize web & windows database. Please help!!! Pin
Baran M10-Jun-09 2:23
Baran M10-Jun-09 2:23 
QuestionUsing VB.net 2005, How to populate the Column header to all records. Pin
Member 40276179-Jun-09 20:21
Member 40276179-Jun-09 20:21 
AnswerRe: Using VB.net 2005, How to populate the Column header to all records. Pin
Christian Graus9-Jun-09 20:31
protectorChristian Graus9-Jun-09 20:31 
GeneralRe: Using VB.net 2005, How to populate the Column header to all records. Pin
Member 402761712-Jun-09 4:44
Member 402761712-Jun-09 4:44 
AnswerRe: Using VB.net 2005, How to populate the Column header to all records. Pin
_Damian S_9-Jun-09 20:36
professional_Damian S_9-Jun-09 20:36 
GeneralRe: Using VB.net 2005, How to populate the Column header to all records. Pin
Member 402761712-Jun-09 4:37
Member 402761712-Jun-09 4:37 
QuestionProblem with DataGridView Pin
Jack Brando9-Jun-09 15:50
Jack Brando9-Jun-09 15:50 
Good day! I have a problem using DataGridView. Here's my code.

Public Class MyLibrary

Private _dgv As DataGridView
Private _recordBLL As RecordBLL
Private _dt As DataTable

Public Sub New()

Me._dgv = New DataGridView
Me._recordBLL = New RecordBLL
Me._dt = New DataTable

Me._dt = recordBLL.PrincipalMember

Me._dgv.DataSource = dt

'********* Error is displaying here ********
With Me._dgv
.Columns(0).Visible = False
.Columns(1).Width = 200
.Columns(2).Width = 600
.Columns(3).Width = 150
.Columns(3).DefaultCellStyle.Format = "MM/dd/yyyy"
End With

End Sub

ReadOnly Property MyDataGridView() As DataGridView
Get
Return _dgv
End Get
End Property

End Class

And I encountered this error. "Index was out of range. Must be non-negative and less than the size of the collection." But the data is displayed in the grid.

Pls. help me. Thank you in advance.
AnswerRe: Problem with DataGridView Pin
Christian Graus9-Jun-09 16:13
protectorChristian Graus9-Jun-09 16:13 
GeneralRe: Problem with DataGridView Pin
Jack Brando9-Jun-09 16:31
Jack Brando9-Jun-09 16:31 
GeneralRe: Problem with DataGridView Pin
Christian Graus9-Jun-09 17:13
protectorChristian Graus9-Jun-09 17:13 
QuestionCouple questions regarding binding a datagridviewcolumn to an auto increment database column Pin
Jon_Boy9-Jun-09 8:39
Jon_Boy9-Jun-09 8:39 
AnswerRe: Couple questions regarding binding a datagridviewcolumn to an auto increment database column Pin
Johan Hakkesteegt9-Jun-09 22:10
Johan Hakkesteegt9-Jun-09 22:10 
AnswerRe: Couple questions regarding binding a datagridviewcolumn to an auto increment database column Pin
Jon_Boy11-Jun-09 9:09
Jon_Boy11-Jun-09 9:09 
QuestionHow read a url from xml and open a tab in the webrowser? Pin
Dynamic12349-Jun-09 7:02
Dynamic12349-Jun-09 7:02 
AnswerRe: How read a url from xml and open a tab in the webrowser? Pin
Christian Graus9-Jun-09 10:50
protectorChristian Graus9-Jun-09 10:50 
GeneralRe: How read a url from xml and open a tab in the webrowser? Pin
Dynamic12349-Jun-09 22:32
Dynamic12349-Jun-09 22:32 
QuestionPadding is invalid and cannot be removed Pin
Raheem MA9-Jun-09 4:00
Raheem MA9-Jun-09 4:00 
AnswerRe: Padding is invalid and cannot be removed Pin
Dave Kreskowiak10-Jun-09 1:59
mveDave Kreskowiak10-Jun-09 1:59 
QuestionVB6.0 with Registered OCX control Pin
vhassan9-Jun-09 2:55
vhassan9-Jun-09 2:55 
AnswerRe: VB6.0 with Registered OCX control Pin
Dave Kreskowiak9-Jun-09 6:32
mveDave Kreskowiak9-Jun-09 6:32 
GeneralRe: VB6.0 with Registered OCX control Pin
vhassan9-Jun-09 19:16
vhassan9-Jun-09 19:16 
GeneralRe: VB6.0 with Registered OCX control Pin
Dave Kreskowiak10-Jun-09 1:57
mveDave Kreskowiak10-Jun-09 1:57 
AnswerRe: VB6.0 with Registered OCX control Pin
Jon_Boy9-Jun-09 7:58
Jon_Boy9-Jun-09 7:58 
QuestionProblem with restarting thread Pin
sohaib_a9-Jun-09 2:49
sohaib_a9-Jun-09 2:49 

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.