Microsoft Q&A

Visual Studio

3,889 questions

A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.

3,889 questions with Visual Studio-related tags

Sort by: Updated
2 answers

Unable to install vcredist_x64.exe on Windows 2008 R2

Hi Team, I have a Windows 2008 R2 server, When i am trying to install the Visual C++ 2015-2019 Redistribute , no response from the .exe file. I have tried with different versions , but no response when i am trying to install the VC++. Further…

Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
698 questions
asked 2020-09-08T18:11:10.227+00:00
Sundaram, Rajasekaran 0 Reputation points
commented 2020-09-15T09:03:30.617+00:00
Anna Xiu-MSFT 11,111 Reputation points Microsoft Employee
1 answer

All my programs have Viruses

I make c++ programs with visual studio. I write to entire code myself and then compile it, but when I try to email it to someone, google says that there is a virus and won't let it send. What am I doing wrong, what counts as a virus? Here is an example…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
2,435 questions
asked 2020-09-07T00:17:32.907+00:00
Ben Leib 1 Reputation point
commented 2020-09-15T09:00:14.457+00:00
Anna Xiu-MSFT 11,111 Reputation points Microsoft Employee
1 answer

Can I exclude folders form search with ctrl+, visual studio 2019?

I use Python with Visual Studio 2019. And the repo got a big requirements.txt that generates a env\ folder. When I hit "CTRL+," (CTRL and comma) to open the "Navigate To" box it searches everywhere in the project, including the env\…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
2,435 questions
asked 2020-09-05T21:20:32.007+00:00
Lord Wolfenstein 1 Reputation point
commented 2020-09-15T08:52:51.053+00:00
Tianyu Sun-MSFT 13,071 Reputation points Microsoft Employee
2 answers One of the answers was accepted by the question author.

regex problem

Why this is not working dim litem as string = "abc-12//by][" & chr(34) & "name" System.Text.RegularExpressions.Regex.Replace(Litem, "'/.,<>=+|-)( :;~!@#$%^&*`_?[]"" ", "").ToUpper …

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
2,435 questions
asked 2020-09-09T09:24:22.65+00:00
Kodeeswaran Duraisamy 161 Reputation points
commented 2020-09-14T10:46:48.253+00:00
Kodeeswaran Duraisamy 161 Reputation points
3 answers

Console window size in c++ for VS19.

I am developing a c++ console application and would like to increase the size of the default console window that is produced by c++ under vs19. If it is possible, how would that be achieved?

Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
698 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
2,627 questions
asked 2020-09-10T03:46:22.047+00:00
Keith Lovell 61 Reputation points
commented 2020-09-14T10:14:11.497+00:00
RLWA32 28,656 Reputation points
2 answers One of the answers was accepted by the question author.

Visual Studio Professional vs Enterprise

Hi all, we would like to know the differences between Visual Studio Professional vs Enterprise. We know that Enterprise has more benefits, but we need more details and we could not find information about it. Thank you very much, Regards

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
2,435 questions
asked 2020-09-11T09:31:36.58+00:00
Miguel De Hoyos 21 Reputation points
commented 2020-09-14T08:00:56.053+00:00
Tianyu Sun-MSFT 13,071 Reputation points Microsoft Employee
1 answer

VS-2019 Debugging MFC

I'm using MFC as a shared DLL in a program with an EXE and a number of my own DLLs, some of which use MFC. Using VS-2019, when I step through my program's DEBUG build, it won't step into the MFC library source code. How do I get it to do so? Dave

Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
696 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
2,627 questions
asked 2020-09-11T13:03:50.997+00:00
David Webber 91 Reputation points
commented 2020-09-14T01:57:18.013+00:00
Dylan Zhu-MSFT 6,346 Reputation points
1 answer One of the answers was accepted by the question author.

Why does ASP.NET MVC app not create the DEFAULT login and register options?

I have created an ASP.NET MVC app in VS2017 following a tutorial. I have selected individual user accounts while creating the app. However, there is no default login or register options on the top right corner. The instructor's video shows default login…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
2,435 questions
Azure Web Apps
Azure Web Apps
A feature of Azure App Service used to create and deploy scalable, mission-critical web apps.
4,334 questions
asked 2020-09-10T19:00:33.033+00:00
Akshay Chavan 26 Reputation points
accepted 2020-09-13T17:06:41.893+00:00
Akshay Chavan 26 Reputation points
1 answer One of the answers was accepted by the question author.

Inside Clipboard.SetText("text"); how can I make it multiple lines C#

So for example I wanted to put: Clipboard.SetText("a a a a"); but its multiple lines how will i make it like that

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
2,435 questions
asked 2020-09-12T20:16:55.527+00:00
Pinkhron 21 Reputation points
accepted 2020-09-13T03:59:30.9+00:00
Pinkhron 21 Reputation points
3 answers

SSIS solution edited on VS 2019 Enterprise can't be opened on VS 2019 Pro

