Questions tagged as 'vb.net'

1
answer

Get the name of a textbox and save it in an MS Visual Basic array?

Cordial greeting colleagues, it turns out that I have a form, which creates labels and textbox automatically from the load of the form, according to the number of records that are in a query to the database that I have. using this code: Import...
asked by 19.02.2018 / 17:33
2
answers

Operator LIKE does not work in my app vb.net

Greetings to all. I have the following problem I have a procedure stored in SQL Server that retrieves data with the like operator, but it does not work for me. create procedure recupera_art @cadena char(40) select * from articulo where clave...
asked by 16.01.2018 / 21:08
1
answer

How to execute an sql file from Visual Basic script

I have a query made in SQLServer 2014 I want VisualBasic Script to run from a file indicating the location, or in some case some code to execute it from VisualBasic     
asked by 20.06.2017 / 16:33
1
answer

Calculate formula in textbox in VB.NET

I have three TextBox. LISTATextBox, DESCUENTOTextBox and COSTOTextbox. COSTOTextbox would be equal to LISTATextbox + DESCUENTOTextBox . My problem is that in DESCUENTOTextBox I would have to place a formula like the followi...
asked by 29.05.2017 / 23:05
1
answer

Add data to DataGridView without deleting the previous data

I'm making a point of sale with SQL Server 2012 connection but I had a problem. When I read the code of a product, it connects to the database and the product is added to the DataGridView , but when I read another product, the one I alread...
asked by 31.05.2017 / 19:37
1
answer

Error extracting data with WebBrowser by ID

In an application WinForms , my code extracts without problems the data of a web with this code: Elemento3.Text = WebBrowser1.Document.GetElementById("Elemento1").InnerText Elemento3.Text = WebBrowser1.Document.GetElementById("Elemento2"...
asked by 22.07.2017 / 22:15
2
answers

List all databases that contain a specific table

I want to list all the databases of a given server Sql Server (2008 or higher) that contain a certain table. I have seen several examples from cursors, stored procedures that run through the server databases to the use of sp_msforeachdb, which i...
asked by 22.02.2017 / 12:27
3
answers

Add hours in vb?

I have a DatagridView with hours of the form hh:mm:ss as I could add all those hours. I have the following but it does not work for me, add the time as a string. For example, 9: 22: 347: 24: 14 Dim horasT For Each row In Datos.Ro...
asked by 20.04.2017 / 14:11
1
answer

Error generating classes with xsd

The Spanish Tax Agency (AEAT) has published a series of xsd for the new system of Immediate Information Supply (SII) that will come into force as of July 2017. On other occasions as with the entry into force of the SEPA I have generated my class...
asked by 14.02.2017 / 08:18
1
answer

Equivalent of request curl en visual .net

As they are, I am trying to use the watson service, which makes a post request to an url, and the curl code is the following, I would like to know how I could do the equivalent of this request in visual .net with visual basic of language. curl...
asked by 05.01.2017 / 10:50