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

Good day  expert exchange.

Am writing a Driver service which is a type of kernel-level filter driver implemented as a Windows service that enables applications to work with devices .

My development environment is  Visual Studio  2015, Windows 10, template Windows Driver (KMDF)

What i want to achieve is  DNS queries Redirection

Am working with the FWPS_LAYER_ALE_CONNECT_REDIRECT_V6 and FWPS_LAYER_ALE_CONNECT_REDIRECT_V4  being that tey are both kernel based


What is confusing me is this : How do i write a kernel-level filter driver implemented as a Windows service in Visual studio. I mean the
step i should take.

I dont know how to start the project templates adding in visual studio, whether the windows service (C#) template then
click on the File menu on the Visual studio 2015 to add the windows driver to the Windows Service or  vice versa.

Would  really appreciates someone help in sorting this issue out.

Thank you expert exchange
[eBook] Windows Nano Server
 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

How to change to visual studio 2017 use to define column names in datasource when using mySql database. By default square brackets determine column name, but mysql use backticks. Any way change this staf?
i been trying to get the upsi to work with visual studio. could i use another language to use there web service and viusal studio the choiese are

jax ws
I am getting the following error report when i try to upload my custom template.

i have found out that the eroor most likely is in this xml file

<?xml version="1.0" encoding="utf-8"?>
    <TypeField refname="System.AreaPath" type="Team" />
    <TypeField refname="Microsoft.VSTS.Scheduling.RemainingWork" type="RemainingWork" format="{0} h" />
    <TypeField refname="Microsoft.VSTS.Common.BacklogPriority" type="Order" />
    <TypeField refname="Microsoft.VSTS.Scheduling.Effort" type="Effort" />
    <TypeField refname="Microsoft.VSTS.Common.Activity" type="Activity" />
    <TypeField refname="Microsoft.VSTS.Feedback.ApplicationStartInformation" type="ApplicationStartInformation" />
    <TypeField refname="Microsoft.VSTS.Feedback.ApplicationLaunchInstructions" type="ApplicationLaunchInstructions" />
    <TypeField refname="Microsoft.VSTS.Feedback.ApplicationType" type="ApplicationType">
        <TypeFieldValue value="Web application" type="WebApp" />
        <TypeFieldValue value="Remote machine" type="RemoteMachine" />
        <TypeFieldValue value="Client application" type="ClientApp" />
    <PortfolioBacklog category="Microsoft.EpicCategory" pluralName="Epics" singularName="Epic" workItemCountLimit="1000">
        <State value="New" type="Proposed" />
       <State value="Approved" …
Hi all,
i need to lock some columns and rows of a datagrid
please could you have some examples?
I'm using Visual Studio Community 2017. In my case, I have text box named: txtSEARCH, Button named: cmdSEARCH and a Datagridview named: DataGridView1.

Datagridview populated from a text file named: "D:\esdcheck\.BAK.dll" and manualy put column in properties.
This is how I make columnsand this is my DataGridView (This is my form)
Sample For
What I want to do is to search User ID and display it in DataGridView

I type "1504579" in the text box (txtSEARCH) and when I click the button, datagridview will display all "1504579" in the list 'ONLY' from Rowel Virgo

I'm searching all day in the internet but no codes for like that, any help please and Thank you

This is How I populate my DatagridView:

Public Class Form1

    Private Sub Form1_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load

        Dim lines = (From line In IO.File.ReadAllLines("D:esdcheck\BAK.dll")
                     Select line.Split(CChar(","c))).ToArray
        For x As Integer = 0 To lines.GetUpperBound(0)

    End Sub

End Class

Open in new window

this is my first post Listview and Datagridview  and thank you for the reply sir
Scott McDaniel (Microsoft Access MVP - EE MVE )
Ryan Chong
Need to prevent google developer tools explore my page, is any way to achive that,
dont want to see my html page code and nothing
regards dear experts
Is there a way to force a file that is locked by another process to be moved/copied in C#?
Hi All

I have the following issue below with VS2015 ,it will not allow me to connect to TFS however in other versions i can, see below.

Page '312e8a59-2712-48a1-863e-0ef4e67961fc' not found.
Everything was going well... playing around with Visual Studio 2017 for the first time...

Had a weird problem (#1, but not really what the question is about where even though I set the Assembly Name and Root Namespace names, ApplicationName was still returning "WindowsApp1" when referenced... so I thought maybe it's building using that temp name when run from VS IDE.  So I compiled it into an app and deployed it.  Same result...

So I try re-opening the project - I can't open forms!  I can a new form, but when I try to open the main form, the only "main" reference I have is main.vb.  And when I open that, I don't have any code either!  I have one other form in the app and I can't open that either (but the code is visible).

I'd really like to continue this project but I need to see the forms!  HELP PLEASE!?!

(Classic Windows Forms app).
Prepare for your VMware VCP6-DCV exam.
Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Hello everyone.
 Am  writting a Windows Driver application (Packet modification) for DNS interception and redirection, making use of
 My question is this am i supposed  to use Callout Driver  or Windows Driver Kit
 Secondly, am developing  a Windows service in Visual Studio how  do i use either the Callout Driver  or Windows Driver Kit in VISUAL STUDIO 2017 application
How can i highlight the cell border when clicked on it.

I am using 2015 desktop.

I do not see any options to add Microsoft Reporting to Visual Studio 2013.  I need to add this and the report viewer control.  Thank you
hi all
is any way to redirect to the main page after timeout is expired

 <sessionState mode="InProc" customProvider="DefaultSessionProvider" timeout="60" >

Open in new window

I have VS2015 Pro on a development SP machine and on a production SP Machine.  On the development machine, I can build, debug and deploy SharePoint projects with no issues.  On my production SP Machine,  when I attempt to do so,  I get a message from VS that such projects can only be built on machines with SP running on them.  Well, that's the wrong answer as the machine does have SP 2013 running on it.

Additionally,  I took an event receiver project that runs fine on the dev box and copied it to the production box and when I attempt to load the project it eventually tells me that I need to update my version of Visual Tools for Office, which I do and it just keeps repeating that same error.

Any ideas / advice on this would be greatly appreciated.
Can you run Visual Studio Reports from Sharepoint?

We now need to create a web based solution where our employees can view and share documents. We currently do this through our file server but this is not the best solution as files get moved, deleted or renamed by accident. It would also be helpful to be able to share some documents with our customers. Documents such as current insurance details, certifications etc.

The business also has a set of Management Reports that users use Microsoft Access to run. Again I want to the users to be able to access these reports via a web based solution.

So what I am looking for is a web based solution that lets you share documents and also run Visual Studio/SSRS reports. Is there such a product?
The files stored in ClearCase on Win10, are stored as read only.

On my old Win7 machine ClearCase files were stored as read and write,
allowing me to check-out and check-in a file.

On  my Win10 machine, ClearCase being read only, I cannot check-out a file.

I get "Error Checking out .... No permission to preform operation checkout.
Must be one of: member of element group, element owner, VOB owner, member of ClearCase group"
Hello everyone.

Am supposed to develop a windows Service Controller application programming interface (API)  driver service drivers.   in visual studio 2017

Could someone put me through on the library or  C++ template i need  to install in Visual Studio to start using it.
I am trying to open a Excel file in Visual Studio using FielStreamResult.  The Excel Document is not opening.  I have the code below.  Do you know the reason?

stream = exportToOpenXML();


                stream.Position = 0;

                var result = new FileStreamResult(stream, "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet")
                { FileDownloadName = "Export.xlsx" };

                return result;
            } catch(Exception e)

                LogAudit("FileStreamResult: " + e.Message);

Open in new window

 private MemoryStream exportToOpenXML()
            string fileNameTest = @"c:\Temp\SpreadsheetDocumentEx5.xlsx";

            var stream = new MemoryStream();

            using (var spreadsheetDocument = SpreadsheetDocument.Create(stream, SpreadsheetDocumentType.Workbook))
                //Add a WorkbookPart to the document.
                WorkbookPart workbookpart = spreadsheetDocument.AddWorkbookPart();
                workbookpart.Workbook = new DocumentFormat.OpenXml.Spreadsheet.Workbook();

                //Add a WorksheetPart to the WorkbookPart.
                WorksheetPart worksheetPart = workbookpart.AddNewPart<WorksheetPart>();
                worksheetPart.Worksheet = new DocumentFormat.OpenXml.Spreadsheet.Worksheet(new SheetData());

                //Add Sheets to the Workbook.

Open in new window

Free learning courses: Active Directory Deep Dive
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

I m developing  mini qemu like VM for Android device .
Any suggestion how to go through.Any starting point of atleast 1000 line code only
I want to check the pixel resolution of an image using c# visual studio 2015
I installed Visual Studio Code & I would like to program in python when I go to compile my code I get these error messages

errorI am confused what to add.
When it goes to that point, I do not know what to put in.
Can someone help.

I debug my code, and press run and I get those 2 error messages, but the code successfully runs.
I am using Visual Studio 2017 and have created a MVC web application using C# and Razor code. I am using Entity Framework. I created controllers and views using the boilerplate code built into Visual Studio.

The website model is built from a SQL database. The database has a Customer table and a Meeting table. The Customer table has an "Id" Column [Primary key in Customer table]. The Meeting table has a "Customer" column [Foreign key in Meeting Table]. The Id value is the same the Customer value in the Meeting table.

End users search for the Customer in the Index view. They then click on the details button which brings them to the Details view. The Details view loads the columns and information from the Customer table. The Id value is not visible to the user on the screen but is part of the URL [example: hxxp://localhost:63800/Customers/Details/24660]. I would like the Details view to show a list of meetings related to the customer. I would then like the end user to click on a button (or a hyperlink - whatever works) which loads all of the details from the Meetings table for that specific meeting. That could render on a different webpage or on the same page.

Do I need to create a new controller or model or can it be included in the current model, controller, and views?

This is the Get request that shows the customer details in the CustomersController.
// GET: Customers/Details/5
        public ActionResult Details(int? id)
            if (id == 

Open in new window

I downloaded a trial of Visual Studio 2017 Enterprise and created a performance and load testing project for my MVC website. But when trying to record steps for a performance test, I can't seem to enable "Web Test Recorder 15.0" in IE11 to start the recording. My OS is Windows 7.

I have tried going via 'Manage add-ons' but enable and disable are greyed out anf has status 'new.'
I have tried going via 'View -> Explorer bars ->  Web Test Recorder 15.0 , ' I then get prompted to enable the addon, again and again and again indefinitely, each time I choose 'Enable.'

UAC is turned off, I have tried running IE as Admin and VS as Admin.
I have tried this guide:
But it did not work.

Tried this guide:
But it didn't work.
The user resizes the column width and when the grid is refreshed it returns back to the coded column widths.
Is there a way that the widths are set at runtime .
I am using desktop


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.