Questions tagged as 'vb.net'

1
answer

Create second column in DataTable

I have DataTable where with the code: DT.Column.Add("1ª", gettype(int32)) For I = 1 To 30 DT.Rows.Add(I) Next(I) This For enumerates column 1 from 1 to 30. 'DT is declared with a new DataTable , in...
asked by 11.11.2015 / 02:16
1
answer

Authentication - Current.User.Identity returning null

My login Dim senha = "null" If Not (senhaLogin.Text = "") Then senha = senhaLogin.Text End If Dim Usuario = GetUsuario.Where(Function(a) a.Email = emailLogin.Text And a.Senha = senha) If Usuario.Count > 0 Then...
asked by 30.03.2015 / 21:03
1
answer

How do I use the OpenSSL functions in VB.Net?

Is there a DLL that I can use the OpenSSL functions, to work with signatures, PEM, etc.? How to work with it?     
asked by 28.10.2014 / 18:49
1
answer

Clear blanks of an array

I'm not finding the answer to this question, simply what I want to know is to remove empty positions from an array, for example: var(0) = "Remover" var(1) = "" var(2) = "espaços" var(3) = "" var(4) = "em" var(5) = "" var(6) = "branco" I wan...
asked by 31.05.2017 / 17:56
3
answers

Error when signing a Hash on SHA256 using Digital Certificate

Returning Invalid Algorithm Specified error, when will it be signed, how to proceed? Dim data = Encoding.UTF8.GetBytes(Me.txtCNPJEmpresa.Text + Me.txtCNPJSoftwareHouse.Text) Dim csp As RSACryptoServiceProvider = DirectCast(Certificado.Priva...
asked by 02.10.2015 / 21:23
2
answers

WebClient drops a wrong string

I'm trying to create a virtual intelligence system, and hosted the language files in my FTP. These files are from a language I made myself, called SVDB, and hosted on FTP, and when I download in the application the text file it comes with HTML....
asked by 02.01.2016 / 22:43
1
answer

How to remove certificate messages from WebBrowser?

How do I remove those annoying messages showing that the page certificate is not valid or is it insecure from the System.Windows.Forms.WebBrowser component? I tried several ways and I did not find an alternative ... One of the alternat...
asked by 23.07.2015 / 04:45
5
answers

How do I display a confirmation message when I click the delete option in the grid?

I'm trying to do this, but I can not do it! Page.ClientScript.RegisterStartupScript(objLivros.GetType(), "confirm", "confirm('Tem certeza que deseja excluir esse item?')", True)     
asked by 24.05.2015 / 23:06
1
answer

NetFramework dependencies in the project folder?

I would like to know if it is possible to embed somehow the .dll that my project uses NetFramework in its own folder. This would not require NetFramework to be installed on the client computer, since all dependencies would be in the progr...
asked by 12.05.2015 / 18:05
1
answer

convert a string to vb.net - convert.toDouble

I'm trying to convert a string to double into vb.net: Dim result as double Dim ValueString as string = "-42.1942339" result = Convert.ToDouble(ValueString) Console.WriteLine(result) I'm getting the following value -421942339...
asked by 06.04.2015 / 09:02