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
answers290
viewsDoubt in passing parameters via AJAX to ASP NET CORE Action
Friends, I’m having trouble passing a value to the action of a specific controller that takes as parameter an id of type int. AJAX var dataForm = $("#statisticId").val(); $.ajax({ contentType:…
-
1
votes0
answers317
viewsHow to send the value of a combo box to the database
Man ComboBox brings the ID Primário table Produto to be registered in a new table that is the Pacotes. So far so good, the problem is that if I select another record on ComboBox it saves as if it…
-
1
votes1
answer245
views.net core json files
I am making a simple web application, it will read a json file: { "hotelName" : "Jumeirah Creekside Hotel", "thumb": "https://loremflickr.com/130/100/dubai", "stars" : 5, "location" : "Garghoud",…
-
1
votes0
answers43
viewsI cannot add . txt files in . tar(C#) . net framework 4.6.1
Good morning! I want to add the . txt files (as shown below) in . TAR [![insert image description here][1][1] but I’m not getting it. the file . TAR is created, but the files are not added. Follow…
-
1
votes0
answers39
viewsSee Diff modifications only
I wonder if you can see only the lines added and/or removed in visual studio, not git, in visual studio compare. I would like to see only what has been removed/added, the code that has not been…
visual-studioasked 5 years, 6 months ago Danielr 91 -
1
votes0
answers29
viewsCreating a Splash Screen in dll
Well I need to show my user what is being verified, for this I need to make use of a splash screen, I was wondering if there is any way I use WPF to write the code inside my dll? I need to do in dll…
-
1
votes1
answer53
viewsHow to send the Data Time Picker date to the Mysql database
Speak guys I have a problem that is send my DTPentrar alias DataTimePicker, follows photo of the error and the code, if anyone can give a light thank you. Hugs private void btnSalvar_Click(object…
-
1
votes0
answers43
viewsHow to change the treeview + image c# . net
I want to change the treeview, follows the example below. In the image above to see what the + I am disproportionate to the name, I would like to change the size and together the design of +,…
-
1
votes1
answer114
viewsFilter words contained in Bindingsource
I need to filter in my DataGridView which has as the datasource one BindingSource (filtro_descricao). I need to search the lines for the text typed in textbox1 regardless of the order they are in…
-
1
votes0
answers152
viewsVisual Studio does not recognize CSS
I got a Bootstrap template ready, but Visual Studio 2019 is not recognizing some properties. And it’s not rendering the application.…
-
1
votes1
answer182
viewsHow to close one Usercontrol and open another via Panel
I have userControlVicles inside a Panel, in this Usercontrol has a button to register a new vehicle, I want that when you click the button the panel closes or hide the current Ucontrol and show the…
-
1
votes1
answer528
viewsHow to correctly fill a Listview with <List> C#
I have a method public List <Veiculos> selectListVeiculos() { try { using (MySqlConnection conn = new MySqlConnection(_conexaoMySQL)) { using (MySqlCommand command = new MySqlCommand("Select…
-
1
votes0
answers10
viewsNew XML file when change a AXML file xamarain for Android, Why?
I need change a AXML file in an old Xamarin.Android APP, I’m not an expert, I have just this one APP and I don’t change it in long time. When I changed the AXML file, Visual Sutdio created a new XML…
-
1
votes0
answers88
viewsLink n to n
I have a database and I wanted to dial n to n on C#, but I don’t know how to get the data from my other table. I wish where it says id_equipa the data of the team selected in the combobox Step to…
-
1
votes1
answer75
viewsVisual Studio not respecting ASP.NET Core Templates
I have a project ASP.NET Core 2.2 And within the project I have the Templates folder that has my Custom Scanfolding, for some reason it stopped working, I used it a lot. Today after several updates…
-
1
votes0
answers23
viewsProblem with go to Definition
I have a problem that arose a few days ago. I have been working on a project for 3 years. From about 10 days to the present, when executing the GO TO DEFINITION command over a given source code, a…
-
1
votes1
answer127
viewsError Read access violation in visual studio function
Good morning, I have a project to do, it is almost done, but now I have created two functions that give me reading access violation error, and I am not able to solve the problem, someone can help?…
-
1
votes2
answers65
viewsVertically indent code in Visual Studio?
In addition to this question, I come here to ask: how do I do the same process in IDE of Visual Studio? (this does not hold for Code! ) Since, automatically it transforms from it: var small_var =…
visual-studioasked 5 years, 6 months ago CypherPotato 9,292 -
1
votes1
answer176
viewsI can’t find the Web form ASP.NET in Visual Studio 2019
Hello, when trying to add a web page with extension aspx in Visual Studio 2019, I can’t find it to add, as image: Something like this image should appear: I appreciate anyone who can help me.…
-
1
votes1
answer125
viewsHow to make Selenium click a dynamically generated button?
I need the bot to make a confirmation by clicking this button, which appears in a popup: <button class="btn btn-info" id="c2e9772d-375d-47a1-9088-da9824d2e856">Sim</button> But the…
-
1
votes1
answer234
viewsWhat is and what is the difference between IIS Local and IIS Express?
What makes the "Create Virtual Directory" ?…
-
1
votes2
answers576
viewsFunction or Method to Restart an Application on the C#console
Is there any available function or method to Restart the application on the C console#? static void decision() { Console.WriteLine("\n Press the home key to recalculate. . .",…
c# visual-studio code-review main console-applicationasked 5 years, 5 months ago Gabriel Castilho 11 -
1
votes0
answers36
viewsVB.NET - Changeopacity does not work
When executing my code the following message appears to me: "BC30451 - Changeopacity is not declared. It may be inaccessible due to its level of protection." I’m making an effect on my…
-
1
votes0
answers15
viewsChange css by browser Debugger
Hello, I started in web development a little while ago, and I’m wanting to automate my service, to be able to do it faster. Before to make css changes I opened the css file in visual studio made the…
-
1
votes0
answers938
viewsIs it possible to run a Javascript file and have the output on the Node.js console inside the Visual Studio IDE 2019?
Is it possible in Visual Studio IDE 2019 to run a javascript file and get the output from the Node.js console that is inside Visual Studio? how Visual Studio Code has the Node extension called "Node…
-
1
votes0
answers38
viewsSecurity policy Browsers Servers
Hi, about the CORS, I got a good look in this link, here from SOPT, But when I was testing, in practice, I found something interesting. Using the code below in a project with XAMPP and Notepad++, I…
-
1
votes0
answers93
viewsMulti-screen configuration Visual Studio 2019
Well basically I have 2 screens, one treated as primary by windows, and another as secondary. When compiling a code on the secondary screen that is where I leave the code the execution happens on my…
visual-studioasked 5 years, 2 months ago David Ferrari 67 -
1
votes1
answer44
viewsFiltering items in a products table
Good afternoon to everyone, I have a simple application that I am developing, and I have the following problem, I have a variable "Tenure List", which already has the ID of the items, and I have a…
c# sql-server entity-framework winforms visual-studioasked 3 years, 5 months ago Mecleudio Queiroz 31 -
1
votes0
answers1254
viewsNo errors appear in Vscode (eg errors referencing wrong typed)
I’ve looked at everything I had and I haven’t got it yet... I am studying ASP.NET Core, with C#, and no errors appear in Visual Studio Code. Example: if I reference a class with the wrong name, it…
-
1
votes2
answers1062
viewsAdd-Migration does not work on EF Core 3
good afternoon. When trying to generate an initial Migration to create the database structure, I get the following error: "Unable to create an Object of type 'Meudbcontext'. For the Different…
c# visual-studio asp.net-core entity-framework-core migrationsasked 4 years, 10 months ago Marcos Reis 21 -
1
votes0
answers185
viewsHow to insert an input type file with validation in a Blazor form (Editform)
I’m following the official documentation ASP.NET Core Blazor Forms and Validation at this link Blazor form with validation and I realized that some inputs are missing, being these: input…
-
1
votes0
answers41
viewsButton to insert entries into the BD
I am conducting a project for my PEF that consists of creating a Company Database. However, I decided to put a button to add records and when I click to add, the following error appears: Failed to…
-
1
votes1
answer89
viewsConsole input is not treated correctly
When compiling my code in Visual Studio Professional 2019, it is giving error, for example: Digite sua idade : 12 Você é adulto Code: using System; //Usa A Biblioteca System public class Idade {…
-
1
votes0
answers116
viewshow to save value of a c# variable to an external file?
How can I save a variable to an external file? It was programmed in win Forms . Net Framework c#. For example: In the following we have that whenever I press the ADD button to combobox, currently…
-
1
votes0
answers82
viewsHow can I make a program open a saved file on the computer without this program running?
Hello! I would like to share a question that I am having in a program that I am developing of the Windows Application type in C#. This is a notepad for my personal use. The operation of this…
-
1
votes0
answers10
viewsProblem with WPF project in Visual Studio
Hello, I have a problem in Visual Studio and would like to know if anyone has a solution. I have created a new WPF Window: public partial class CadastroCobertura: Window { (...)} however this class…
-
1
votes0
answers22
viewsProblem with SSIS and Rest API
I have a unique problem and need help as soon as possible. The deal is this: I developed a SSIS application using Visual Studio 2019, but now discovered I need to make a connection using API. How do…
-
1
votes0
answers76
viewsREQUEST POST
Greetings, I have a test python server: from flask import request, Flask app = Flask (__name__) @app.route ('/Teste', methods=['POST']) def teste(): recebido = request.form['variavel']…
-
1
votes0
answers38
viewsWhere am I missing? A code that tries to recover data from an Access database with VB.NET
Good night, My name is Lucas and may you help me with the following doubt. I have a Windows Form in visual studio where I have a button that executes the code below. It reads an X value in the…
-
0
votes1
answer1278
viewsHow to fill a Listbox using multi thread in VB . NET?
In a Windows Form Application I have a List Box that is filled from a list of IP’s. It works like this: there is a text file (config.eep) which contains a number of IP’s, by pressing a button to…
-
0
votes1
answer49
viewsHow to use macros in VS2008?
I only know how to use macros in Netbeans according to the manual https://netbeans.org/kb/docs/ide/macro-keywords_pt_BR.html. But I wanted to know how do I use macros in vs2008? I want to set a…
-
0
votes1
answer2242
viewsVisual Studio Express 2013 for Windows Desktop installation error
I tried to install VS Express 2013 for Windows Desktop on my notebook that had just been formatted and installed Windows 8. I received a message in the setup complaining of pre requirements. Before…
-
0
votes1
answer838
viewsHow to list sql server databases in a combobox
How to list SQL Server databases in a C application combobox#
-
0
votes1
answer91
viewsVisual Studio 2010 Professional does not display Visual Studio Solutions
Visual Studio 2010 Professional which has in Add-> New Project-> Other Project Types does not display Visual Studio Solutions. I saw several posts on the internet indicating to solve the…
-
0
votes1
answer202
viewsHow to set a default page?
I downloaded a project, which when I’m going to run from this: The web server is configured not to list the contents of this directory. I’m new to this environment, what I have to set up? Note:…
-
0
votes0
answers45
viewsConsume WCF on localhost on VS2008 (Windows CE)
I am trying to consume a WCF (localhost) in a Windows CE application on VS2008. If I try to do the same thing on VS2010, everything works since it automatically creates the proxy (app.config). When…
-
0
votes2
answers2443
viewsWhat do I need to program in C#?
I use Delphi and I need something similar to program a code like that. What I have to get to start pro lawn in C#?…
-
0
votes1
answer94
viewsRibbon for Visual Studio Express 2013
How to install or activate Ribbon in Visual Studio Express 2013?
-
0
votes0
answers76
viewsVisual Studio 2013 with problem
For a long time I have been programming for WP8.1, for academic purposes. And a while ago, VS stopped displaying the UI preview, so I can’t even see buttons, textbox, and the like. How do I fix…
visual-studioasked 9 years, 8 months ago Pedro Felipe Oliveira 151 -
0
votes0
answers67
viewsManipulate Decimal Values in EXCEL + VB
I have an application that provides a webservice(Ws) (java) but I need to carry data to an excel sheet and print, my problem is, when I get Ws values depending on the operating system’s Reginal…