Questions tagged as 'vb.net'

2
answers

String.format vs. StringBuilder vs. String.Concat vs string + string

I'm doing a log in .Net which before and after each process will be filled string with the message: "proceso x realizado \n" "proceso y saltado \n" //porque o se realiza x o y "proceso a fallo al sumar \n" "proceso n [...] \n"...
asked by 23.02.2017 / 23:40
2
answers

Conversion from string DEF to type Date is not valid

I have an application made on ASP.net that runs on Windows 2000 Server In a form I have 2 inputs that receive dates, (Start Date and End Date) When I make the respective query with the Initial and Final dates, if you return th...
asked by 17.04.2018 / 22:50
1
answer

WebBrowser ActiveElement vb.net

I have a bug when I want to insert a text with more than 2000 characters from a TextArea , if it is less than that number of characters; insert the text without problems. The ActiveElement returns "Nothing" if I exceed that amoun...
asked by 14.12.2015 / 19:56
2
answers

How to pass the content of one textarea, to another from another page using JavaScript or Jquery?

I have a page called form.aspx , which contains a form with the following code: <textarea name="summernote3" id="summernote" runat="server"></textarea> <img id="Img2" alt="Editar en pantalla Completa" src="../imagenes/botones/e...
asked by 08.01.2016 / 17:43
3
answers

Merge cells in DataGridView VB.NET

The question I have is, how can I combine cells in a DataGridView? In my VB.NET project I have a DataGridView that shows information from a table in my MySQL database in the following way: And what I want is to combine the celas of t...
asked by 12.05.2016 / 14:55
2
answers

Replace "Async / Await" with "Backgroundworker"?

Greetings to all: I have known for a long time the BackgroundWorker and although it was complicated to get to understand its operation, I use it satisfactorily despite the limitations it poses. I am taking my first steps with Async/...
asked by 19.05.2017 / 08:56
1
answer

Can this code be optimized? Graphics WinForms Vb.Net

I'm new here. This code is in a form which generates the funds of the form. I clarify that the form is empty (without controls) and has the DoubleBuffer activated. I think it consumes too much memory and cpu when executed, maybe...
asked by 23.03.2018 / 05:58
1
answer

Create classes (class .vb) from a table created in MS SQL Server

I have a database created in MS SQL Server with different tables in it. What I'm trying to do is generate from this model "import" in some way to Visual Studio 2013 (Visual Basic - Framework 4.0) and generate classes automatically. For exampl...
asked by 10.02.2017 / 19:57
1
answer

Error consuming Web Service

For the month of July, a new service of the Spanish Tax Agency (AEAT) will be implemented, through which the Web Service will send information about the company's billing. The system is the SII (Immediate Information Supply). The agency has p...
asked by 14.02.2017 / 07:13
1
answer

How to encrypt and decrypt data in SQL Server

How could I encrypt and decrypt data in a database sql-server ? I have a Users table, with different fields and I want to encrypt the password field. Note: In the following answer I am working with a database of Users, with their fields...
asked by 09.11.2016 / 12:24