I've had to switch from VS 2019 Enterprise to VS 2019 Pro as the Enterprise eval licence expired. (I had to install a separate instence of VS 2019 Pro). The SSIS solution and packages that worked fine on the Enterprise version won't open in the Pro…

Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
698 questions
SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
1,854 questions
asked 2020-08-27T15:25:18.537+00:00
AntoDN 1 Reputation point
commented 2020-09-11T10:01:34.293+00:00
Monalv-MSFT 5,686 Reputation points
2 answers One of the answers was accepted by the question author.

Correct way to create different versions of my software?

Hi! I am new to Visual Studio and it might seem like a silly question, how do I control the version of my software? I am creating software in C++ and during the development process, I make incremental changes to my software and increment its version…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
2,435 questions
Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying a test as a means of analysis or diagnosis.
252 questions
Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
698 questions
asked 2020-09-03T09:49:02.147+00:00
CJha 21 Reputation points
commented 2020-09-11T10:00:47.67+00:00
Tianyu Sun-MSFT 13,071 Reputation points Microsoft Employee
7 answers

Strange screen blanking problem

About a week ago I updated VS2019 Community Edition to ver 16.7.2 (I'll provide a build number if someone can tell me where to find it...) I'm running it under Windows 10. Since the update I'm having constant issues with my screen going blank (i..e…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
2,435 questions
asked 2020-08-30T09:50:47.527+00:00
John Emmas 161 Reputation points
commented 2020-09-11T09:41:52.887+00:00
Anna Xiu-MSFT 11,111 Reputation points Microsoft Employee
4 answers

Microsoft Visual C++ 2015-2019 Downloading Problem

Hello, first of all. I tried many times download C++ 2015-2019 but it gives me error every times. When I tried to download it, it says ''vc_runtimeminimum_x64 msi''. I tried couple solutions but it doesn't solved. I downloaded Visual Studio 2017 and…

Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
698 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
2,627 questions
asked 2020-09-07T13:12:34.123+00:00
Özgür Çağan 6 Reputation points
commented 2020-09-11T05:14:37.41+00:00
Anna Xiu-MSFT 11,111 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

Visual Studio Integration Services

Hello I have Visual Studio 2019 community install on my machine, and I'm unable to create or open SSIS projects on my machine. I have install the latest version of Visual Studio, and the latest version of Microsoft.DataTools.IntegrationServices. I…

Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
698 questions
asked 2020-08-21T15:43:06.04+00:00
Graham Rock 81 Reputation points
commented 2020-09-10T09:35:38.49+00:00
Graham Rock 81 Reputation points
1 answer One of the answers was accepted by the question author.

Activate MDI window

I have an MDI app, which start as hidden, and an icon is shown in system tray. After a time (few seconds), from that system tray icon is show up a notification balloon. And when I click on this balloon, I call this code: void CMainFrame::On0Restore()…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
2,435 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
2,627 questions
asked 2020-09-02T10:08:55.493+00:00
Flaviu_ 566 Reputation points
accepted 2020-09-10T08:46:40.44+00:00
Flaviu_ 566 Reputation points
2 answers One of the answers was accepted by the question author.

new Span<byte> generates garbage, only when debugger is attached.

I have the following code: https://pastebin.com/2kDEeUn0 When running it with Ctrl+F5, the GC result is Start=0, End=0 However when running it with F5, the result is Start=0, End=38 Why is this happening and is there any way to avoid this? I'd…

Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
696 questions
asked 2020-09-02T14:03:39.137+00:00
KakCAT CAT 21 Reputation points
commented 2020-09-09T19:25:40.427+00:00
KakCAT CAT 21 Reputation points
0 answers

How to get msi installer name in custom action

I'm unable to pass the msi installer name to custom action. and don't know how to use the OrignalDatabase

Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
698 questions
asked 2020-08-30T10:34:20.923+00:00
Adeel Yousafzai 1 Reputation point
commented 2020-09-09T08:57:15.1+00:00
Anna Xiu-MSFT 11,111 Reputation points Microsoft Employee
0 answers

WPF xaml deginer tool not reapint.

I was reinstall vs2019 and install graphic driver. but, does't fix it. when scroll the xaml designer tool, it was not repaint. how can i solution this problem?

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
2,435 questions
Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,182 questions
asked 2020-08-19T05:03:05.103+00:00
TR Song 1 Reputation point
commented 2020-09-09T01:49:32.853+00:00
Sara Liu-MSFT 256 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

Is my logout functionality broke in my C# MVC application?

Hi there So I have an open bug bounty program and a member has noticed what you can do with my application is: Log into the application Using Chrome Cookie addon, copy the cookies Clear the cookies Logout of the application Now paste…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
2,435 questions
asked 2020-09-08T11:42:38.743+00:00
Long Wang 21 Reputation points
commented 2020-09-08T16:15:15.02+00:00
Long Wang 21 Reputation points
2 answers One of the answers was accepted by the question author.

Microsoft Visual C++ xxxx Redistributable (x64) Installation

Hello, Is there a way to install Microsoft Visual C++ xxxx Redistributable (x64) - xx.x.xx.xx through MEM-CM / Softare Updates / WSUS ? Thanks, Dom

Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
698 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
2,627 questions
asked 2020-09-07T03:08:02.057+00:00
Dominique DUCHEMIN 821 Reputation points
answered 2020-09-08T14:26:27.83+00:00
Dominique DUCHEMIN 821 Reputation points