[Webinar] Streamline your web hosting managementRegister Today


Microsoft Visual Studio





Microsoft Visual Studio is an integrated development environment (IDE) from Microsoft. It is used to develop computer programs for Microsoft Windows, as well as web sites, web applications and web services. Visual Studio uses Microsoft software development platforms such as Windows API, Windows Forms, Windows Presentation Foundation, Windows Store and Microsoft Silverlight. It can produce both native code and managed code.

Share tech news, updates, or what's on your mind.

Sign up to Post

Hi. I'm looking for some source code to allow me to use  3D images in visual studio or if its possible. Thanks for any help. Seamus
Will You Be GDPR Compliant by 5/28/2018?
Will You Be GDPR Compliant by 5/28/2018?

GDPR? That's a regulation for the European Union. But, if you collect data from customers or employees within the EU, then you need to know about GDPR and make sure your organization is compliant by May 2018. Check out our preparation checklist to make sure you're on track today!

MVC5 in Visual Studio 2017 breaks after I update nuget packages.  Something always breaks when I update packages and the displayed page no longer uses the _layout file.  I can repeat this and know that it's not me and is some bug.

Any ideas on how to fix this would be appreciated.
Outlook addon vsto is only enable in is compiling output folder. If i move it is not working anymore. (i use Visual Studio 2017)
Hello Experts,

I'm trying to share my Visual Studio solution in a new VSTS or Team Foundation Server Git repo.

I have a VSTS account. I'm essentially trying to create a local Git repo for my project using the guide at the following link:


I'm trying to 'Add to Source Control' from my VS2017 as shown in the following image:
However, I'm not given that option in my VS2017. I also can't see the option when I select my solution in Solution Explorer

Can someone let me know how to select the option?


Hi Experts, i was recently asked to make a change to some code in a c#we based application. I decompiled the DLL with the code I need to change using software ILSPY and .NET reflector with filegen add on. I tried both these decompilers. i then saved the source code. changed the code that needed to change. I then opened the source code project file in Visual Studio 2017 to build the DLL file again. But getting like a 107 errors mostly reading identifier expected in parts of the code such as "public static readonly HomeController.<>c <>9 = new HomeController.<>c();" It shows that the "<>" in the code is the issue. Also more errors in the code read "Type or namespace definition, or end of file expected". Could this be due to encrypted code or obscurity? I urgently need to get this resolved.
A coworker posted a report definition (.rdl) file out onto the server, asking that I help her with adding some fields from some tables to several of the data sets for the report.  I imported the report into Visual Studio (2010 SP1), but each of the data sets had a DataSource property which was not defined in my solution explorer.  If I tried to edit the data set in the query designer I received an error message:

An Error occurred while connecting to the data source.  Only the text-based query designer will be available.
Additional information:
The shared data source 'Kermit' does not exist or you do not have permissions.  For more information, contact your report server administrator.

So I created a new shared data source with that name, pointing it to the appropriate Server and database, but I'm still getting that error.

If I change the data source to another previously defined data source, which works for other reports in my VS solution, I can open the data sets and run the queries just fine in the query designer.  But when I try to preview this report I'm getting an error:

An error occurred during local report processing.
Error in the Application.
Could not find a part of the path '\\servername\gpshare\SRS_Projects\GPReports\GPReports\Maestro FP\Maestro FP\Maestro FP\bin\debug\data sources\MaestroFP.rds'

The \Data Sources\ folder does not exist on this path, but the rest of that path does exist.  I cannot figure out where this path for the …
HI, I'm testing trial version of Telerik now and have one question.
Searching by information how modify the interface (background of the title of RadPane ) I found interested page . Please see the attached screen shot. However I cannot fine where is the Assets . I programming in Visual Studio 2017 and use Telerik UI for WPF 2018R1.
Can some one tell me where is it?
Greetings EE:

I needed to perform a clean install of Windows 10 Pro. The VSTS source directory found at C:\Users\xxx\source was deleted during this process.

I am not familiar with how this source directory plays a part using VSTS. I believe I need to recover what was in the source directory in order for Visual Studio Pro 2017 to stop indicating it couldn't find all of the VSTS information in order to connect with VSTS for my solutions and projects.

