Questions tagged as 'vb.net'

0
answers

Inventory query, return null access

I have the following structure: Mycode:PrivateSubCarregaEstoque()UsingconAsOleDbConnection=GetConnection()Trycon.Open()DimsqlAsString="SELECT IdProduto, Descricao, (SELECT SUM(Entradas.QtdEntrada) FROM Entradas WHERE Entradas.IdProduto = Pro...
asked by 04.04.2016 / 02:12
1
answer

Property inheritance UserControl For Form VB.NET

How do I make a form inherit the same properties from a user control by dragging from the controlbox to the form? Example: I created a UserControl with FormBorderStyle = none , compiled and generated the DLL inside visual studio, added...
asked by 12.04.2016 / 18:25
1
answer

Vb.Net - Total record in descending order

IcreatedaprojectinVB.NETinitwhenqueryingthecodeshowsmethetotalregistrythatthecalledonehas,howeverIneedittobeindescendingordersincewhensearchingmyformalwayscarriesthelastrecord.FollowtheCode-PrivateSubCarregaTabela()'-----PegaaQtddoregistrodeumc...
asked by 17.03.2016 / 14:48
2
answers

Datagridview and checkbox - strange behavior.

I have a datagridview with some checkboxes. I have this code: Private Sub DataGridView2_CellMouseClick(sender As Object, e As DataGridViewCellMouseEventArgs) Handles DataGridView2.CellMouseClick If e.ColumnIndex > 1 Then DataGri...
asked by 15.02.2016 / 18:32
1
answer

Error inserting image loop in report pdf reports.dll .net

I have a while that will repeat 3 times an insertion of a barcode however I am using lib reports.dll to create the pdf report. This lib accepts only images saved in some directory (as far as I know), but at the moment I'm going to insert the ima...
asked by 03.03.2016 / 13:49
1
answer

SqlDataReader Not Closed?

Imports System.Data.SqlClient Public Class F_Contentor Dim F_Topo As New Form2() Dim F_Principal As New Form3() Dim Prof_Ses_Nome As String Dim Prof_Ses_Id As Integer Const cs As String = "Data Source=D01PC1\SQLEXPRESS;Initial Catalog=Desinov...
asked by 21.01.2016 / 10:44
0
answers

Problem to establish a connection between Client.exe and Server.exe using the No-ip service

I have a remote access application and needed to receive connections from my clients using the No-ip service (no-ip.com), since external ip is always dynamic. So I've already done all the settings correctly (from the Server.exe side) su...
asked by 18.11.2015 / 18:20
1
answer

XML Data Format NFe

I'm trying to insert a date into an Oracle PL-SQL table. I look for the date when reading the XML of an NFe, however the tag appears like this <dhEmi>2015-10-02T14:49:52-04:00</dhEmi> I did some searches on the internet and...
asked by 28.10.2015 / 20:12
0
answers

The underlying connection was closed / HttpWebRequest

I use this request to get the return of a page, but my connection is rejected with this message The underlying connection was closed: A connection that was expected to be kept alive was closed by the server. Follow the model of my connect...
asked by 15.10.2015 / 15:10
0
answers

Return Data Excel VB.NET

I have a problem to return the excel data to a DataGridView ... I am using the commands below Dim connectionStringExcel As String = "Driver={0};DriverId=790; Dbq={1};DefaultDir={2};Extended Properties=""HDR=yes"";" Dim driverExcel As String =...
asked by 09.11.2015 / 13:42