Questions tagged as 'vb.net'

1
answer

Access 64-bit key in the Windows Registry through 32-bit application

I need to get information about the network to list in an application I'm doing, but I'm having a problem accessing Windows Registry because of project preference. Path: Right-click on the class, click properties, and then compiler. Note...
asked by 14.03.2018 / 21:26
2
answers

How to do a multiple definition of variables in VB.Net

Hello, I usually program on the web I'm venturing into VB.net (of free and spontaneous pressure ...) and in both Typescript and Javascript and even in PHP, I have the habit of doing a multiple definition of variables. Example: var a, b, c; // d...
asked by 26.02.2018 / 20:22
2
answers

Procedure sql server 2012 + java

I want to structure an INSERT using JAVA in the same way that the INSERT is structured in VB .NET. Here's the code in VB .NET: Const _spName = "dbo.MEJT_SP_CAD_PRODUTOS" Public Function IncluirProduto(produto As MEJTProdutoEnt) As Integer...
asked by 16.10.2017 / 22:35
1
answer

How to make a button addition system with unique events to launch?

I'd like to know how to make a system in which it automatically adds a button to a file with a specific event in a FlowLayoutPanel for a specific event that, upon clicking, launches the application. The code I can do is something like this: Tr...
asked by 18.03.2017 / 16:28
1
answer

Databinding for JSON.NET objects: how to implement?

My application handles a lot of HTTP requests that return JSON data. I use the JSON.NET library to manipulate them. Here is a simulated and fairly brief example of the information (there are redundancies in the original data, which I can not pos...
asked by 08.01.2017 / 12:13
1
answer

What is the equivalent for the Handler clause in C #?

I'm following this tutorial to try to make Skype automatically accept lost friendships. The tutorial is in VB and I have to translate code for C # the problem is when I got the part of handler , I tried to translate the following code: Priv...
asked by 25.09.2016 / 14:44
1
answer

How to use RegisterStartupScript one after the other?

Is it possible to use ScriptManager.RegisterStartupScript one followed by the other? I need to use one as tabChange(); and another to display the modal, but in case it only runs the first. Code: ScriptManager.RegisterSta...
asked by 23.12.2016 / 14:50
1
answer

How and when to use "Shadows" and "Overrides"?

How and when to use Shadows and Overrides ? What are the usage recommendations for each and in what context do you use them?     
asked by 10.09.2016 / 01:50
1
answer

Import Excel data into a Visual Studio ListBox

I want a help on the title problem ... I know I can do this import through VBA, but I want my program to detect the .xls format of a spreadsheet and extract its data to a ListBox within Visual Studio. What is it like?     
asked by 26.04.2016 / 15:54
1
answer

The angles are crazy!

I am creating a simple orbit system, where you have the earth and the sun, created based on a UserControl , the problem is that I do not know why the angle gets wacky when placing an angle in the Angle property. The control is thi...
asked by 15.07.2016 / 08:24