Is there a way to recover what was in the source directory?

I hope I did not muddy the waters too much. Any assistance you can provide is most appreciated.

Much thanks,
David Bach
I am installing a Visual Studio 2017 application developed on .NET framework 4.5.
The client does not use Microsoft SQL Server but I would like to use SSRS for reporting. Is there a standalone SSRS that can provide reporting without Microsoft SQL Server installed.
Web config transform not happening when publishing to a drive letter mapped to a share on target server running windows 2012 R2/ IIS 8.5.

Using VS2012 Ultimate update 5, right click publish to local drive works fine.  Web.config transform performs the expected replace on the app settings section:

<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
  <appSettings xdt:Transform="Replace">

    <add key="magicNumber" value="14" /> etc. ...

Right click publish to drive letter works almost fine.  All files are copied as expected.  However, only the base version of the Web.config is copied.  The transform does not occur.

Note that the reason it works almost fine is I have already SetLinkedConnections = 1 in registry and modified the local policy UAC:BehaviourOfthePromptForAdministratorsInAdminApprovalMode to PromptForConsent   which apparently allows the drive letter to appear in the publish window as a valid target.

Again, all files are copied fine with the exception of the Web.config in which only the base version is copied instead of the transformed version.

Free tool for managing users' photos in Office 365
Free tool for managing users' photos in Office 365

Easily upload multiple users’ photos to Office 365. Manage them with an intuitive GUI and use handy built-in cropping and resizing options. Link photos with users based on Azure AD attributes. Free tool!

I am trying to use VS 2008 to change the startup form to a form that was imported (frmOpenPDF) from another project, but I get a “the type or namespace could not be found” error. The screen shots show the details.
 No error for the default form1:
Default FormProject Browser
ProjectObject Browser (no frmOpenPDF)
New FormThe error
ErrorPlease help the resolve error.
Issue with MS Build. Trying to set up a queue from VSTS and failing in build solution.

Here is the desc.

