Questions tagged as 'vb'

2
answers

Get an ulimo record of a list vb.net

Hello everyone I have a variable of Type List (of) where I have saved the id, code, name, etc from a list of clients. What I need is to get the last id of the whole list ... I can do it with for each but I prefer a way where I can locate the las...
asked by 12.06.2018 / 01:19
0
answers

CALCULATE LRC in VFP

I want to pass this code to vfp to calculate the LRC of a frame that I have to send, so far I have not been able ... I could collaborate since I do not handle vfp. Private Function CheckLCR(ByVal s As String) As String Dim checksum As Integ...
asked by 08.06.2018 / 00:27
1
answer

Move a Vb.net file

I am trying to move a file inside the Server. I have this, but it is not working well at all. You can not find the correct route. Dim Origen As String = "/images/foto.jpg" Dim Destino As String = "/images/tarjetas/foto.jpg" File.Move(Origen, D...
asked by 23.05.2018 / 00:23
0
answers

problem with Application.Exit () vb 2005

I am trying to handle the issue of disconnection in my application for a Hand Held with Windows CE v5 in Visual Basic 2005. I am dealing with it in a routines module, which verifies the status of the connection. If this connection is closed, the...
asked by 21.05.2018 / 21:04
1
answer

Move a Vb.net file

I am trying to move a file inside the Server. I have this, but it is not working well at all. You can not find the correct route. Dim Origen As String = "/images/foto.jpg" Dim Destino As String = "/images/tarjetas/foto.jpg" File.Move(Origen, D...
asked by 23.05.2018 / 00:23
1
answer

Remove garbage from textBox with multiline in VB 2005

I have a TextBox with active multiline, to this textbox I have assigned the KeyUp event with the "Enter" key, with this the textbox content is passed to a global variable, and this in turn opens from another window; but when you open it in the o...
asked by 11.05.2018 / 19:23
0
answers

MessageBox VB leaves behind

At the time of deleting an object, I confirm with a MessageBox  ( System.Windows.Forms.MessageBox ), but being a web application, this MessageBox comes after the browser. The code is as follows: Dim result As Integer = S...
asked by 03.05.2018 / 17:28
1
answer

How to make a toggle button? VB NET

What I want is that by clicking on the button, being white, turning green, and then re-clicking it, putting it as before, and so on IN Visual Basic     
asked by 26.04.2018 / 18:44
0
answers

error in function insert (connexction must be valid and open)

Hello good afternoon everyone, I have a small problem in VB, I'm working with mysql, I have a button that resionarlo makes a search in a table, if that value does not exist, I wonder if I want to register, this is where the problem comes , since...
asked by 21.04.2018 / 23:42
0
answers

Does not my form keep the new values when updating?

I have the following problem, in my form when doing UPDATE it does not save the new values, it keeps those that have already been loaded in the text boxes, any idea of why it happens? I'm working on ASP.NET with VB Dim con As New...
asked by 10.03.2018 / 18:14