Questions tagged as 'vb.net'

0
answers

Write VB code in .JS file

Is it possible to write a vb code inside a file that looks like .js? For example: arquivo teste.js var testeEvento = function () { <%=MsgBox("teste")%>; }; I tried this way it did not work, it returns me this: Unc...
asked by 20.02.2017 / 22:39
0
answers

Password protected sharing

Good afternoon. I'm creating a system that lists some windows settings in VB.NET. I wonder if anyone knows where windows picks up the values to populate the Button option on the "Advanced Sharing Settings" screen (Control Panel \ All Contr...
asked by 10.03.2018 / 18:10
1
answer

Strip Status Label does not display image in Image Margin (Context Menu Strip)

I'm trying to insert an image into a StripStatusLabel, but for some reason it is not displayed in the left corner, just like a StripMenuItem. Inserts are being made in the same way: Dim teste As New ToolStripStatusLabel("Teste") Dim sair As...
asked by 06.02.2017 / 17:33
0
answers

POST Method Web API returns 'NULL'?

I am developing an Api Web with ASP with VB.NET to receive JSON parameters and I created a post method with the following code. Public Function PostValue(<FromBody()> ByVal value As String) As String return value End Fu...
asked by 21.01.2017 / 13:47
0
answers

Saving the Picturebox

I'm trying to save the contents of a picturebox, but it always saves the original image and not the one being displayed. Can anyone help me? DimmyEncoderAsEncoderDimmyImageCodecInfoAsImageCodecInfoDimmyEncoderParameterAsEncoderParameterDimmy...
asked by 25.12.2016 / 23:44
1
answer

Difference between If and IIf

In VB.NET, what's the difference between using If and IIf under these conditions? If Condicao Then x() Else y() End If IIf(Condicao, x(), y())     
asked by 23.09.2016 / 04:18
1
answer

Error PictureBox.Image My.Resources.user_add

Hello, I'm developing my CBT and have an error that I can not solve ... Below is the code: If (imgAluno.Image <> My.Resources.user_add) Then That is, I want the program to enter "If" only if the image that is in the PictureBox named i...
asked by 25.01.2017 / 04:42
0
answers

VB Module - How to direct to a site

Hello, So I tried several methods, but I did not get anything I wanted and then I came here to ask for help. It is the following, I need that when I access through the example browser: link , it does the verification that I want and then...
asked by 11.12.2016 / 00:04
0
answers

Is it possible to write audio to the SQLServer database by working with the vb.net language?

I have an application made in VB.NET where I have customer registries. Now I need to implement it as if it were a certain permission from the customers to third parties who can represent such customers. And it needs to be done with voice perm...
asked by 04.12.2016 / 20:22
2
answers

Creating component generating DLL

I modified some components by generating a DLL when compiling the project. Is there any way this DLL can only be used together with the current project? Is there any way to not generate the DLL and compile everything as a single executable?    ...
asked by 22.12.2016 / 16:57