Questions tagged as 'vb.net'

1
answer

Listbox items out of range

I have a listbox in a timer with items and I need to pass all items one by one to the end and then go to the first index and stop the timer. But that gives me out of reach when it passes in the latter. How can I resolve this exception? I researc...
asked by 03.08.2018 / 04:05
1
answer

Show photo of a listbox item gives me error Out Of Memory

I am making a tool that transforms a photo upload by the user into bytes array then compares those bytes with the photos in the database I was able to make the code work but when in the end it detected something the same or similar then i...
asked by 26.12.2017 / 15:40
2
answers

Sort Code does not return correct value

I have a class work whose need is to use a sort algorithm to sort a list of random numbers. My problem is that I'm throwing the items from the list of random numbers into an array, implementing the computer method and putting the ordered numb...
asked by 04.07.2016 / 14:49
1
answer

Verifying browser and version with REGEX

I'm working on a vb.net MVC system and need to detect the browser and version. I'll only use Chrome, and IE9 +. I would like to know if I can simplify the verification structure using Regex. Below is the excerpt that I use to do the verifi...
asked by 06.01.2016 / 16:50
2
answers

Encoding ASP Classic

I have an application in .asp and I was having problems with special characters, they were printed on screen in a totally unconfigured way. To solve the problem, I applied: Response.CharSet = "ISO-8859-1" Response.CodePage = 28591...
asked by 14.08.2015 / 22:03
1
answer

Software with cost. Help? [closed]

Hello, everyone! Well, my situation is this: I have a program and I want to charge for the use, but I realized that if I left free there would be more customers. So I thought of limiting the system and charging a monthly fee for what the user...
asked by 28.05.2015 / 23:33
1
answer

DateTimerPicker VBA

I'm developing an application in Visual Basic, and would like to know how to load hours saved in the database to the control DateTimePicker , I can normally enter the value in the database. Format(TimeOfDay.ToString("HH:mm:ss")) but I...
asked by 10.02.2015 / 16:14
2
answers

Change color of several Panel's dynamically

I have the following code in the button action: pnl1.BackColor = Color.DarkOrange pnl2.BackColor = Color.DarkOrange pnl3.BackColor = Color.DarkOrange pnl4.BackColor = Color.DarkOrange pnl5.BackColor = Color.DarkOrange pnl6.BackColor = Co...
asked by 10.03.2015 / 04:33
2
answers

Ensure that a set of functions work correctly

Hello everyone! I have a problem that is corroding and I think I will not be able to solve it alone ... It is the following: I have a form with a button; This button is responsible for selling a product. The sale is done in 3 steps: Discharge...
asked by 17.05.2015 / 20:51
1
answer

Accept any attachment format

I have an application where you can insert attachments and then download them. But I've done it in a way that for every file format I want to insert as an attachment, I enter a For Each this way Private Sub grdAnexo_ItemCommand(ByVal so...
asked by 03.02.2015 / 15:39