Starting: Build solution
Task         : Visual Studio Build
Description  : Build with MSBuild and set the Visual Studio version property
Version      : 1.126.0
Author       : Corporation
Help         : [More Information](https://go.microsoft.com/fwlink/?LinkID=613727)
"D:\a\_tasks\VSBuild_71a9a2d3-a98a-4caa-96ab-affca411ecda\1.126.0\ps_modules\MSBuildHelpers\vswhere.exe" -version [15.0,16.0) -latest -format json
"D:\a\_tasks\VSBuild_71a9a2d3-a98a-4caa-96ab-affca411ecda\1.126.0\ps_modules\MSBuildHelpers\vswhere.exe" -version [15.0,16.0) -products Microsoft.VisualStudio.Product.BuildTools -latest -format json
"C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe" "D:\a\1\s\$\CodeBase\ToolDevBranch3.32\rei.sln" /nologo /nr:false /t:"Clean" …
I want an Button to form that will display my computer's IP address,, how can I do this? Thanks in advance.
I have inherited a web based application.  To be accurate I am the system analyst who designed the system from the user's requirements.

My skillset goes back a long way with programming skills, over 30 years.  However I have never maintained a web based system before.

There is a need to add another column to a report produced from teller_report.asp.  Viewing this in a text editor, I could almost determine what needs to be done.

Can someone recommend an online tutorial on how to link this to Visual Studio 2016?

Secondly could someone suggest how I can set up a test environment to test my changes?  I have the ability to create a copy of the database.  Though the report is just that it does not update the tables.

Attached is a screenshot of FTP of some of the files.

I wish to show the properties of a printer. The common dialog control cannot manage this so using some code calling API's. It does bring up the Properties Window but for some peculiar reason only show the last tab page.

I am using VB6/Win 10

Declare Function PrinterProperties Lib "winspool.drv" (ByVal hwnd As Long, ByVal hPrinter As Long) As Long
Declare Function OpenPrinter Lib "winspool.drv" Alias "OpenPrinterA" (ByVal pPrinterName As String, phPrinter As Long, pDefault As PRINTER_DEFAULTS) As Long
Declare Function ClosePrinter Lib "winspool.drv" (ByVal hPrinter As Long) As Long

    pDatatype As String
    pDevMode As Long
    pDesiredAccess As Long
End Type

Private Sub cmdShowPrinter_Click()
   Call ShowPrinterProperties("Canon MG6100 series Printer WS", Me.hwnd)
End Sub

Private Sub ShowPrinterProperties(ByVal DeviceName As String, ByVal ParentHWnd As Long)
    On Error GoTo ErrHandler
    Dim PrinterDef As PRINTER_DEFAULTS
    Dim hPrinter As Long
    Dim lngPrinter As Long
    Const DELETE = &H10000
    Const READ_CONTROL = &H20000          ' Allowed to read device information
    Const WRITE_DAC = &H40000             ' Allowed to write device access control info
    Const WRITE_OWNER = &H80000           ' Allowed to change the object owner
    ' Combining these for full access to a device  (DELETE + READ_CONTROL + WRITE_DAC + WRITE_OWNER):
    Const …
Convert vb.net desktop app to web .
Any suggestions?
Debugging into a Project instead of its DLL

I have a solution with a handful of projects, and need to set a breakpoint on one of the shared libraries. The source for that project is included in the branch, but does not appear in the Visual Studio (2017) Solution.

I thought I could simply add that project to the solution and debug into it, but it seems like Visual Studio may still be using the DLL.

Are there any configurations needed in order to debug? Do I need to remove the reference to the DLL?

I am using a FlowLayoutPanel to hold a series of picture boxes that act as thumbnails. I am good with loading the pictures in and handling the event of someone clicking on the thumbnail. Where I am having an issue is that the act of clicking on the thumbnail does not give the user any visual representation that the thumbnail has been clicked on. I've tried:

- Adding a border: Thumbnail is small so it is not noticable
- Disabling the picturebox/thumbnail: It has not visual indication of being disabled
- Turning the background of the picturebox/thumbnail red: since the photo takes up the whole picturebox, you can't see the red background

I know I could use a ListView but my thumbnail list is horizontal and a listview likes to be vertical. There is also a third party extension called "Better Thumbnail Viewer" which would give me a checkbox which would be perfect. But, before I go and change the layout of my form to use the ListView or pay for the third party extension, I wanted to throw it out here and see if anyone has an idea how an OnClick event on the picturebox within the FlowLayoutPanel could show a visual indication of being selected.
Adding a Reference to using System.Text.RegularExpressions;

In order to use the RegEx object, I needed to add the using statement above.

But do I need to also add a Reference to that project also? Is adding the using statement enough?

Identify and Prevent Potential Cyber-threats
Identify and Prevent Potential Cyber-threats

Become the white hat who helps safeguard our interconnected world. Transform your career future by earning your MS in Cybersecurity. WGU’s MSCSIA degree program was designed in collaboration with national intelligence organizations and IT industry leaders.

Visual Studio Pop ups are really annoying.   People are writing these add in's for visual studio and forgetting to deal with the intellisense pop ups.  The problem I have is the python add in / support...  Apparently there is a JSON attribute that can help with this  {"editor.parameterHints": false}  but I don't know where to put this parameter and I don't know much about visual studio add in development.

Can you tell 1) How to turn off pop-up's specifically for the python editor?  or 2) What file can i put this attribute in to turn this off?
The pop ups pop right in front of code that I have need to edit... It's crazy

---------------Below is a copy from my about box to show python editor version.---------------

Microsoft Visual Studio Community 2017
Version 15.2 (26430.12) Release
Microsoft .NET Framework
Version 4.6.01055

Installed Version: Community

Visual Basic 2017   00369-60000-00001-AA166
Microsoft Visual Basic 2017

Visual C# 2017   00369-60000-00001-AA166
Microsoft Visual C# 2017

Visual C++ 2017   00369-60000-00001-AA166
Microsoft Visual C++ 2017

Application Insights Tools for Visual Studio Package   8.6.00404.2
Application Insights Tools for Visual Studio

ASP.NET and Web Tools 2017   15.0.30503.0
ASP.NET and Web Tools 2017

