Questions tagged as 'vb.net'

1
answer

C # InteropServices and Visual Basic 6.0 error reference error

I made a dll in C # for use with Visual Basic 6. When I create the reference in vb6 VB6 I get the following error:    Error 91: Object variable or With block variable not set I have tried it in several ways but it always gives me the same...
asked by 03.02.2018 / 17:34
0
answers

Security in my connection SQLServer and VB.NET [closed]

My question is to check if my connection is guaranteed to alleged attacks or is vulnerable to aspects that I can not identify. The structure that I manage in my projects is the following:    Connection class. Imports System.Data.SqlClie...
asked by 01.09.2018 / 16:21
1
answer

query in Linq to entities leftjoin with an extra field

Good, I need to obtain the objects that are in a collection that if they exist in another, a field says "exists", and if they do not exist, say "it does not exist" The ProgramasLivianos object has a field that is called TieneProgram...
asked by 05.07.2017 / 13:36
1
answer

Voided sub-process message

I'm very new to Visual Basic.NET and I have the following problem. I want to login with Sql Server but when I enter the data and I accept it, I get a message:    "thread bypassed" And I have to accept that it only works. How could I fix i...
asked by 30.06.2017 / 17:24
4
answers

Convert from string to DateTime in VB.Net

My application allows you to import content from an Excel file into a DataGridView, with the aim of then sending to save all the contents to a BD, one of the columns is date type but with the format "MM / dd / yyyy" , that date before sending it...
asked by 04.10.2017 / 17:42
1
answer

Add listview columns with sql server from vb

Good, I would like you to help me, I'm doing a Listview that as default I put these values in the columns: Credit Number Quota Number Last Fee Item but I want those list view to increase the number of columns as the database has i...
asked by 17.02.2017 / 17:05
1
answer

Is it possible to connect two UdpClient to the same local socket?

I need to have a thread listening on a port UDP specific to be designated by the user and the ACK should be sent from the same port to the port from which it is listening on the local server but at the push of a button on the GUI o...
asked by 19.12.2016 / 19:45
1
answer

XML I need to insert XML2 in XML1

XML1 <?xml version="1.0" encoding="ISO-8859-1"?> <EnvioDTE xmlns="EnvioXXX" version="1.0"> <SetDTE ID="Set728384"> <Caratula version="1.0"> <Fecha>2015-06-02</Fecha> <Numero>12345</Numero> &l...
asked by 19.12.2016 / 19:43
1
answer

VB.NET Update DataGridView from another Form

Public Class FrmMenu Private _modelUsuario As New Usuario.Usuario Private _controllerUsuario As New ControllerUsuario.ControllerUsuario Private _msjAlert As String Public Sub New() ' This call i...
asked by 20.05.2016 / 01:03
1
answer

SQL query that adds the STOCK of CodeArticulo equal

I'm running a system on VB.net where I have a datagridview (MultiSelect) with the company's sales record. In another datagridview I show the articles of the selected sale (s) in the first DGV "Select IdVenta, CodigoArticulo, Descripcion, Preci...
asked by 18.05.2016 / 13:53