Questions tagged as 'vb.net'

1
answer

How do I lock the mouse scroll in the DataGridView?

How to disable ScrollBar in a grid in vb.net, a problem is occurring and I want to block it to fix this.     
asked by 16.05.2015 / 22:04
2
answers

Combobox come blank VB.NET with INNER JOIN

I have the problem here and I have not found the solution yet, I am loading data in a combobox using a DATASET from an INNER JOIN done in a database SQL SERVER . So far so good that as soon as I get the cong, I would like the other combobox...
asked by 18.05.2015 / 00:26
1
answer

How to create two classes with the same methods, even one of them not being 'Partial'?

Can I create a class to implement the System.Console class, without creating extensions? Example: 'A original, da mscorlib: Public NotInheritable Class Console (...) End Class It is marked as a non-partial class, so ... you can n...
asked by 02.05.2015 / 06:41
1
answer

Get two values from a string

I'm creating a programming language and for you to define variables in it you use this code: def NomeDaVariavel = ValorDela; And I wanted to know how I get only the Nome da variável field, separated from ValorDela . Any idea...
asked by 10.05.2015 / 22:19
1
answer

How to use the Reference in an XML signature?

Questions about System.Security.Cryptography.Xml.Reference : What exactly is it for? How should I use the Reference? What to assign to it? Do I need to use this in the signature of an XML Pq? And how to use? What to do here?...
asked by 02.04.2015 / 14:24
1
answer

How do I get the value of the selected item in the listbox? [duplicate]

This way I did I could not, from Object reference not set to an instance of an object! Private Sub btnDeletarPerfil_Click(sender As Object, e As EventArgs) Handles btnDeletarPerfil.Click Roles.DeleteRole(lbPerfis.SelectedItem.Value.ToSt...
asked by 09.06.2015 / 04:52
2
answers

How do I get the text of the selected item in the listbox?

My attempt below, is giving object reference, why? how to solve?     
asked by 09.06.2015 / 22:39
1
answer

Type conversion going wrong

I'm having a data conversion problem when it passes For Each , it says that "vl_maodeobra" can not be converted from String to Integer type. The problem is that no matter the conversion I try to make the same error, just chan...
asked by 06.04.2015 / 15:29
1
answer

How to use UpdatePanel in gridview?

I have a grid and I want to make it not give postback when clicked on some boundfield (those action buttons). I did it this way, but it always refreshes the page. <asp:ScriptManager ID="ScriptManager" runat="server"><...
asked by 06.06.2015 / 04:47
3
answers

How to Pass Arguments to a class Ex: Dim t as new TL ("string", "string", "string")

I have a problem that is turning my head upside down! I am building a connection DLL with FTP server but soon I face the following problem: I need to declare the class in a form to open the connection to the FTP Server, but in this class...
asked by 11.03.2015 / 03:07