Posts by Megaluk • 137 points
9 posts
-
1
votes1
answer46
viewsQ: Update main form after closing the load form
What I’m trying to do is, I need to open another form in another thread where there is a Progress bar that is indeterminated, and in the main ui I need to update the datagrid with the data from the…
-
0
votes1
answer29
viewsA: Error system indexoutofrangeexception
It was necessary to close the previous connection with Reader and open a new Dim form As New Form5 Dim sqlConString As String = "Server=localhost\TESTE;Database=tempTest;User Id=sa;Password=123"…
-
-1
votes1
answer29
viewsQ: Error system indexoutofrangeexception
Dim form As New Form5 Dim sqlConString As String = "Server=localhost\TESTE;Database=tempTest;User Id=sa;Password=123" Form7.clientNIF = DataGridView1.CurrentRow.Cells(0).Value.ToString() Try Using…
-
0
votes2
answers30
viewsA: add lines to datagridview
Dim sqlConString As String = "Server=localhost\TESTE;Database=tempTest;User Id=sa;Password=123" Dim conn = New SqlConnection(sqlConString) Try conn.Open() Dim strSQL As String = "SELECT * From…
-
1
votes2
answers30
viewsQ: add lines to datagridview
How can I declare @NIF as a string Dim sqlConString As String = "Server=localhost\TESTE;Database=tempTest;User Id=sa;Password=123" Dim conn = New SqlConnection(sqlConString) Try Conn.Open() Dim…
-
0
votes2
answers29
viewsA: How to disable the main form when another one was opened
Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Openlistaclientes.Click Form_ShowDialog() End Sub
-
-1
votes2
answers29
viewsQ: How to disable the main form when another one was opened
Disable the main form when another one was opened without closing it so you can use the second form that was opened but not click on the main form
-
0
votes1
answer79
viewsQ: Visual basic -Listview data by tables
Dim sqlConString As String = "Server=localhost\TESTE;Database=tempTest;User Id=sa;Password=123" Try Using con = New SqlConnection(sqlConString) con.Open() Using cmd = con.CreateCommand '' Para…
-
0
votes1
answer89
viewsQ: Create a php file
This code what it does is create a file only. The file receitas.txt I can list all recipes, but if not, when I will list the error. What I want is to click on the list and if there is no file,…