Click here to Skip to main content
15,888,461 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Form Closing Pin
MatrixCoder22-Mar-07 10:47
MatrixCoder22-Mar-07 10:47 
GeneralRe: Form Closing Pin
harveyhanson22-Mar-07 11:03
harveyhanson22-Mar-07 11:03 
GeneralRe: Form Closing Pin
MatrixCoder22-Mar-07 11:53
MatrixCoder22-Mar-07 11:53 
GeneralRe: Form Closing Pin
manni_n22-Mar-07 12:00
manni_n22-Mar-07 12:00 
QuestionWhy cant I use the .NET validators? Pin
Marcus J. Smith22-Mar-07 8:43
professionalMarcus J. Smith22-Mar-07 8:43 
AnswerRe: Why cant I use the .NET validators? Pin
Christian Graus22-Mar-07 8:47
protectorChristian Graus22-Mar-07 8:47 
GeneralRe: Why cant I use the .NET validators? Pin
Marcus J. Smith22-Mar-07 9:17
professionalMarcus J. Smith22-Mar-07 9:17 
QuestionDatagrids not refreshing Pin
GuyThiebaut22-Mar-07 7:24
professionalGuyThiebaut22-Mar-07 7:24 
I populate two datagrids from queries to Access databases by calling GridPopulate_TS() from a thread.

The first time the datagrids are populated.
However if GridPopulate_TS() is called a second time the datagrids do not get populated with the new data (they remain populated with the old data).
It is as though the datagrids become stuck!

Anyone have any ideas that may help?


<code>  Public Sub GridPopulate_TS()
     Dim oDel As New _
     GridPopulateDelegate( _
     AddressOf Me.sendScanToGrid)
     Me.Invoke(oDel)
 End Sub

 Public Delegate Sub GridPopulateDelegate()


 Public Sub sendScanToGrid()

     con.ConnectionString = "PROVIDER=Microsoft.Jet.OLEDB.4.0;Data Source =" + AccessDB

     con.Open()

     ds.Clear()

     sql = "select * from qryFileInfo"
     da = New OleDbDataAdapter(sql, con)
     da.Fill(ds, "fileinfo")
     DataGrid1.SetDataBinding(ds, "fileinfo")
     DataGrid1.ReadOnly = True

     sql = "select * from qryFileTypeInfo"
     da = New OleDbDataAdapter(sql, con)
     da.Fill(ds, "filetypeinfo")
     DataGrid2.SetDataBinding(ds, "filetypeinfo")
     DataGrid2.ReadOnly = True

     con.Close()

 End Sub<code></code></code>

AnswerThe solution Pin
GuyThiebaut22-Mar-07 8:49
professionalGuyThiebaut22-Mar-07 8:49 
QuestionHow do i get the datatype size of a column or an attribute from a database... Pin
Abhijith Rao22-Mar-07 6:00
Abhijith Rao22-Mar-07 6:00 
AnswerRe: How do i get the datatype size of a column or an attribute from a database... Pin
Colin Angus Mackay22-Mar-07 6:15
Colin Angus Mackay22-Mar-07 6:15 
GeneralRe: How do i get the datatype size of a column or an attribute from a database... Pin
Abhijith Rao22-Mar-07 7:23
Abhijith Rao22-Mar-07 7:23 
GeneralRe: How do i get the datatype size of a column or an attribute from a database... Pin
Abhijith Rao24-Mar-07 3:34
Abhijith Rao24-Mar-07 3:34 
QuestionNetwork Camera Pin
Brad Fackrell22-Mar-07 5:42
Brad Fackrell22-Mar-07 5:42 
AnswerRe: Network Camera Pin
Dave Kreskowiak22-Mar-07 6:43
mveDave Kreskowiak22-Mar-07 6:43 
GeneralRe: Network Camera Pin
Brad Fackrell22-Mar-07 7:11
Brad Fackrell22-Mar-07 7:11 
GeneralRe: Network Camera Pin
Brad Fackrell22-Mar-07 7:23
Brad Fackrell22-Mar-07 7:23 
GeneralRe: Network Camera Pin
Dave Kreskowiak22-Mar-07 7:43
mveDave Kreskowiak22-Mar-07 7:43 
QuestionGet DriveLetter [modified] Pin
ayeleteric22-Mar-07 5:19
ayeleteric22-Mar-07 5:19 
AnswerRe: Get DriveLetter Pin
Christian Graus22-Mar-07 5:33
protectorChristian Graus22-Mar-07 5:33 
GeneralRe: Get DriveLetter Pin
ayeleteric22-Mar-07 5:35
ayeleteric22-Mar-07 5:35 
GeneralRe: Get DriveLetter Pin
Dave Kreskowiak22-Mar-07 6:40
mveDave Kreskowiak22-Mar-07 6:40 
GeneralRe: Get DriveLetter Pin
ayeleteric24-Mar-07 20:07
ayeleteric24-Mar-07 20:07 
QuestionTrying to utilize the auto databind features of VB.NET with no update luck... [modified] Pin
Marcus J. Smith22-Mar-07 2:25
professionalMarcus J. Smith22-Mar-07 2:25 
AnswerRe: Trying to utilize the auto databind features of VB.NET with no update luck... Pin
Christian Graus22-Mar-07 4:54
protectorChristian Graus22-Mar-07 4:54 

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.