Most voted "vb.net" questions
Visual Basic . NET (VB.NET) is an object-oriented computer programming language that can be seen as an evolution of Microsoft Visual Basic 6 (VB6), but applied on the . NET Framework by Microsoft.
Learn more…682 questions
Sort by count of
-
-1
votes1
answer29
viewsError system indexoutofrangeexception
Dim form As New Form5 Dim sqlConString As String = "Server=localhost\TESTE;Database=tempTest;User Id=sa;Password=123" Form7.clientNIF = DataGridView1.CurrentRow.Cells(0).Value.ToString() Try Using…
-
-1
votes1
answer37
viewsProblems with Visual Basic
Well, I don’t know what’s going on, apparently the problem is with the Net Framework. However, it does not appear installed in the program manager, it must be because it comes embedded with Windows…
-
-1
votes1
answer263
viewsHow to do a Vb.net routine, function that runs at a set time?
Hello need help with Vb.net in an Asp.net application, I need to create a function that runs after 24 hours for closing operations, but I have no idea how to create a function that starts alone in a…
-
-1
votes1
answer554
viewsHow to Select the second line of a textbox text and move it to the first line
I’m trying to make a text editor, but I’m finding it difficult to find a solution to select the second line of text in a multi-line textbox and I want to change the second line by pepper. I’ve tried…
vb.netasked 5 years, 8 months ago roffy miranda 37 -
-1
votes1
answer25
viewsAPS.NET MVC - BD data split
I need to do a function in VB which allows to list in a Dropdown the data of a field in the database. I have to list the data from the 'Eixox' field (in the figure above) in the Dropdown. The doubt…
-
-1
votes1
answer148
viewsHow to pick up text from a Span with Class [VB.NET]
<span class="odometer-value">0</span> That is the code. I need to take the "0" result and put it on a label. But sometimes you can have ex: 10 (2 numbers) and the code will be: <span…
-
-1
votes1
answer16
viewsDatagridviewer Horizontal Scrolling
Good morning, I am setting some datagrids of the system, however, one of them will have enough columns and size in relation to screen. In other words, she needs to create a horizontal scroll, I’ve…
vb.netasked 5 years ago Natã Vicente 19 -
-1
votes1
answer94
viewsPrint settlement document
Good afternoon, I have the following data : Filial As String, Serie As String, Tipodoc As String, NumDoc As Long And I wanted to print the document via . net, the point is that it is a settlement…
-
-1
votes1
answer18
viewsColoring Gridview line
This is my code: Private Sub ListaVeiculos_CellFormatting(sender As Object, e As DataGridViewCellFormattingEventArgs) Handles ListaVeiculos.CellFormatting For i As Integer = 0 To…
vb.netasked 4 years, 12 months ago DP WS Receptivo 77 -
-1
votes1
answer39
viewsDelete files inside folder
Delete files inside folder Well I was creating a software where it erases the files from the example folder I created a folder Hi ai when opening another software it keeps sending logs to this…
vb.netasked 4 years, 11 months ago PcakBadoor 7 -
-1
votes1
answer68
viewsError creating serial numbers - "The record already exists in the table 'dbo.Linhasnumserie'. "
Good afternoon, I’m having a problem turning an ECF, when adding the serial numbers to the line. If I add only 1 it works perfectly... What I’m doing wrong? Dim numeroserie As New GcpBENumeroSerie…
vb.netasked 4 years, 10 months ago Bruno Gomes 400 -
-1
votes1
answer83
viewsV10 - VB.NET >User Validation/Correct Password
I am trying to validate the user and password if they are correct. The Code is this: Dim adm As New AdmEngine100.clsUtilizadores Dim statusLogin As AdmEngine100.clsUtilizadores.EnumLogin statusLogin…
vb.netasked 4 years, 8 months ago Paulo Fernandes 123 -
-1
votes1
answer56
viewsHow to ignore the safety warning
Hello. I have been developing a program in Vb.net, and in it, there is a "Launcher" that downloads 2 other programs and then executes them. The problem is that it gives the following "error" when…
-
-1
votes1
answer61
viewsReceive boolean value via Avascript in a popup to be used on another page
I have a page that opens a confirmation popup, the popup is called with the window.showModalDialog, I need to take true or false of this popup, to work on page 1 where the returned value will be…
-
-1
votes1
answer151
viewsAlternative to Sendkeys in VB.net Windows 10
Does anyone know any alternative way to use Sendkeys in Windows 10? I have a program that works perfectly on Windows 7 but doesn’t work on 10 because apparently Microsoft has disabled using Sendkeys…
-
-1
votes1
answer27
viewsMove form control with Thread
I’m trying to make a little 2D game, in it when the character moves the walls also move in a way that looks like some kind of game, however using timers would be a bad idea because when I add too…
-
-1
votes1
answer21
viewsCondition access to the next form through inputbox
I am developing a simple design in basic visual. When you click the button with the Pacman photograph, an inputbox appears. I intended that in this inputbox, the user would only be able to advance…
vb.netasked 3 years, 3 months ago Pedro Curto 3 -
-1
votes1
answer23
viewsHow to start Timer.Start a service by clicking a button?
Hello! Here’s the thing, I have a visual studio solution that has two projects... The first project is a Windows Form system and the second project is a Windows Service that serves as a…
-
-2
votes1
answer1501
viewsHow to delete all files from a folder using VB Shell
I’m trying like this and I can’t: Shell("CMD.exe /c ""C:\Users\""%username%""\AppData\Local\Google\Chrome\""User Data""\Default\Cache\DEL *.* /Q"" ") In this case the folder is the Googlechrome…
-
-2
votes1
answer56
viewsGenerate code (like option value)
I am developing a "program" in visual basic, but I would like to get some information. You know those HTML options values that we selected and it generates something? I’ll give you the example:…
-
-2
votes1
answer324
viewsHow to place an exe in the Vb.net form
Well, I have the code Dim proc As Process proc = Process.Start("notepad.exe") proc.WaitForInputIdle() ' Set the panel control as the application's parent SetParent(proc.MainWindowHandle,…
-
-2
votes1
answer1375
viewsHow to convert a project from VB6 (.vbp) to VB.NET (.vbproj)?
I decompiled an application in VB, only it wasn’t . NET, it was VB6. I would like to know how to convert as I already used Vbto Converter and it crashed into one of the files. I am waiting quickly…
-
-2
votes2
answers409
viewsUsing Dvexpress Gridcontrol
I’m developing an application using Devexpress, where the user clicks on a line in Gridcontrol, when this happens the data of this line are placed in some Textbox, the difficulty has been in finding…
-
-2
votes2
answers90
viewsImage Path Console Application VB.net
Hello would like a help please regarding a problem I’m having to insert an image into my console application project. I can only use the absolute path when sending the project the client will have…
vb.netasked 5 years, 9 months ago Rodrigo de Souza silva 31 -
-2
votes1
answer387
viewsREMOVE POINTS AND COMMAS VB.NET
Friends, Mysql does not correctly save the values with dots and commas in the currency format! i use VB.net and need a function to remove points and commas, before storing the value in the…
-
-2
votes1
answer53
viewsHow to check a Datagridviewcheckboxcolumn column in VB.NET
I saw that there is a lot of material on how to verify if the check is marked or not, but I am not able to mark the box of the object inside the Datagrid. by clicking on the…
vb.netasked 4 years, 7 months ago Deivid Souza 3 -
-2
votes1
answer37
viewsUpdate Textbox data on different . ascx components, but on the same page . aspx
Once again in need of your help! Next, I have a page CadastroProposta.aspx, 2 custom components are loaded inside this page, DadosPagamento.ascx and DadosCobranca.ascx. In the component…
-
-3
votes1
answer445
viewsMessagebox appears twice
I have the following code which is triggered by Handles Button1.Click. Dim X, Cf As Double Dim A, B, C, D, J As String A = TextBox2.Text B = TextBox3.Text C = TextBox4.Text D = TextBox9.Text J =…
-
-3
votes1
answer138
viewsHow to loop ("FOR" or "WHILE" or "DO WHILE") in a row in VB.NET?
How can I make a loop of a line using VB.NET? In other languages I can do it without any problem as in the examples below: I have set as an example only for the for but in all languages as much…
vb.netasked 6 years, 5 months ago LeandroLuk 4,989 -
-3
votes2
answers242
viewsFill a multiline-textbox with all items in a combobox list
And you guys are fine ? As I can Fill a textbox with all items in a combobox list in a textbox, and combobox items can be variables come from different places. Stayed like this Code : For Each Linha…
-
-3
votes1
answer42
viewsSort hidden radiobuttons in WPF stackpanel
I have a stackpanel with several radiobuttons on it, depending on the user input some of these radiobuttons are hidden (visibility property = visibility.Hidden). I would like as this happens, the…
-
-4
votes1
answer82
viewsPull a C# form in VB
Pull a C# form in VB Good I wanted to know how I could ta pulling a form in C# via Visual basic example:…