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
-
0
votes4
answers1289
viewsHow to write a Datetimepicker to the database
Hello, I have a form with the Datetimepicker - Short (only the date). And in the database I put DataEntrada DATE My problem is, I created an insertion method but I don’t know how to pass the…
-
0
votes0
answers477
viewsHow to get User’s location - City State
I wonder how do I get user location so that I can make my systems automatically select the city of Dropdownlist City. Through a blog the author teaches how to make this development that I even tried…
-
0
votes0
answers94
viewsQR CODE reading with Cordova
How do I read a QR CODE through Cordova? I’ve seen several indications of plugins but none worked. Obs: I’m developing using Visual Studio (I don’t know if there is any influence, so the…
android visual-studio apache-cordova mobile cordova-pluginasked 6 years, 12 months ago Anderson Brunel Modolon 1,111 -
0
votes2
answers1436
viewsHow to center layout
I want to center this panel, even when the screen is maximized, I want it to stay centered. Not as it is.…
-
0
votes2
answers77
viewsError trying to save combobox and Masktextbox
I have a form with two fields: 1 Combobox I put the type of people (Physics or Legal); 1 Masktextbox with CPF; At first I don’t know what’s better if I keep the value of Index of the combobox or its…
-
0
votes1
answer38
viewsPackages do not restore Nugetpackage
After upgrading VS2017 to version 15.5.1 this project no longer restores packages I tried to remove the packages and install again but it didn’t work, reinstalled the VS didn’t work out tbm,…
-
0
votes1
answer213
viewsHow to clean Output Window from Visual Studio?
I’m writing an application that makes use of the debug class to write to the VS Output screen. Only that I would like to clean the contents of this screen through my code, because after a while it…
-
0
votes1
answer2087
viewsAdd project already exists to github
I already have a solution created on github, I’ve already created an account too, I just want to add my project already done in a repository, but I’m not getting it. I’ve already added the github…
-
0
votes1
answer105
viewsInstall Restsharp in PCL projects Xamarin.Forms
How do I install Restsharp in a PCL project (Xamarin.Forms). You are giving this error when installing: Unable to install 'Restsharp 106.3.0-alpha0002' package. You are trying to install this…
-
0
votes1
answer291
viewsConnectionstring returning null
When trying to run my project is returned me the error: System.Nullreferenceexception: 'Object reference not set to an instance of an object.' I have a bank class with the manufacturer: public bd()…
-
0
votes0
answers539
viewsOpen VS Code Projects for VS 2017
I own the layered architecture that was created in Visual Studio Code : When opening in Visual Studio 2017 besides it does not open all files : When running the project by selecting the Web.Api…
c# visual-studio software-architecture visual-studio-2017asked 6 years, 11 months ago Bruno Jesus Santos 11 -
0
votes0
answers23
viewsMy chat with signalR is not working, I’ve followed several tutorials and does not work
File [ Chathub ] using System; using System.Collections.Generic; using System.Linq; using System.Web; using Microsoft.AspNet.SignalR; namespace Sandes { public class ChatHub : Hub { public void…
-
0
votes0
answers76
viewsImport Excel library to VB.NET in Visual Studio
In a Web project in VB.NET in Visual Studio I performed the import of a library to generate Excel files. (In the Tools menu --> Extensions and Updates). I made the import on the desired page…
-
0
votes1
answer40
viewsGoogle test compare vector C++
I’m building a project and trying to use google test to compare the result of some functions. The problem is that my functions return double vectors and I can only compare double or whole in google…
-
0
votes1
answer265
viewsWhy doesn’t g++ compile the code that visual studio compiles?
already makes some projects that I test and my g++ does not compile at all my projects of visual studio, errors that appear in g++ do not exist in visual studio... anyone knows why? and how do you…
-
0
votes0
answers646
viewsI cannot access tfs by visual 2017(English)
I’m trying to access the TFS by VS2017 and I’m not getting it. The error says so: The server 'http://xx.xxx.x.xx:porta/tfs' TF30063 was not added. You are not authorized to access:…
-
0
votes1
answer70
viewsUWP application run sequence of videos in Mediaelement coming from a List<string>
I’m using the Media Element in an application UWP to run a sequence of videos, as I do for when one video ends the other runs in sequence? In the code below when the first video of…
-
0
votes2
answers315
viewsChange button name in event
I was making a change to the name of the buttons in the project and accidentally clicked twice on the button, so he opened the code, as the variable opened the code with the name button7. As I had…
-
0
votes1
answer618
viewsRemove form button and remove code
Good afternoon guys, how can I clear the code in the situation where, I put the buttons as a certain use, then we decided to take the buttons but the codes are there, ( the events click ) How can I…
-
0
votes1
answer1693
viewsGroup and add to a query in SQL Server
Good afternoon, I have the following problem: I’m developing a C# program for internal company data query. It is working perfectly, but I need to group field(s) and add another(s) that contains…
-
0
votes1
answer85
viewsSqlite Visual Studio 2008
I am trying to work with Sqlite in Visual Studio 2008 to make a system for Windows Embedded Compact 7. The problem is that it always gives the following error: A first chance exception of type…
-
0
votes2
answers3337
viewsRename Visual Studio solution folder
I did all the procedure to change the namespace name of my project, this all neat already compiling and everything, only when I go in the file explorer the folders are with the old name and can’t…
visual-studioasked 6 years, 9 months ago Jhonatas Silva 54 -
0
votes1
answer46
viewsError in Dll Visual Studio Installer
I have the following problem: when I build the visual studio installer project to generate the installer, it returns the error: I can see the dependencies of all the other dll’s and when I click to…
-
0
votes1
answer376
viewsError adding view in visual studio
Hello, I’m starting in Asp.net mvc and I’m having this problem when adding a view, would anyone know what this error is about? Error: There was an error running the Selected code Generator:…
-
0
votes0
answers27
viewsHRESULT:0x80020003 error in sql server
I am working with a Sql server database and it started to present a strange error, preventing me from accessing the design and creating new Tables. I looked on the Internet and I couldn’t fix that…
-
0
votes1
answer114
viewsOpen Visual C++ with arguments to compile
I am starting with the visual C++ and I have a project where it is necessary the visual c++ to compile the program automatically. so I thought of arguments like we can use in normal prompt like: cmd…
-
0
votes2
answers63
viewsHow to center 02 Textview of Videoview
I have 02 Textview and I want to put them in the center of a Videoview where a text is on top of each other. <?xml version="1.0" encoding="utf-8"?> <LinearLayout…
-
0
votes0
answers149
viewsHow to change the resolution of a c#webcam?
I would like to know how to change the resolution of the device, the webcam saves up to 15mpx but I can’t change the resolution of it in my program, it keeps saving the images in size 640x480. (I’ve…
-
0
votes0
answers41
viewsI’m trying to make Scaffold in visual studio with MVC 5 but is giving the following error
I’m trying and makes the following mistake This is the mistake There was an error running the Selected code Generator: 'Unable to Retrieve Metadata for 'iceguara.Models.Member'. Using the same…
-
0
votes1
answer54
viewsMigration from Local BD to Mysql BD
I am working on an ASP.NET WEB page with MVC and I have made all model, control and display settings in Visual Studio 2017 and the same created a Local BD by SQL Server Localdb to store the data but…
-
0
votes1
answer879
viewsWhite Screen when loading the app in Android Studio
I’m using visual studio to create a mobile app. I used the command "Ionic Cordova run android" to load in my emulator in android studio my application. Apparently it seems to be going, but it just…
-
0
votes1
answer47
viewsWebsite on VS Community 2017
I downloaded the new version of VS Community 2017 and was a little confused about starting a new website. I remember going to File > New Website (below New Project). Now no more. When I choose…
-
0
votes1
answer333
viewsSite opens but does not load Cs, js, png files etc
I migrated VS2012 to VS2017, and in my solution I have 3 sites, 2 of which I run and have no problem and in the other when I debug it opens but the whole part of Design is not loaded(css, js, png,…
-
0
votes0
answers94
viewsError creating installer by Visual Studio 2015
Good evening guys, I’m creating an installer of an application that uses Sqlite database, at the time of compiling the installer, it displays a Warning stating that SQL Server is required with some…
-
0
votes1
answer269
viewsI can’t clone a project through Git and Visual Studio 2017
When I try to clone a project inside Visual Studio 2017(Enterprise and Community - tried both), I have this mistake: Git process failed unexpectedly. Clonecommand.Executeclone I think it might be my…
-
0
votes0
answers67
viewsHow to terminate software after a certain time?
Guys, to be specific I need my system to be inaccessible, after reaching the time determined by me, however this time can not be through the date, I need every time that the software is initialized…
-
0
votes0
answers390
viewsVS2017 locking in design mode
Good afternoon to all. For a few days now I have been facing a problem in VS2017 that is irritating me a bit!! I have a form with a usercontrol developed by me and some grids. One of these grids was…
-
0
votes1
answer25
viewsAttach from a Classlibrary to an External application (Visual Studio)
I have a project that is a Classlibrary and this DLL runs inside a Console Application, I have a requirement here where the developers of this Classlibrary need to debug this DLL with the…
-
0
votes1
answer31
viewsUnknownnode when loading XML in class
I get the following XML from a database (modified data, but the structure is this same) <registro> <header> <codUsuario>XXX</codUsuario>…
-
0
votes1
answer701
viewsThread - Shared Memory Access Violation
I use a library to retrieve data from an Image (in unsigned char*), and use it to allocate to an Opengl Buffer (Texture). Since the image can be large, Opengl by default creates another thread to…
-
0
votes1
answer28
viewsHow to make one or more field within the screen run javascript function
I have a javascript function that should be executed when any of the two fields are made any kind of change. At first only the field #Dating when a change is performed executes the script but I want…
-
0
votes0
answers127
viewsCreating project templates in vs with existing projects
I’m trying to create a project template in vs 2017 using the SideWaffle, the problem is that it references existing projects in separate folders. ex: sln: project A project b libraries project…
-
0
votes1
answer895
viewsApplication opens and closes
After I updated my phone (ASUS Zenfone 3) for Android My apps open and close when I try to debug... I can only debug if I delete the app from my phone and compile again, does anyone know how to fix…
-
0
votes0
answers305
viewsEnable debug visual studio error
Good morning, Uso visual studio 2017 e quando minha aplicação da erro nada acontece, alguém sabe onde vou para habilitar para quando der algo erro, mostrar a linha que deu o erro no codigo? When I’m…
visual-studioasked 6 years, 7 months ago Stand Alone 350 -
0
votes0
answers227
viewsXamarin - "Problem rendering this Document"
When I try to create a new layout it doesn’t display and sends this message to me, and I didn’t even edit anything, I just created a new layout from scratch.…
visual-studio xamarin xamarin-forms xamarin.android visual-studio-2017asked 6 years, 7 months ago sdnaves 1 -
0
votes1
answer49
viewsHow to create List of a class within another class and not be mapped in Entity Frameworks
I have a class called Chamber [Table("Camara")] public class Camara { [Key] public int CamaraId { get; set; } [Display(Name = "Nome")] [Required(ErrorMessage = "O Campo {0} é requirido!")]…
-
0
votes1
answer426
viewsAdd all my modified files per command line to bitbucket
I have a Solution with several projects. I made the appropriate changes and now I need to go up to the git(bitbucket). By Visual Studio 2017 is not going, I think my machine is bugged. So, I want to…
-
0
votes1
answer43
viewsVisual studio runtimelibrary error
This shows the following runtimelibrary error: Error LNK2038 Mismatch Detected for 'Runtimelibrary': value 'Md_dynamicrelease' doesn’t match value 'Mdd_dynamicdebug' in Aimbot.obj INDIGO C:…
-
0
votes1
answer450
viewsCompile Visual Studio program with database and move to another PC
Just a basic question, when making a database form in visual studio and after compiled is necessary the computer where I will pass the files to run have the sql installed or I can run the good…
-
0
votes1
answer1958
viewsConnection to SQL database in C#
Good morning friends, I am doubtful about database connection in particular for use in a project that captures database information for a Datagridview, my first problem is that table information is…