I have a Access database installed on a server. I have made an vb application (App1) that interogate Access and show data on a monitor, from a diferent PC I input new data (App2). A need that the App1 re-query the database periodically so the App1 monitor to show real information (including new data ).
App1:
My code is not working...
App1:
VB.NET:
Start:
Con.Open()
Dim ds As New DataSet
Dim dt As New DataTable
ds.Tables.Add(dt)
Dim da As New OleDbDataAdapter
da = New OleDbDataAdapter("SELECT [...);", Con)
da.Fill(dt)
DataGridView1.DataSource = dt.DefaultView
Con.Close()
Thread.Sleep(500)
Goto Start
My code is not working...
Last edited: