Most voted "visual-studio-2017" questions
Visual Studio 2017 refers to the latest version of the Visual Studio Integrated Development Environment (IDE) for application development for Android, iOS, Windows, Web and Cloud.
Learn more…122 questions
Sort by count of
-
1
votes1
answer37
viewsHow to choose (depending on login) which master page to run?
I wanted something like this (it doesn’t work). "The Masterpagefile property can only be set in or before the 'Page_preinit' event'." foreach (DataRow item in dt.Rows) { if…
-
1
votes1
answer451
viewsAligning fields with bootstrap inline-Forms
Good afternoon! I don’t have much experience with frontend, but I’ll have to turn around to finish a project, so I’ll need a little help. My question is, I have a few presses on the screen, and I…
-
1
votes1
answer176
viewsIs it possible to program in Javascript in Visual Studio Community 2017?
basic but specific question: In a video class asked to download the VS Code and the Node.js to start programming in Javascript How do I have the Visual Studio Community 2017 installed, I can follow…
-
1
votes0
answers49
viewsHow to Remove Chunk of Code using Find and Replace from Visual Studio with Regular Expression?
I’m with a c# application that we’re looking to remove code snippets. One of the situations I have several If/E-s, where Else doesn’t make sense. Type like this (as an example): var entidades=…
-
1
votes1
answer516
viewsPassing Date parameters for queries
I am having a problem when passing a parameter. I tried to debug by passing the Date as `string, but the problem arises that one expects a number instead of a character. After that I searched other…
-
1
votes1
answer98
viewsGenerating an xlsx file from a Gridview that is powered by a Database
Good afternoon, I am facing a problem when it comes to generating an Excel file, I was able to make the information appear in Excel and be shown on the screen, but found me with doubt when I try to…
-
1
votes0
answers222
viewsView All Columns from an Sqlite Table using Bindig
Forms, I would like to know how to display all table columns of a Sqlite database, using Binding and Listview. I’m using Visual Studio 2017, the latest version with Android. All the features of…
-
1
votes3
answers591
viewsAccess to the path 'path' is denied. VS2017
I am trying to create a file and save it in a folder created by me with the name "temporario". I created this folder on disk E: and inside my program, on disk C:. Using File.Create(file), error…
-
1
votes1
answer86
viewsXamarin-Forms - Listview expansive
I have a database to create a menu, in this I have three tables: 1 - Types of menu 2 - Groups of the menu 3 - Menu options This database will be updated and consulted by a WEB API that has already…
-
1
votes0
answers60
viewsHow do I save this image in the gallery and access it again?
I have this Xamarin Android App (not Forms) that just opens the camera and allows me to take a photo and go with it or resume. After I say I want to keep it, it appears in the app in an Imageview…
-
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
answers248
viewsVisual Studio - Managing Locally Registered Dll Publication of Homologation and Production Environment
I am working with a Dll from Itaú bank(itauCripto.dll), the documentation requires it to be registered locally on the machine running the application. So I put the Dll inside the folder %systemroot%…
-
1
votes0
answers143
viewsHow to add rows of data in a column in SQL Server?
I’m importing data from the Rais (ME). The state is Acre. I created two columns: Uf1 and Ano1. In Uf1 goes the information AC and in Ano1 receives the information 2014. Note that insert, in the…
-
0
votes1
answer455
viewsConfiguring Visual Studio to use GTK+
I’ve been researching and the only place where I found something similar was in stackoverflow in English, where the configuration for use of GTK+ is described in Visual Studio 2010. From the little…
-
0
votes1
answer219
viewsError starting a new Xamarin project
I installed Visual Studio 2017 a little while ago and everything works normal. Since yesterday I try to create a new project Xamarin and I get the following message: Error: this template attempted…
-
0
votes0
answers32
viewsDebug . net core application in Docker in windows 7
I need to generate an application in a Docker container, but my computer has windows 7 OS. I installed Docker Toolbox, and inside the bash itself I can run hello world container, but visual studio…
visual-studio debug docker asp.net-core visual-studio-2017asked 7 years, 4 months ago Weslley Rocha 169 -
0
votes0
answers39
viewsVisual Studio 2017 v15.3.0 - Bug debugging mode
Follow picture: Follow the image code above: List<string> teste = new List<string>(new string[] { "0", "1", "2", "3", "4" }); I installed the newest version today (15.3.0). Someone who…
-
0
votes1
answer853
viewsCould not find android.jar for API Level 25
I’m just trying to run a simple "Hello World" in Visual Studio. I created a project like Cross Platform. I installed Visual Studio 2017, while trying to run does not open the emulator, generating…
-
0
votes0
answers228
viewsProblem with APK Size generated by Visual Studio
I’m using the latest version of Visual Studio Community 2017, and when I get the apk, the same is getting the size 90 mega. I have already made several modifications and I did not get results. It is…
xamarin xamarin-forms xamarin.android apk visual-studio-2017asked 7 years, 1 month ago João Paulo 81 -
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
votes1
answer229
viewsConnect to a local database c#
What is the correct syntax of Sqlconnection to connect to a local database? I think it’s something like this!! SqlConnection liga = new SqlConnection(@"Data Source=(LocalDB)\v11.0;…
-
0
votes0
answers54
viewsProblems running Javascript Asp.net core
I copied some folders containing css scripts and javascript for wwwroot these files are being referenced in my Shared/_layout. A message appears in the upper corner of my Visual studio 2017 window:…
-
0
votes0
answers180
viewsApplication runs by visual studio, but does not run when executed
I’m using visual studio 2017, I created an application with WPF, the application normally runs inside the visual studio in debug mode, but if I compile it and run from inside the release folder, it…
-
0
votes1
answer10
viewsHow do I include a file needed to perform a test in the context of running Live Unit Testing
Good afternoon to you all. My unit tests depend on a configuration file to pass. However, when tests run through Live Unit Testing (LUT) they fail by not finding such a file. Currently the ULT runs…
-
0
votes0
answers348
viewsVisual Studio 2017 Design XAML bug, does not recognize Resources
internal static System.Drawing.Bitmap radio_hover_btn { get { object obj = ResourceManager.GetObject("radio_hover_btn", resourceCulture); return ((System.Drawing.Bitmap)(obj)); } } I’m having…
-
0
votes0
answers47
viewsCall error of a Python application (+Opencv) in Visual Studio 17 (C#)
I’m trying to make a "control panel" that each button will call a Python application(+Opencv) but when I run it through the Pycharm IDE, or straight from the folder, it runs perfectly, but when I…
-
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
votes0
answers21
viewsFailed to create a dll with constructors in the classes
I created a header with dll settings: globaldef. h #pragma once #ifdef OPENXML_LIB #define OPENXML __declspec(dllexport) #else #define OPENXML __declspec(dllimport) #endif // OPENXML_LIB I have…
-
0
votes0
answers23
viewsVisual Studio 2017 - Conditional Build depending on server architecture
Wanted a help on conditional compilation in visual studio, I have an SAP library that I use in my environments I need to reference the correct version of this DLL depending on the architecture of…
visual-studio-2017asked 6 years, 10 months ago Alex Becker 1 -
0
votes1
answer26
viewsGchandler.Cs Error Visual Studio 2017
Good morning, I am debugging my project and while running it I come across the following error: Someone has already dealt with this problem and can help me solve it?…
-
0
votes0
answers487
viewsVisual Studio does not auto-complete anything
I’ve always used visual studio and never had any problems. I have the community 2017 version installed, and I was using normally, however, I had to pause the development I had been doing. Now that I…
-
0
votes1
answer2152
viewsSimple App C# console in Visual Studio 2017, closes without showing the result
I’m trying to run a simple program that writes "Hello world" on VS2017: namespace OlaMundo { class Program { static void Main() { int num; System.Console.WriteLine("Número :"); num =…
-
0
votes0
answers379
viewsClass diagram from already created classes does not show the relationship
When I create a class diagram in VS2017 from existing classes, the relationship link does not appear. namespace CloudEye.Domain { public class Car { public CarPlate CarPlate { get; private set; }…
-
0
votes2
answers51
viewsHow do I get these balls out?
How can I get these balls out? http://prntscr.com/jr9vpy
visual-studio-2017asked 6 years, 5 months ago user92401 -
0
votes1
answer30
viewsHow can I remove the spacing between methods and properties?
I’m using the most updated Visual Studio 2017 Preview, and I’ve tried to uninstall and reset the settings, but this spacing remains independent of what I do. How can I remove this?…
-
0
votes2
answers118
viewsReading Files in C#
good night, a help for kindness. I have the following file: 34543;PRIMEIRA PESSOA;230778;CASADO;BANCARIO 23543;SEGUNDA PESSOA;12051985;CASADO;ADMINISTRADOR DE EMPRESAS 36116;TERCEIRA…
-
0
votes2
answers250
viewsHow to sort and list only 5 items from a list?
You see, I am developing the Dashboard of a web system, in one of the filters I should list the 5 main customers and sort them by higher value of the sums of total of issued bills. I’m already able…
-
0
votes0
answers474
viewsProblem to view report using Crystal Reports in Visual Studio 2017
I’m having trouble seeing report information using Crystal Reports in Visual Studio 2017. When I open a RPT file it is visualized as follows: Since he should open the report with the components…
-
0
votes2
answers85
viewsIF condition in Datagridview
Hello. How can I perform a check of the first number of a grid Row ? Example: If Conversions.ToString(Me.DataGridView1.CurrentRow.Cells(0).Value)[0(primeiro número da row)] == (for igual a:) 5 Then…
-
0
votes1
answer151
viewsLogin Screen Error - Xamarin Forms Visual Studio 2017 Android
I’m having a hard time finding the content of the Element Entry and compare to the value being stored in the BD Sqlite. Follow the code of my class Usuarios: public class Usuarios { [PrimaryKey,…
-
0
votes1
answer51
viewsHow to have the option to connect to more than one database in my C# Visual Studio app via the.config app
I have a C# application I made in Visual Studio. This application connects to an Sql Server database. I would like to put on my login an option in list form to choose another bank if I have more…
-
0
votes1
answer456
viewsVB.NET - How to sort a Datagridview by color
I have a Datagridview, where I do a document review. Datagridview is filled by a file, I use the OpenFileDialog to select the file and fill in Datagridview. Then I call a function where a critique…
-
0
votes0
answers52
viewsHow to make the application access the local database (BLL & DAL)
I have this link made to access there is local database, which using the executable on the computer where I created the application works and can access the database. PUBLIC DAL() { _Sqlconn = new…
visual-studio-2017asked 6 years, 5 months ago pedro7161 13 -
0
votes2
answers113
viewsDoubt integration test
I think it’s a somewhat conceptual question about the subject, but come on: I have an example method that validates a user checking if it exists in the database, thus: public bool…
-
0
votes1
answer59
viewsHow do I activate Timespan with a set time
I wanted to do a Timespan set, like this from 8:00 to 8:10 and after 16:00 to 16:10 he keeps sending a message that I created, outside of these times is not to appear. var startTimeSpan =…
-
0
votes3
answers45
viewsError while printing values, the values that are printed have nothing to do with the values that were saved
It turns out that the gets functions do not return any kind of value. And getMedidasPC(); always returns values -858993460-858993460 regardless of what is written Clientes.h void getMedidasPC();…
-
0
votes1
answer75
viewsDatagriedview scrollbar track records - C#
I have a Datagriedview where I add my items. When it arrives at a certain number of records on the grid, it adds up and we can’t see the rest. Is there any way to make Scrolbar dynamic? For example,…
-
0
votes1
answer56
viewsHow to Save Simple Application Locations Data?
I need to save simple settings information, only for when the plicative loads it recover some variables. Is there any way to do this without resorting to SQL?? Ex: in windows programs I usually save…
-
0
votes1
answer339
viewsSqlite, check the exact difference between a date, time and minutes of the current date
I need to do a check between two dates, I need to check if the date, time and minutes of a field is greater than or equal to the current date, time and minutes, I am using the sqlite. SELECT * FROM…
-
0
votes1
answer322
viewsHow to test the execution time of a code in Visual Studio 2017?
I’m trying to test the execution time of a code, but I’m always getting incorrect values, the first test will always be the one with the worst time. And most of the time the second test is always 0.…