Azure App Service Tools v3.0.0   15.0.30209.0
Azure App Service Tools v3.0.0

Common Azure Tools   1.9
Provides common services for use by Azure Mobile Services …
SQL Server 2014 SP2

Visual Studio 2013 Professional Version: 12.0.40629.00  Update 5

Failure occurs on “Backup DataBase Task”

Have tried Visual Studio and SQL 2014 repairs.  

Error is still occurring…..

Cannot show the editor for this task. (Microsoft Visual Studio)


Could not load file or assembly 'Microsoft.SqlServer.Management.SqlStudio.Controls, Version=, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The system cannot find the file specified. (Microsoft.SqlServer.MaintenancePlanTasksUI)

Program Location:

   at Microsoft.SqlServer.Management.DatabaseMaintenance.DBMaintTaskBackupForm..ctor(TaskHost taskHost, IServiceProvider provider)
   at Microsoft.SqlServer.Management.DatabaseMaintenance.DbMaintTaskBackupUI.GetView()
   at Microsoft.DataTransformationServices.Design.DtrTaskDesigner.GetTaskEditor()
I asked what sort of computer is best for running Visual Studio 2017 and received this answer

Any basic machine will run VS smoothly the only difference will be compilation time during the build phase. And if build times get long then you'd probably want a specialized build machine.

that being said 8G is probably enough but you'd want a SSD to improve load and build times.

Does all 130 GB need to be on the SSD or just the individual programs that I write.  Since VS 2017 is about 130 GB and I also want MS Office, it's important to know what size SSD I need and what can go on a nromal hard drive.

Is an I5 sufficient or should I go for an I7?
I may use it for large amounts of data, but not graphics.
After upgrading to Windows 10, my local Development Copy of the code using my local IIS Express Version 10 is unable to get the current HttpContext.  The same code
works on our Development and Live Server that are running IIS 8.5.    I need help updating the code since it appears I can't use HttpContext.Current anymore.  

/// <summary>
        /// Returns the URL for this link
        /// </summary> 
        public string trueUrl
                if (url != null)
                    return url;

                if (HttpContext.Current != null)
                    var urlhelper = new UrlHelper(HttpContext.Current.Request.RequestContext);
                    return urlhelper.Action(action, controller, new { area = area });

                return "ERROR";

Open in new window

I am looking for a way to attach a file to an email in Microsoft Outlook programmatically using Visual Basic. (I'm using Visual Studio 2017) The address is a static one. I have found this code here on EE and it looks like the solution but I am unsure of how to reference Outlook.

Thank you.

       Dim olApp As Outlook.Application
        Dim olMail As Outlook.MailItem
        olApp = New Outlook.Application

        olMail = olApp.CreateItem(Outlook.OlItemType.olMailItem)
        olMail.Subject = "Your subject"
        olMail.HTMLBody = "Your HTML text"
        olMail.Attachments.Add("c:\ttt.txt", Outlook.OlAttachmentType.olByValue)

Open in new window

I made dll and tlb file for excel macro using visual studio 2010.
But only the environment described bellow doesn't work.
windows 7 64bit excel 2013 32bit
Error Message activex component can't create object
By contrast , my test environment described bellow work perfectly.
windows 10 64bit excel 2013 32bit

I made working configuration as following procedure.
1.Build solution with visual studio 2010 and made assembly  files.
2.Locate files to c:\windows\system32.
3.Register assembly using command bellow.
C:\windows\Microsoft.NET\Framework64\v2.0.50727\RegAsm.exe xxx.dll /tlb /codebase
4.Specify assembly in excel using references dialog box.
Then I cant find assembly file from c:\windows\system32 so I locate files to another directry.

Why does it get error only using windows 7?
Is this related to .net frame work version or compiling option in visual studio?

Microsoft Visual Studio





Microsoft Visual Studio is an integrated development environment (IDE) from Microsoft. It is used to develop computer programs for Microsoft Windows, as well as web sites, web applications and web services. Visual Studio uses Microsoft software development platforms such as Windows API, Windows Forms, Windows Presentation Foundation, Windows Store and Microsoft Silverlight. It can produce both native code and managed code.