Questions tagged as 'vb.net'

2
answers

Export Bank Table to XLSX without Interop

In the code below a Query was assigned to the sQuery variable. I need to somehow export this Query to Excel using some feature available for C # WebForm other than Interop strong>. Dim da = New OleDbDataAdapter(sQuery, Connecti...
asked by 06.06.2018 / 18:16
2
answers

Server did not recognize the value of HTTP Header SOAPAction

I'm trying to implement a webservice of a software called SmarterTrack just that I'm not getting it ... it gives me the following error: Server did not recognize the value of HTTP Header SOAPAction: http://localhost:9996/Services2/svcTickets....
asked by 06.06.2018 / 14:51
1
answer

How to get object references in vb.net or C #?

I have the following code: Dim objeto1 as new ClasseTal Dim objeto2 as new SubClasse Dim objeto3 as new SubClasse objeto2.Prop1 = objeto1 objeto3.Prop1 = objeto1 I want to count the reference number of objeto1 , in this case it woul...
asked by 29.06.2018 / 20:29
0
answers

Button action from vb .net does not work

I want to do a simple action when a button is clicked but nothing happens. Aspx file <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolderNormal" runat="server"> <asp:Button Text="text" runat="server" ID="Teste" /...
asked by 28.05.2018 / 19:39
1
answer

Html & VB net how to download an img with a link inside a Tag?

After using a WebBrowser to login to a site with vb, I want to access my site profile, and download the img from my profile <a href="#" data-target="#profile-photo" data-toggle="modal" class="profile-photo" style="background-image: url("LIN...
asked by 17.05.2018 / 00:37
2
answers

add rows to datagridview

How can I declare the @NIF as a string Dim sqlConString As String = "Server=localhost\TESTE;Database=tempTest;User Id=sa;Password=123" Dim conn = New SqlConnection(sqlConString) Try Conn.Open() Dim strSQL As String = "S...
asked by 09.05.2018 / 13:28
1
answer

Receive date from the datapicker

I'm creating a site where I have a datapicker with the following site I wanted it to save when fetching the date that was chosen from the datapicker that appears instead of the date of the textbox.     
asked by 02.05.2018 / 13:03
0
answers

How to query select with two different date formats in VB.NET?

Talk, guys! I have the dates with two different types of formats in the database, for example: MM / dd / yyyy dd / MM / yyyy HH: mm: ss But at the time of the VB.NET query, I did so and it does not work. Public Function teste (ByV...
asked by 24.04.2018 / 16:34
0
answers

VB.NET - How to make a Serial Test Loopback program on Universal Windows Platform?

I have a problem while doing the translation of C # code to VB.NET on the UWP platform doing a Serial UART Test Example made available by the Microsoft website. The program in C # is working perfectly, but when I try to run in VB.NET, the moment...
asked by 07.05.2018 / 20:18
1
answer

receive date from the datapicker as a Date

I placed on my site in asp.net the datepicker of this site and I want to receive the value as Date instead of String, so that it does not trouble with the date type of other countries. /* Brazilian initialisation for the jQuery UI date...
asked by 02.05.2018 / 17:37