Questions tagged as 'vb.net'

1
answer

Store Data from a txt file and save to a database with VB

Well I told you that I'm doing extracting the data from a txt file and storing it in a table for them I'm using the tools of: Sql server Visual Basic Window Form Inside my table you only have these fields: Id int identity (1,1) not...
asked by 15.02.2017 / 20:37
2
answers

Determine when a windows process is closing

I want to determine in vb code when a windows process is closed (which I have previously opened). But I get an error when I want to run: Call GetExitCodeProcess(handle_Process, lp_ExitCode) And the error message is: "Attempt to read or wri...
asked by 21.11.2016 / 22:47
1
answer

object reference not set to an instance of an object [duplicate]

   System.NullReferenceException: 'Object reference not set to an instance of an object.' Dim conexion As SqlConnection conexion.ConnectionString = "integrated security=SSPI;data source=LAPTOP-2QDQLE6A\SQLEXPRESS;" & "persist security...
asked by 06.06.2017 / 05:05
2
answers

How to avoid double logging in a system with VisualBasic

I'm doing a system of a medical office in VisualBasic and I do not know how to make the session stay active. That is, in the Login window the RUT and the password are entered, then the BD is consulted to confirm that the data is correct. If they...
asked by 15.09.2016 / 17:41
1
answer

Select within Select in SQL query with VB.net

I have 2 tables:    -Article       -Articulo_Panio The Article table has, among others, the Stock_Local field (which would be the stock that is physically in the business) and in the table Article_Panio are the items that are insid...
asked by 24.06.2016 / 00:19
2
answers

Multiple selection with mouse in Datagridview VB.NET

I have a Datagridview DGV_Historial_Ventas with the sales records and another DGV_Historial_Ventas_Articulos with the items of the sale selected in the first one (DGV_Historial_Ventas) The DGV_Historial_Ventas has the property multirow ,...
asked by 23.05.2016 / 04:22
4
answers

Export datagridview to Excel

-I get this error when opening the datagrid export to excel, will a library be necessary to correct this error? I need to export a datagrid that brings me a Select query with 251 rows to Excel, I have a code to do it but it happens that...
asked by 07.04.2016 / 19:21
2
answers

Connect Bootstrap carousel with database in VB.NET

I'm trying to link a database with a Bootstrap carousel. The carousel code I am using is the basic one, which is on the Bootstrap documentation page . So far I've only been able to run the carousel with images that I have in a folder but I h...
asked by 29.01.2016 / 22:14
1
answer

Decompose a String into parts

maybe use the .split method? , well I want to separate all this text in parts with vb.net . text > {"error":false,"title":"Alan Walker - Diamond Heart (feat. Sophia Somajo)","duration":218,"file":"http:\/\/michaelbelgium.me\/ytconve...
asked by 26.12.2018 / 01:32
2
answers

Modal window with Response.Write

I want to show a modal window that is the answer to an UPDATE to the BD of successful operation, I am defining the modal window in Response.Write but it does not show me the window, I already load the jquery libraries, bootstrap but still...
asked by 07.03.2016 / 23:09