Questions tagged as 'vb.net'

1
answer

VB.NET - How to delete files being used by another process

Hello, I would like to know if there is any way inside VB.NET (I use Visual Studio 2017 [WinForm]) to delete a file being used by another process, in this case, forcibly deleting the file, even if it could harm the process that was using it, plea...
asked by 07.04.2018 / 05:07
1
answer

Visual basic -Data Listview data by tables

Dim sqlConString As String = "Server=localhost\TESTE;Database=tempTest;User Id=sa;Password=123" Try Using con = New SqlConnection(sqlConString) con.Open() Using cmd = con.Cre...
asked by 09.04.2018 / 17:24
1
answer

VB net how to send image q is in a user control to a form

I have a picturebox in a User Control, and I want that when I click on it, the picture of the picture of the control use go to a picturebox of a form, how to do it?     
asked by 29.03.2018 / 00:25
0
answers

VB.NET How to simulate mouse clicks (Real)

Hello, I know there are many questions like this, but what I want to know is not how to simulate, but rather how to REALLY make a program to actually click. I already know how to simulate the clicks perfectly, but I did a test on a website that...
asked by 08.04.2018 / 03:01
0
answers

Repeat parameters in report viewer vb.net

Save the galley! Give me a hand, I started using report viewer now. I have a listView where the purchased products are listed, at the end of the purchase I want to pass the contents of the list to a report. I am passing the list items through th...
asked by 27.03.2018 / 02:52
0
answers

VB net how to log into a site by form

I'm trying to log into a website with a program here that I did in vsiual studio 2012 with a code that I found, but it's not going to cause the lack of ID Code: Private Sub BtnIrPara_Click(sender As Object, e As EventArgs) Handles btnIrPar...
asked by 15.03.2018 / 22:05
0
answers

Set listview width for input of database data mysql vb.net

I'm having a problem adjusting the width with listview in VB.NET where the data loaded from the database does not fit the width. Example: You have a database record that is 250 characters wide and I put the statement as follows: If MTramo.Text...
asked by 12.03.2018 / 21:19
0
answers

vb.net and ItextSharp

Thanks to all, I have a problem, through a list I am trying to create a PDF, with the title and the content. Example: Title 1 Title 1 description My problem is that if you have more than one content for Title 1 it will always duplicate...
asked by 21.03.2018 / 00:56
0
answers

Save a form as a PDF in VB

Hello, I have a simple form made in VB and would like to convert it into a PDF file, I heard of a command to print (which would be Form1.PrintForm ) but I could not use it. I would like to know if anyone knows a command that transforms a...
asked by 09.03.2018 / 16:32
0
answers

Error The value of '0' is not valid for 'index'. 'index' should be between 0 and -1

I'm working on a new bot but when I try to evoke the click it presents me the error    The value of '0' is not valid for 'index'. 'index' should be between 0 and -1. I have tried several ways to click on the respective butao but the butao...
asked by 02.03.2018 / 15:16