Most voted "visual-studio" questions
Visual Studio is an integrated development environment (IDE) by Microsoft that supports several different programming languages. Use this tag for questions about any version of Visual Studio and the specific tags of each version when the question is for something that only applies to that version. Do not use this tag for problems that are not directly related to the IDE or its tools/extensions.
Learn more…852 questions
Sort by count of
-
-1
votes2
answers102
viewsBitdefender false positive when compiling using Debug Visual Studio 2019 mode
I have an application that I tried in C# to use Confuserex to try to make decompilation a little difficult, but now Bitdefender recognizes it as a Trojan, no matter what I do, change namespace…
-
-1
votes1
answer65
viewsHow to disable hotkeys in a textbox?
I have a kind of control System.Windows.Forms.TextBox populated in my form and it had some validations, as allow me to type only numbers, however I realized that if I use the shortcut key to paste a…
-
-1
votes1
answer116
viewsIs it possible to make Vscode "Responsive" Workspace equal to Sublime?
When using Vscode on half screen 2, creates a horizontal scroll that shows what’s beyond the right margin. It doesn’t exist in Sublime because it adapts to the screen size 1. It would be possible…
-
-1
votes1
answer185
viewsVisual Studio Code, how to put the console in "real time"
He was using Spider IDE. I don’t know what this is called, but there was a console where you can program in real time, when typing 1+1, for example, it returned 2 on the console. I wanted to put…
-
-1
votes1
answer21
viewsI can’t run my application for Ios anymore
I used to be able to run my application smoothly, but now little had disappeared from the debug list the option to run on Io became only android and uwp. Now it’s back up, only I can’t spin anymore.…
-
-1
votes1
answer144
viewsMy package.json is giving error!
I’m having trouble with my package.json. It is giving direct error, and when I open the Node to make the file, also gives error as shows the attached photos.…
-
-1
votes1
answer588
viewsDatareader Error Data is Null
Good night! I am deadlocked in bringing data from a Datareader with Null values. It simply does not let bring the results. I wanted it to even contain null values, so users can update in the…
-
-1
votes2
answers212
viewsC# How to make a string function execute active command?
I’m developing a C# project and I’m stuck in a mistake when it comes to moving from one form to another. The main form is called Main and the new Form1... well... I can send a variable string to…
-
-1
votes2
answers180
viewsDownload a file in C#
Good Afternoon, I’m a beginner in C# and I’ve already looked for this answer here on the internet and I didn’t find it at all, I’m working with C# and windows Forms, I have a folder inside my…
-
-1
votes1
answer56
viewsSearch a word or number inside the Archive
I’m trying to make a system that searches inside the files txt of a folder through the name entered in texbox, and after locating files containing the information the system should move all to…
-
-1
votes1
answer134
viewsHow can I delete a line from a Session?
I have a NO DATABASE ENTERED page, the registration data is being stored in Session. I am using a Reset to store this. The delete command that I used before was through Reset, which is wrong because…
-
-1
votes1
answer114
viewsMicrosoft.AspNetCore.Spaservices.Extensions. Does not exist
I just installed VS2019 into my new machine. And to test, I created a simple project. I noticed you no longer have the . net 3.1 but the 5. But my projects are in version 3 and I need them to…
-
-1
votes0
answers4
viewsPower Query M - Can you have multiple queries in the same file . pq? (Visual Studio with SDK)
I am developing a connector, whose idea is to return N queries to the caller. I already varri the internet and several tutorials from Microsoft. Inside a file . pq, I have the following: Let…
-
-1
votes0
answers17
viewsHow to set a (future) test-only date during a debug? (visual studio)
I have to test the system with some special dates. I currently do this manually, IE, where there is a "Datetime.Now" put a breakpoint and Seto the date I want. Another way is by changing the windows…
-
-1
votes1
answer1081
viewsERROR "Object Reference not set to an instance of an Object error" Visual Studio 2019 - Script View
Hello, I am doing lesson 6 of the Analysis Services tutorial and when trying to make the View Script the error arises: "Object Reference not set to an instance of an Object error". I just get this…
-
-1
votes1
answer127
viewsHow to Solve C++ Visual Studio Compiler Problem?
I was trying to do a Hello World in C++ in Visual Studio, but when trying to compile and run the program no bug was displayed, only a C/C compiler error message++. I already installed Minggw, and…
-
-1
votes1
answer986
viewsProblems running on VSCODE
I am able to compile my file in . C, it is written correctly (it is a simple Hello World), but when I run it, it appears this error message, it finds the.exe file, but fails to run it. I did…
-
-1
votes1
answer25
viewsInternal Server Error Importing ASP.NET Project in Visual Studio Code 2019
Hello, I’m a beginner in ASP.Net MVC and I’ve been trying to open a project in Visual Studio 2019 that I was sent zipped via Dropbox. When I Build the Project no Build error appears, but the problem…
-
-1
votes1
answer28
viewsI’m facing a problem with Datareader, in the C#programming language, Visual Studio development environment
Hello, all right? I am facing problems with Data Reader, what happens -> I have several forms/Forms, and when trying to enter one of them, in this case, the Sets form, the message appears "There…
-
-1
votes1
answer72
viewsHow to make Class1.Cs appear?
In my WEB FOLDER I have the file aspx.cs and the following code: using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using…
-
-1
votes1
answer58
viewsproblems in debugging with Xamarin
I’m a beginner in the world of programming and recently met Xamarin and decided to learn a little about him. When emulating the apps I searched how I could debug (or debug, I’m not sure what the…
-
-1
votes1
answer37
viewsI need to insert phone number and mobile number in the same textbox using masks in Windows form C#
Type I wanted to know if there is any way to create a format whenever the user type some characters (ex: 8 for phone and 9 for mobile), already identify and apply in the textbox. Or when the user…
-
-1
votes1
answer36
viewsDoes anyone know how to solve the System.Formatexception problem ("incorrect character input)
Does anyone know what could be causing the Exception error in this code? (yes, I’m a beginner) using System; class Aula06 { static void Main() { double valorCompra = 5.50; double valorVenda; double…
-
-1
votes1
answer48
viewsMake INNER JOIN with more than one table
I want to relate Inner Join in the Employee table with Address, And department and function but only that the function table is foreign key in the department table. INNER JOIN no C# SqlDataAdapter…
-
-1
votes1
answer53
viewsInsert values x into table A if exist on table B
I want to Insert in table A of the key field, but only if this key already exists in table B Example Insert key(123) in table B if there is key(123) in table a (am using sql procedures managemente…
-
-1
votes1
answer60
viewsCreate Zip files and unzip using . NET 3.5
I’m making an online installer for my Github program, I made a Form with some basic controls. using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using…
-
-1
votes1
answer22
viewsFill Labels with values from a Mysql Database table
C# and Mysql I’m trying to get the table values Employees of the current user logged into the program and displayed in the Windows of my form, however the values are not being returned, my guess is…
-
-1
votes1
answer34
viewsWhy does Arduino stop sending data?
The application (C# .Net Framework 4.7.2 in Visual Studio 2019) I’m doing sends a command to Arduino via serial and Arduino sends 'n' sensor data. However, the first time I run the program, nothing…
-
-1
votes0
answers11
viewsCombine files by removing repetitions
In the following code snippet written in C# Asp.net core mvc, the application READ the.txt files and all their contents inside a specific folder, then stores the READ content in a new file (similar…
-
-2
votes1
answer140
viewsHow to add controls created by me in Visual Studio Toolbox?
I created a control for WinForms. But I can’t find my control on Toolbox. How can I add my control to Toolbox?
-
-2
votes1
answer54
viewsConnect with Mysql universal win 10
I would like some help as I would like to know how I can get information from a Mysql database and that will be taken over by a textblock. could help me with the code that does this? EX: In Database…
-
-2
votes1
answer89
viewsSql server error on the hosting server
I’m making a website, through the Visual Studio template. With me it works, but when I go up to the server and when I soon, it gives me the error below. I used as template the SPA and Visual Studio…
-
-2
votes1
answer139
viewsOpen system32 programs by C#
I am trying to run Active Directory from my machine via C#. I can open all other common programs without problem. The program is installed in C:\Windows\system32\dsa.msc, but Visual Studio shows an…
-
-2
votes1
answer63
viewsVisual Studio with error in Google Maps API - Android 6.0 and API version 29.0.02
Installation Errors: XA5207 Install package: 'Xamarin.Android.Support.v4' available in the SDK installer. The Java library file 'C: Users vinic Appdata Local Xamarin Xamarin.Android.Support.v4…
android visual-studio google-maps google-maps-api-3 xamarin.androidasked 6 years, 8 months ago Vinicius Dantas 73 -
-2
votes2
answers463
viewsSystem.Nullreferenceexception error when trying to pass Value from one Form to another Winforms C#
I have in my application a customer registration form and a customer search form. To send values from one form to another I use the code below, I have used this same code in several other forms and…
-
-2
votes1
answer48
viewsVisual interface of vs 2017 with error
Visual interface of vs 2017 marks code in red as if they were in error (when in fact they are not) even building successfully. Build result: I already restarted vs and windows and the problem…
-
-2
votes2
answers804
viewsSAVE VARBINARY IMAGE IN DATABASE
Hello, I have a windows form application, I already have a button to upload via Filedialog to my picture box, displaying it. Follows the code private void button2_Click(object sender, EventArgs e) {…
-
-2
votes1
answer387
viewsREMOVE POINTS AND COMMAS VB.NET
Friends, Mysql does not correctly save the values with dots and commas in the currency format! i use VB.net and need a function to remove points and commas, before storing the value in the…
-
-2
votes1
answer70
viewsHow to Change a Data in the BD
I’m trying to change the data registered in the database, for example, when I click on DataGrid He pulls the dice for me textBoxs, but I wish I could save the changes made, but it does not change,…
-
-2
votes1
answer34
viewsHow to "zoom" a file into another file in visual studio code
I am with some projects in python, and to facilitate my work, I do "sub-files", ie, I create other files and "compile" them while running the program by the function: "exec". But I came across a…
-
-2
votes1
answer123
viewsCordova in Visual Studio - Compilation Error. Does not generate apk
I’m starting in Cordova and decided to try for Visual Studio Community 2017, which I successfully installed, only the Tools Package for Apache Cordova + Android SDK, Google Emulator. So, I created a…
-
-2
votes2
answers25
viewsC# popular a combo box with variable double
That make a combo box with various height values but my code does not run, the result only adds 1.47: for(double i = 1.47; i <= 2.00; i++) { cbxExemplo.Itens.Add(i); }…
-
-2
votes1
answer23
viewsFailed to install C# extension in VS Code
Hello, I have a problem to install the C# extension on my PC, it is a little old and has 32bits, and when I try to install it says that the extension is not supported. I wonder if you have how to…
-
-2
votes1
answer88
viewsNextjs does not run in Visual Studio Code, but works in command prompt
Hello, I created a standard Nextjs application using "npx create-next-app teste", I have not changed any standard file and Windows command prompt (CMD), when I use commands like "npm start", "npm…
-
-2
votes2
answers40
viewsError "The call thread cannot access this object because it belongs to a different thread."
I have a WPF application that I need to manipulate a textbox. But it gives the following error when running the part of the code that handles the textbox: System.Invalidoperationexception: 'The call…
-
-2
votes0
answers30
viewsHow to fix CS1729 error in this CAD application?
Good morning, I have a problem in a CAD application where it shows the following error: CS1729 error: "Commandmethodattribute" does not contain a constructor that accepts 0 arguments 1-…
-
-3
votes1
answer56
viewsI can’t save my record
Buneas personal, I don’t know how to handle C#, so I’m doing the program following tips on youtube and other tutorials that I find, but I came across a mistake that I haven’t found how to solve...…
-
-3
votes0
answers56
viewsI was running Py on Vscode for the first time and this message appeared:
I tried to run a py code on Vscode. print("Olá Mundo") And there was this message on the terminal: ( Python not found; run no arguments to install in the Microsoft Store or disable this shortcut…
-
-3
votes1
answer162
viewsVisual Studio Code Terminal
I searched a lot on NET and Stack and could not find the answer to this question. So let’s go. I have Windows 10 installed on my machine, and I’m trying to adapt to Visual Studio Code ( IN JAVA )?…
-
-3
votes1
answer56
viewsHow to make two Join Inner in one table?
CREATE TABLE FUNCAO ( ID_FUNCAO INT IDENTITY(1,1), NOME_FUNCAO VARCHAR(100), SALARIO VARCHAR(100), DATA VARCHAR(100), CONSTRAINT PK_FUNCAO PRIMARY KEY (ID_FUNCAO) ) CREATE TABLE DEPARTAMENTO (…