Questions tagged as 'vb.net'

1
answer

Problem in converting a query in vb.net to a procedure with varchar

Until the% of call of the parameters takes all data correctly, the problem is at the time of going to the procedure via ADO.net, that for example, I pass the values, function and in the procedure it picks up only the first character....
asked by 28.11.2017 / 11:57
2
answers

How to get only one information from this table? VB.NET

Hello, I have this table, which has no class, id, or name. I would like to take only her phone. How would you get it? <tr> <td><a href="http://www.google.com/">1</a></td>...
asked by 18.03.2017 / 19:24
1
answer

String or binary data would be truncated

This error occurs when I try to execute my procedure, I do not know why this happens. My code: Dim con As SqlConnection = New SqlConnection() Dim cmd As SqlCommand = New SqlCommand() Try con.ConnectionString...
asked by 03.03.2017 / 17:05
2
answers

Object reference not set to an instance of an object?

I am connecting to the database and calling a procedure to insert in the database but this error occurs you know the reason: Code: Dim con As SqlConnection = New SqlConnection() Dim cmd As SqlCommand = New SqlCommand() con = Nothi...
asked by 24.02.2017 / 18:10
1
answer

Checking error out of repeat loop

I need to check if the contents of a file are in alphabetical order, but I want it to display only one message with the error check. With the code I'm using, it displays errors according to the amount of items. Dim local_arquivo As String Dim...
asked by 06.05.2016 / 17:26
1
answer

How to change the FROM parameter of sending mail so that the sending server does not appear [duplicate]

I've used this tutorial as a base, but when I send the message via email (using PHP) it appears as sending server io.wv.pt . Example 1: Example2: PHP code: <?php if (isset($_POST['postsubmit'])) { mail($_PO...
asked by 22.03.2016 / 12:13
1
answer

How to get a Type from a string

For example, I want a string containing the "System.Windows.Forms.Button" information to return a New Button() button object, would that be possible?    Note: It has the C # tag as it is easy to translate from C # to Visual...
asked by 15.02.2016 / 23:10
1
answer

How to resolve the SettingsFile error

I'm creating a project and in it, I use a theme to look beautiful. When I put the theme, all right, did not give any error or anything, just today, that gave this problem, and I can not see the Form. The error is as follows: The Settings s...
asked by 14.12.2015 / 23:25
1
answer

Is it possible to change CSS in VB.NET WebBrowser?

Hello, all good guys? my next question ... I want to disable all background-image then ... I wanted to get the html from the entire page and put nothing on the "background-image" tag leave it always empty. In the images I got .. I studi...
asked by 26.08.2015 / 07:59
1
answer

If you have this character, discard the catch

How do I make regular expression not capture what has \} in text? I want you to get all } , but I want it to be escaped with the \ character be discarded, not ignored. I am trying this expression: [^\]} but it returns a ch...
asked by 15.11.2015 / 22:06