Questions tagged as 'vb.net'

1
answer

C # Web Api Error StatusCode: 500

Good I am developing an application that consumes an Api Web Service but when I run it I get Error StatusCode: 500, ReasonPhrase: 'Internal Server Error' This Is The Api Web Code The Connection Probe and It Works. Code C # [Ht...
asked by 06.02.2018 / 02:54
1
answer

Search for matches in a text string from a list?

I want to develop a very simple application but I'm blocked because I do not know how to start. The idea is: I have a list of authors in a TXT file I introduce a text string where several authors are separated by commas in a text box...
asked by 20.01.2018 / 15:38
1
answer

Generate event by clicking on a form vb.net

I have an application on vb.net with visual studio 2017 and I need to click on any part of the form to run a sub with code. I tried to do it like this: Public Sub Principal_Click() Handles Me.MouseClick minuto = TimeOfDay.Minute End Sub...
asked by 10.01.2018 / 19:48
1
answer

How can I generate an .exe with all the resources internally? (Visual Basic)

I have a project that I'm doing in visual studio, with vb.net, the detail is that I use files like images, audios or executable exemptions in .exe that I call by Process. My question is how can I put all of that internally in the .exe, regard...
asked by 02.12.2017 / 17:01
1
answer

Is it possible to create an excel file from MS Visual Basic?

Cordial greetings colleagues, it turns out that I am doing a program in MS Visual Basic, through the IDE Visual Studio 2017, where it is necessary to generate an excel document with a certain format and with certain formulas in some established...
asked by 25.01.2018 / 19:03
1
answer

Doubt with Visual Studio and SQL Server

Dear, It turns out that I have a system in visual studio which I wanted to generate a visible query in a datagridview, this gave me error at first, but I realized that as it added a very high amount for an int for it did not work , so I chang...
asked by 25.01.2018 / 12:25
1
answer

How to disable Ctrl + Arrow down on datagridview vb.net?

The problem is that in editing mode when doing copy-paste control is used and the arrow to move to the cell below but if you keep pressed control and the arrow goes to the last record of the datagridview and this will make the users are wrong, i...
asked by 25.01.2018 / 22:19
1
answer

Receive Json WebService

I have to get an answer from an external web service that contains a json, this answer has to reach my web service, let's say https://ejemplo/json and since I'm new using web service I do not know how to do this, my idea is that I come th...
asked by 28.10.2017 / 18:44
2
answers

Refresh a Combo Box in VB.Net

I have a problem (maybe very simple) but I have not been able to solve it, it turns out that I'm doing a form for Visual Basic .Net records, within the same I have combobox that when I load the form for the first time everything is perfectly but...
asked by 29.11.2017 / 20:28
2
answers

How to make queries prepared with VB.NET and SQL Server?

I have experience programming in Java and I have taken as a personal project to learn .NET languages (VB.NET and C #). In JAVA, the following is used to create MySQL prepared queries to avoid SQL injection: public void consultaPreparada()...
asked by 21.10.2017 / 20:53