Questions tagged as 'vb.net'

1
answer

Capture object's top clicked and apply in another vb.net

I'm creating a simple function and I need to identify the name of the object clicked on, and then collect its top . Private Sub sidebar_bt_all_MouseHover(sender As Object, e As EventArgs) Handles sidebar_bt_all.MouseHover sidebar_bar...
asked by 02.05.2017 / 22:46
1
answer

Move mouse to screen pixel (XY)

Hello everyone, I'm having a problem, well I've already got the mouse position in relation to form! For this I used a form with the border NONE, maximized, and opacity 5% and when the user clicks on this form it closes! To get the coordina...
asked by 21.04.2017 / 18:01
1
answer

Error when using invoke to update a listview

I have a thread that calls a method that does "Invoke" in the listview, but this method only works with one parameter, I need it to accept 3. My method: Private Sub Updatelv(ByVal usuarios As String, ByVal status As String, ByVal datahoraAt...
asked by 21.04.2017 / 17:09
1
answer

Shopping cart

I am performing my PAP , and I have the following problem: I will have a form in which I will have a DataGridView with the parts, and I want to double-click on the part that I want to buy, where you will later do the Insert in the databa...
asked by 29.04.2017 / 16:00
0
answers

LocalDB in Visual Basic does not connect

My application does not connect to the localDB. I've updated the SDT, I've changed the connectionstring in App.config but nothing works. The part of the code where I make the connection is this: Dim conexao As String = "Server = (LocalDB)\MS...
asked by 17.04.2017 / 22:04
0
answers

Error while compiling project in Visual Basic 6

When I try to compile my project it gives this error: Idonotknowifit'saproblemwithCrystalReports(Seebackgroundinblue),orifit'sreallytheproblemwithVisualBasic6.I'veneverworkedwithVB6,andmyactingherewouldbeonlywith%IneedtoincreasetheMaxLengthofaf...
asked by 19.04.2017 / 18:54
1
answer

Check if the index of the listbox exists?

Hello, I want to know how to identify if the index (Example: 5 does not exist) and return to 0. Follow my code: Dim avancarcoordX As Integer avancarcoordX = lbPosX.SelectedIndex + 1 lbPosX.SelectedIndex = avancarcoordX PosX.Text = lbPosX.Se...
asked by 25.04.2017 / 04:12
0
answers

I need to select ranges concatenating addresses in VBA

I have a sub in VBA that does several calculations to get into an address list of ranges     listAddresses="$ A $ 1, $ H $ 3, $ V $ 1, $ M $ 16, $ A $ 21, $ B $ 13, $ H $ 88 ..... $ T $ 44" With this list I need to select all ranges. So I trie...
asked by 06.03.2017 / 12:55
2
answers

Compare datagridview VB

I have a form with 3 datagridview. dgv1 and dgv2 will load a product code in column 01. Dgv1 is the master, has all products. Since dgv2 will only have some of these products. How do you compare and load dgv3 products only on dgv1 products...
asked by 17.03.2017 / 13:17
1
answer

run a code every 5 seconds in vb.net

I have a code that checks if the application is running, if it is not, the code starts application, if it is and it passes ... But it does so only that I execute it for the 1st time. I wish he checked every 5 seconds .. * in vb.net code:...
asked by 27.02.2017 / 22:58