Questions tagged as 'vb.net'

2
answers

corrupt access database: "Unrecognized Database Format"

Good! I am using Microsoft Access 2007 to do my practices at home with JAVA and VB.NET. I ran the program that I had done in VB.NET when out of the blue reproaches me with the message of the title ... I tried to download the database I had in...
asked by 11.12.2016 / 23:49
2
answers

Read File .txt separated by comma

For help I need to pass these lena separated by comma to a datatable. these are the lines. at the end of the line also the separation is one per comma. 000000000000056680640,07/07/2016,1606169715409,000000933.00,DB,EXI IB INFOTEP 5016061697...
asked by 19.08.2016 / 22:00
3
answers

comma separated an array to query sql

I am using an array in VB.NET, then I pass it to a sql selection query in the following way SELECT * FROM empresa WHERE factura IN ('" & val & "') where val is an array, but the drawback is that each value of the array must be separ...
asked by 01.07.2016 / 16:35
2
answers

problem when comparing by date format

I retrieve a date from a record that is in the BD and it brings me in this format "07/01/2016 05:43:10 pm", then I compare that date to make a condition to update my record since it is the only field that can be different for all the other recor...
asked by 04.05.2016 / 15:06
1
answer

Migrate MSSOAP.SoapClient30 from VB to c #

The issue is that I'm migrating a project from VBA to C #, and along the way I found: Set SoapClient = CreateObject("MSSOAP.SoapClient30") 'Objeto Web Service Soap SoapClient.ClientProperty("ServerHTTPRequest") = True so I started t...
asked by 30.10.2018 / 15:45
1
answer

Change color datagridviewbutton

Good I'm doing a form in C #. When another window returns a dialog.result.OK I want to change the background color of the% button DataGridView , in this case to green some simple solution?     
asked by 10.07.2018 / 11:00
1
answer

Find values in a VB array

I'm doing a task to find data in an array, in this example I have an array with values 01, 02, and 03. What I do is put a value in a text box and in a FindKey function, indicate whether that value exists in the array. I do not know how I co...
asked by 18.06.2018 / 23:30
1
answer

VB.NET PINVOKE loop GetKeyState

I have some error in the next loop and I do not know what it is since it does not return any errors, it just hangs up .. While GetKeyState(Keys.Insert).ToString <> "-127" Or GetKeyState(Keys.Insert).ToString <> "-128" If GetKey...
asked by 19.05.2018 / 19:42
3
answers

Add Column Values DataGridView VB.NET

I'm doing an app and I want to add the values of the column SUBTOTAL classifying it by brand (column MARK ), the problem is that it will vary the brands. In the first instance it only occupied two marks and solved the problem with this code ....
asked by 24.03.2018 / 00:35
1
answer

VB.NET-MYSQL, ERROR the connection is already open

Hello good afternoon everyone, I turn to you for help, guidance ... I have a function that is responsible for finding a data in the Database in MySQL , if you find that data, I load the values in controls of the form (txtbox, lables, etc...
asked by 25.04.2018 / 16:45