Questions tagged as 'vb'

1
answer

get a range of data in Visual Basic

I would like to obtain a range of data in the visual basic function, that is to say I have 1000 data but I only want to obtain the amount of 100 data, this is my code in Visual Basic and I would like to know how to obtain the amount of data, in...
asked by 08.02.2018 / 22:49
1
answer

Run time error 13 Type mismatch

I have a problem with a macro that I am trying to make. You should look for a range of values that I give you in all the excel sheets and you should return the name of the sheets in which each value of the range appears. the error occurs when co...
asked by 02.01.2018 / 11:27
1
answer

Convert a string to a signed number

I need to convert a string with the following format -0.0092 to a number type with which I can operate later, I have tried with Val, or CdBl and both lose the sign or truncate the final result ...     
asked by 04.10.2018 / 11:16
1
answer

Get control events created? Visual Basic

I have a problem with which I have battled hours and I hope someone can help me: I am working on a system which clients will handle, remove the edges of the form to avoid being closed by customers joking or such, then I added an "Exit" button w...
asked by 06.07.2018 / 06:45
1
answer

Problem format when getting the name of an excell sheet in VBA

As ridiculous as it seems I have a problem when it comes to getting the name of a Excel sheet because it is written to me in date format. The sheet has name JUL02 and I want to get exactly the literal "JUL02", however, when reading the name...
asked by 02.04.2018 / 14:13
3
answers

Visual Basic saves bad text file

Hi, I'm doing a project with Processing, and Visual Basic. I have an application exported with processing that takes the resolution of the window of a text file. I am programming a launcher in visual basic in which you can select the resolution...
asked by 22.10.2017 / 17:52
1
answer

Save file with saveFileDialog1 in VB 2015

I am developing a desktop application that after some processes I need to record two files. To do this in a "SAVE" button I linked it to a SaveFileDialog where the operator enters the final name of the file. What I need to do is save the file a...
asked by 17.10.2017 / 16:10
1
answer

save in variables the elements of an answer xml

How to record list elements from an xml? that is, I have the answer that regeates me several elements and those elements save it in variables? example: For Each nd As Xml.XmlNode In record rec= New Response() rec.nombre = nd.Item("...
asked by 04.01.2019 / 21:27
0
answers

Create structure xml in vb

I'm making the electronic signature of an xml and I need to get the following xml structure. <ext:UBLExtensions> <ext:UBLExtension> <ext:ExtensionContent></ext:ExtensionContent> </ext:UBLExtension>...
asked by 12.11.2018 / 05:37
1
answer

Clean massive checks on VB.NET

I have the following code to clean the controls of a form, these were grouped by GroupBox and before it worked perfectly, now I had to add a panel to control my form better and this code already Do not you do the task I require, any sug...
asked by 06.11.2018 / 22:00