Questions tagged as 'vb.net'

1
answer

How to insert date data from pc to sql

I have a TextBox that captures the date of the machine using this code:    TextBox1.Text = DateTime.Now.ToString ("dd / MM / yyyy") I have a field in my sql table named Date of type date When I try to insert the data    insert into...
asked by 24.07.2017 / 19:56
1
answer

Extract database image

I need to extract images from a database and then show them in unity and when I do the query I try to save the image in an array of bytes but it does not work. Also, the problem is to pass that array to a visible image. <WebGet()>...
asked by 27.04.2017 / 10:43
2
answers

Search for equalities in VB.NET

There are 8 outputs and each of them, is identified with a letter from A to H . Each output will have a variable ( TextBox ) where the user will only put numbers and when they finish adding the numbers, they want to make an op...
asked by 07.05.2017 / 02:27
1
answer

Full control of the registry when creating / deleting / editing subkeys in Visual Basic.net

I am trying to make that by clicking on an object (called image) a value is added to the Windows registry, the point is that it does work, however, I need permission to add a subkey .. I explain: Imports Microsoft.Win32 Public Class Form1 Pri...
asked by 17.04.2017 / 07:40
2
answers

Pass value from one combobox to another label of another form in visual basic

Hello good afternoon Family. a query how can I pass value from a combobox to another label of another form? I'm doing this code in my first form: Private Sub DtgImportar_CellDoubleClick(sender As Object, e As DataGridViewCellEventArgs) Handle...
asked by 11.05.2017 / 20:46
1
answer

VB.NET- Enter values in an array

I'm making a one-dimensional array of size N (this value is entered by the user in a textbox) in Visual Basic.net. Now I want to enter the numbers to the arrangement but I can not find anywhere to do it from a textbox or a window appears and go...
asked by 02.05.2017 / 16:21
1
answer

Immediate Supply Information

I am new in Visual and I am with the subject of SII. Little by little I'm moving forward. Certificate is sent, instantiate the classes of the invoices (which has cost me his). Now inform me of the error: Código[4102] el XML no cu...
asked by 27.03.2017 / 01:16
2
answers

Resize a set of fields in a set of tables by means of a .NET loop

I have two vectors with String data Public tablas() As String = {"LinFraVen", "LinAlbVen", "LinPedCli", "LinPres", "LinFraCom", "LinAlbCom", "LinPedPro", "LinInven", "LinTarifa", "NecesidadProductos", "LinCuotas", "LinActob", "LinOrdCom", "Lin...
asked by 20.03.2017 / 12:31
1
answer

Add values of a column of a datatable using linq

With the following table: | Animales | cantidad | ----------------------- | Perros | 5 | | Gatos | 3 | | Loros | 2 | I create the datatable: Dim tabla As New DataTable() tabla.Columns.AddRange(New D...
asked by 01.04.2017 / 18:11
1
answer

VB.NET receives no response from PostgreSQL 9.3 when inserting duplicate record

I have migrated from PostgreSQL 8.3 to PostgreSQL 9.3 to be able to use the improvements implemented in this version. With version 8.2 I had no problem controlling errors when trying to insert a duplicate record with a unique key since the progr...
asked by 28.02.2017 / 08:23