Questions tagged as 'vb.net'

1
answer

Get an Interface of a Type

I want to see if a Type is implemented by the System.IDirectOutput interface and access its methods, but I do not know how, I'm trying this: If GetType(IDirectOutput).IsAssignableFrom(Expression) Then Return CType(Expression, ID...
asked by 18.06.2015 / 01:40
1
answer

Insert ListView contents into the database (MySQL)

Hi, I'm developing an application in vb and would like to know how to pass a list created in the ListViw control to the database? so far I have built this: Private Sub criarLista() ListView1.Clear() ListView1.View = View.Details...
asked by 11.05.2015 / 17:47
2
answers

Simultaneous tasks (Best way?)

Hello, dear friends! I'm looking for the best way to work with concurrent tasks in a graphical environment. I have tried to use: (Thread), (Task) and (Backgroundworker). But in all I had the same problem: not being allowed to manipulate an ob...
asked by 17.05.2015 / 01:04
1
answer

Windows Form within Windows Form

In addition to using SplitContainer, is there any other way to place a Form inside another form, using HTML-style iframe? For the SplitContainer I am not able to change the data of the Form inside it.     
asked by 20.10.2015 / 00:32
1
answer

How do I set Nothing to a DateTime variable?

I have a function that gets a string and is converted to date time, I made a check for when empty string , return Nothing . But when it exits the function it is returning the date in this format #12:00:00 AM# , what I want is that...
asked by 13.07.2015 / 18:31
2
answers

Import Itaucripto DLL in VB

Hello, I am deploying the second via itaú ticket, however I am trying to work with ASP.NET VB and I do not have much knowledge in this language. I have done everything right and it is working locally, but when I go up to my hosting in Locaweb I...
asked by 26.02.2015 / 21:28
1
answer

Is there a race condition problem in my code?

Is there a problem in race condition in the code below? Private Shared Sub TestRandomNumberGeneration(ByVal random As Random) Dim failed As Boolean = False Parallel.For(0, 100000, Sub(i, state) Dim [next] As Integer = random....
asked by 21.04.2014 / 23:07
2
answers

VB.NET - Find text in XML file

I need some help to validate an XML file I'm using as a database. I do the insertion of the data correctly, however I need to do a validation not to insert repeated files, so I need to check if the text already exists inside the XML. My XM...
asked by 08.11.2017 / 19:40
1
answer

Get last column Access

I'm developing a small application that inserts data into a database in access. I am trying to insert the data however I wanted to get the last value of the inserted ID (automatic number) for a msgbox. provider = "Provider=Microsoft.ACE.OLEDB....
asked by 07.02.2018 / 09:34
1
answer

VB-NET Click an element (click on itself) enabled false, to be enabled true

Hello. My question is in VB-NET How can I leave Enabled true, an image that is Enabled false by clicking on it itself. Is it possible?     
asked by 30.04.2018 / 01:12