Click here to Skip to main content
15,912,400 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: VB .NET - is it really worth it? Pin
Paul Conrad20-Jul-07 8:26
professionalPaul Conrad20-Jul-07 8:26 
GeneralRe: VB .NET - is it really worth it? Pin
Kevin McFarlane20-Jul-07 9:13
Kevin McFarlane20-Jul-07 9:13 
AnswerRe: VB .NET - is it really worth it? Pin
Christian Graus20-Jul-07 19:27
protectorChristian Graus20-Jul-07 19:27 
GeneralRe: VB .NET - is it really worth it? Pin
Dave Kreskowiak21-Jul-07 1:53
mveDave Kreskowiak21-Jul-07 1:53 
Questionhot-key behavior -- override?? Pin
nlarson1120-Jul-07 6:04
nlarson1120-Jul-07 6:04 
AnswerRe: hot-key behavior -- override?? Pin
Dave Kreskowiak20-Jul-07 7:04
mveDave Kreskowiak20-Jul-07 7:04 
GeneralRe: hot-key behavior -- override?? Pin
nlarson1120-Jul-07 8:01
nlarson1120-Jul-07 8:01 
QuestionDataGridView - Why doesn't this work? Pin
penguin500020-Jul-07 5:41
penguin500020-Jul-07 5:41 
Hi,
I'm trying to update the values in a DataGridView. It works ok, and I can see my rows and columns being updated, but when I scroll down the grid, and hit the bottom, it throws an "object not set to an instance of an object" error - and the space occupied by the grid changes to a red cross.
I'm obviously doing something wrong, and have narrowed the problem down to this bit of code:

Dim gridrow As DataRowView<br />
<br />
Dim intItemFoundOnRow As Integer = bindingDataGridView2.Find("File Name", strSearch)<br />
<br />
If intItemFoundOnRow <> -1 Then<br />
<br />
  gridrow = bindingDataGridView2.Item(intItemFoundOnRow)<br />
<br />
  gridrow.BeginEdit()<br />
<br />
  gridrow.Item("Columns in Database") = CountColumnsInTable(strTableName)<br />
<br />
  gridrow.EndEdit()<br />
<br />
End If


It isn't anything to do with the CountColumnsInTable function, because I can replace this line with:

gridrow.Item("Columns in Database") = 9999

... and it makes no difference. I threw in .BeginEdit and .EndEdit in an attempt to get it to work, but these lines may as well not be there.
AnswerRe: DataGridView - Why doesn't this work? Pin
GuyThiebaut20-Jul-07 6:52
professionalGuyThiebaut20-Jul-07 6:52 
GeneralRe: DataGridView - Why doesn't this work? Pin
penguin500023-Jul-07 4:41
penguin500023-Jul-07 4:41 
QuestionAccessing Database Pin
Toyeyen20-Jul-07 5:15
Toyeyen20-Jul-07 5:15 
AnswerRe: Accessing Database Pin
Paul Conrad29-Jul-07 6:13
professionalPaul Conrad29-Jul-07 6:13 
GeneralRe: Accessing Database Pin
Toyeyen20-Aug-07 1:51
Toyeyen20-Aug-07 1:51 
GeneralRe: Accessing Database Pin
Paul Conrad20-Aug-07 13:06
professionalPaul Conrad20-Aug-07 13:06 
Questionconverting byte array Pin
captainmogo20-Jul-07 4:47
captainmogo20-Jul-07 4:47 
AnswerRe: converting byte array Pin
Colin Angus Mackay20-Jul-07 4:54
Colin Angus Mackay20-Jul-07 4:54 
AnswerRe: converting byte array Pin
Luc Pattyn20-Jul-07 6:13
sitebuilderLuc Pattyn20-Jul-07 6:13 
QuestionRaiseEvent is not firing off the event I call Pin
Marcus J. Smith20-Jul-07 2:11
professionalMarcus J. Smith20-Jul-07 2:11 
AnswerRe: RaiseEvent is not firing off the event I call Pin
Ky Nam20-Jul-07 2:21
Ky Nam20-Jul-07 2:21 
GeneralRe: RaiseEvent is not firing off the event I call Pin
Marcus J. Smith20-Jul-07 2:29
professionalMarcus J. Smith20-Jul-07 2:29 
GeneralRe: RaiseEvent is not firing off the event I call Pin
Dave Kreskowiak20-Jul-07 5:07
mveDave Kreskowiak20-Jul-07 5:07 
GeneralRe: RaiseEvent is not firing off the event I call Pin
Marcus J. Smith20-Jul-07 5:44
professionalMarcus J. Smith20-Jul-07 5:44 
GeneralRe: RaiseEvent is not firing off the event I call Pin
Dave Kreskowiak20-Jul-07 6:59
mveDave Kreskowiak20-Jul-07 6:59 
AnswerRe: RaiseEvent is not firing off the event I call Pin
Naji El Kotob20-Jul-07 2:39
Naji El Kotob20-Jul-07 2:39 
GeneralRe: RaiseEvent is not firing off the event I call Pin
Marcus J. Smith20-Jul-07 3:05
professionalMarcus J. Smith20-Jul-07 3:05 

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.