Microsoft Visual Studio

938

Solutions

901

Contributors

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

I am trying to publish my app via vs2013, but the publishing errors
on my master pages. Can someone tell me what is missing.
The app runs perfectly when I run it locally

The following are the errors:
/master/7200.master(1,0): Error ASPPARSE: The file '/master/7200.master.cs' does not exist.
/master/7200.master(1,0): Error ASPPARSE: The file '/master/7200.master.cs' does not exist.
/master/7200.master(1,0): Error ASPPARSE: The file '/master/7200.master.cs' does not exist.
/master/7200.master(1,0): Error ASPPARSE: The file '/master/7200.master.cs' does not exist.
/master/7200.master(1,0): Error ASPPARSE: The file '/master/7200.master.cs' does not exist.
/master/7200.master(1,0): Error ASPPARSE: The file '/master/7200.master.cs' does not exist.
/master/common.master(1,0): Error ASPPARSE: The file '/master/common.master.cs' does not exist.
/master/720.master(1,0): Error ASPPARSE: The file '/master/720.master.cs' does not exist.
/master/720.master(1,0): Error ASPPARSE: The file '/master/720.master.cs' does not exist.
/master/720.master(1,0): Error ASPPARSE: The file '/master/720.master.cs' does not exist.
/master/720.master(1,0): Error ASPPARSE: The file '/master/720.master.cs' does not exist.
/master/720.master(1,0): Error ASPPARSE: The file '/master/720.master.cs' does not exist.
/master/720.master(1,0): Error ASPPARSE: The file '/master/720.master.cs' does not exist.

See Attached.  Down to the wire.

Isaac

partial class master_720 : 

Open in new window

0
Become a CompTIA Certified Healthcare IT Tech
LVL 13
Become a CompTIA Certified Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

I would like to deploy an old asmx web service to azure from visual studio 2017.  Need to deploy the database as well. I can create the database using sql and populate it using sql if that is easier.  Please advise best recommendation.  Thanks in advance.
0
What I am trying to do is when I change the build/deploy from Production to Test, I want to be able to also change the shared data source reference for all the RDL files.

In the screenshot attached, I have ImpresarioProd as my Data source and ImpresarioProd as my Shared Data source.  I would like to change all the Data source in the rdl files in my sln to ImpresarioTest.  (Minus the bad naming convention of the Data Source, is it possible to do this without going into each rld file and making the change manually?

Screenshot of Data Source and RDL files
Thank you,

Rich
0
I am setting up a bamboo deployment plan for asp.net website .

How can I build/publish the asp.net website with msbuild command.

also, when I build right now with visual studio, the build output is written to a  "compiledweb" folder inside the project folder.

I'm trying to see where is this path set, is it in the solution file, or web config or any other file?
0
I had this question after viewing WSUS Products & Classifications, MS VS 2017 Updates.

Has there been any update?  I too am not seeing Visual Studio 2017 under Products and Classifications.  Visual Studio 2015 is the latest product shown.  No 'New' Products or Classifications listed after successful sync.    I'm running WSUS v10.0.14393.2007 on a Windows 2016 server.
0
I have a SSRS Pick List report for my shipping department. It is time consuming to print one at a time. I was tasked in creating a batch to generate a single PDF and the user only needs to send the print job once. I successfully created this data driven report. The only issue is that I get 100(example) emails with one pick report in each. I need one email with one PDF containing all  pages. Is it possible to get this in one file instead of individual ones? I'm using SSRS 2017.
0
I built a Intranet site back in 2013  think and was asked to update it. So I planned to reuse what ever I could and add in what ever was necessary,
but when I call this bit of jQuery, which worked great in the old site, it doesn't seem to fire. I put a breakpoint in it to see if it is ever read and it does get read but has no effect.

$(document).ready(function () {
    'use strict';
    $('#txtStreetNumber, #txtStreetName, #txtPoBox, #txtrRoute, #txtrBox').rules('remove', 'required');
    $(".poboxaddress").css("display", "none");
    $(".ruraladdress").css("display", "none");
    $(".streetaddress").css("display", "none");
 
    $('#divradio').on('click', function () {
        $("#StreetInput").hide();
        $("#BoxLineInput").hide();
        $(".poboxaddress").hide();
        $(".ruraladdress").hide();
        if ($('#street').is(':checked')) {
            $("#StreetInput").show();
            $('#txtStreetName').rules('add', 'required');
            $('.streetaddress').show();
        } else {
            if ($('#pobox').is(':checked')) {
                $("#BoxLineInput").show();
                $('#txtStreetNumber, #txtStreetName, #txtrBox, #txtrRoute ').rules('remove', 'required');
                $('#txtPoBox').rules('add', 'required');
                $(".poboxaddress").show();
            } else {
                if ($('#rural').is(':checked')) {
                    $("#BoxLineInput").show();
                    $('#txtStreetName, #txtStreetNumber, 

Open in new window

0
I am getting an error when deploying my site to IIS on a machine with just .NET 4.0, but using entity Framework 6.0 and .NET 4.0 for the build.  "No Conceptual Schema node to embed as a resource".  

I try to look at things for the site in IIS and get the error message under .NET Compilation of "Cannot add duplicate collection entry of type 'add' with unique key attribute 'extension' set to '.edmx'.  

Runs fine in Visual Studio 2017.  Please help.

<buildProviders>
        <add extension=".rdlc" type="Microsoft.Reporting.RdlBuildProvider, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
       ------> <add extension=".edmx" type="System.Data.Entity.Design.AspNet.EntityDesignerBuildProvider" />
      </buildProviders>

Open in new window

0
I am setting up my laptop to use SQL Server Management studio, MS visual studio, and SSRS/SSIS. Can someone suggest the best combination of these tools for me to download and install.  I am NOT looking for enterprise/paid/trial version, only something like express version. Thanks.
0
I am using Visual Studio 2008 for developing a project in VB.NET .  I have built a report using crystal reports (in Visual Studio 2008) in the project which contains Barcode.  I had assigned code 128 AB Tall as the font but when I try to export it to PDF it generates ERROR.  I then tried the font Code 128, this time it got exported to PDF correctly but when I tried to read the barcode through barcode scanner, it won't get read.

I shall appreciate Insights to resolve the above situation.

P.S : I am attaching the snapshot the the error I am encountering during the export.

Thanks.Barcode-Error
0
Active Protection takes the fight to cryptojacking
LVL 2
Active Protection takes the fight to cryptojacking

While there were several headline-grabbing ransomware attacks during in 2017, another big threat started appearing at the same time that didn’t get the same coverage – illicit cryptomining.

I have created a data migration project which takes '|' delimited flat files, imports them to SQL Server, processes the data, and then outputs to an Excel Template for loading into a new system. I have no responisbility for either the flat files, or the excel template as they are handled by third parties.
I am running on Visual Studio 15.9.5 for the SSIS development, and the package will be used only by myself and will not be distributed to anybody else. Connection is to SQL Server Azure.

I have had no issues with connecting importing the flat files (beyond the usual bad data problems) or connecting to SQL Server and running scripts. The issue I'm having is with the final stage in the process which involves transferring the contents of SQL tables to Worksheets within an Excel Workbook. I am running Excel on Office 365 and all processing of files is done on my laptop.

When I ran an initial dump to Excel I had some errors with the version, so I changed it to XLS to resolve any compatibility issues (which I have done before successfully). However, on this particular project, the limit for XLS files was breached as there are almost 70,000 rows of data to export. When I changed to XLSX I got another error, so I installed Microsoft Access Data Engine 2010 which seemed to work on some test runs.

Now I have finished all of the mapping, so a little more about the spreadsheet. There are multiple worksheets to which I have to export data; I have created Data Flow tasks which …
0
dear all ,
How to use interactive sorting control in crystal report in visual studio as it is shown in the designer but hidden when the report is previewed?
0
Hi.  
I have 2 very similar VB.NET applications.  They are both Windows Forms applications, and both have some "maximized" forms and some "windowed" forms.  They are deployed to Windows 7 PC's with monitors set at 1280x800 at 125%.  

One application  sizes properly -- All forms and controls in the app size "up" properly, and all fonts size up properly.  The second application seems to size up the fonts, but not the controls or the forms themselves.  There is a form in both apps sized 450 x 500 -- One displays larger than the other at 125%.  After switching the monitor to 100%, both those forms show at the same size.

These applications are created using VS 2017 "Community".   I have checked the properties of those two forms, and they are the same.   However, since I see the problem on all forms, I am assuming it is a setting at the application level, not the form level.   In both apps, the "Enable XP visual styles" is set the same, and that's the only setting I see that may be related to how forms are displayed.

This may or may not be a clue (and I have to verify it), but when running at 125% on a Windows 10 machine, both applications size properly.

Any ideas what setting I need to change to fix this?
Thanks
Rob
0
I upgraded a .NET app from VS2008 to VS2012.  I had to upgrade crystal reports to version 13.  I deploy using ClickOnce.  The application installs and runs with no problem.  However, when I click on a report I get the attached error.

Any ideas how to resolve?
CrystalDecisions-Error.jpg
0
Hide row and column headers from VB Addin, and other viewproperties

I have googled this very deeply, checked the object browser in VS2017. I could come up with something like this below:

There is the worksheetview object, that has the prop DisplayHeadings.

The samples are all VBA, when i use it in the addin, the intelisense will give me wsvw.DisplayHeadings, but I will then receive a runtime error.

QUESTION: how can i use a worksheetview on a single worksheet in VB to modify the view and other properties

https://docs.microsoft.com/en-us/dotnet/api/microsoft.office.interop.excel.worksheetview.displayheadings?view=excel-pia
http://codevba.com/excel/WorksheetView.htm#.XGH4Zlz0lEZ

                Dim wnd As Window
                Dim wsvw As WorksheetView
                For Each wsvw In wnd     'AddinModule.Checklistworkbook.Worksheets
                    MsgBox(wsvw.DisplayHeadings.ToString & " - " & wsvw.Sheet.ToString)
                Next wsvw

Open in new window

0
I want to create dataset using "Microsoft Rdlc Report Designer" in visual studio 2017.
My sql server is in another machine.
I have access database via LAN .
When i create dataset by clicking on "Dataset" in "Microsoft Rdlc Report Designer", then visual studio hangs and crashes.
Then Visual studio 2017 restart automatically. I have tried several times but same issue.
0
Does anyone know the best way to debug a COM exe Service ATL project built in Visual Studio 2010?
I have tried registering the service as a plan exe (using /regserver flag for registering), to debug it as an exe, but still no luck
to enable debug mode. Thanks in advance.
0
I have a memory leak in a windows service (ATL COM exe Service),  built using Visual Studio 2010, running on a Windows Server 2003.
Does anyone know of any memory leak detector tools than I can use to detect the leaks down to a variable level (e.g. show the pointer variable causing the leaks).
Is a critical production issue , any help will be greatly appreciated.  I know googling will help me, but I'm running against time, and I don't have the luxury of time to try
all the tools out there, before choosing the best, so if anyone has had to perform similar diagnosis, please let me know.
0
Can't find Trust Center Settings in Visual Studio 2017 yet many webpages site the setting.

Any thoughts on where it is?

Suppose to be under Tools | Options.
0
Ensure Business Longevity with As-A-Service
Ensure Business Longevity with As-A-Service

Using the as-a-service approach for your business model allows you to grow your revenue stream with new practice areas, without forcing you to part ways with existing clients just because they don’t fit the mold of your new service offerings.

I am using Visual Studio Community 2017/C++ and AGK Trial 2 to develop GUI apps. The Console output nor the VS output don't show any debug messages, whereas the exact same code worked fine with Visual Studio 2010.  To start with I  used an AGK template VS2015 project and inserted my old working AGK code to it. It builds and runs perfectly in VS2017, but the Console doesn't show any debugging messages printed with "cout", as it did when using VS2010.   The following code  is the function I used to pop up the Console:

// for the console to display "cout" outputs, all these must be included
// And later these should be removed when you program is fully debugge
#include <Windows.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <direct.h>
#include <fcntl.h>
#include <io.h>

void console_back()
{

int hCrt;
     FILE *hf;

   AllocConsole();
   hCrt = _open_osfhandle(
             (long) GetStdHandle(STD_OUTPUT_HANDLE),
             _O_TEXT
          );
   hf = _fdopen( hCrt, "w" );
   *stdout = *hf;
   int i = setvbuf( stdout, NULL, _IONBF, 0 );

   return;
}

// in the main code
console_back();
cout << "Hi, Hello World";	

Open in new window

As is see in the attached snapshot, the Console pops up but stays blank, though the is no runtime complains from the
system about the cout << "Hi ..".  

Experts, any ideas why this happens?  I hope there is a workaround for this problem, sample code is highly appreciated.

A side note, I am using a trial version of AGK package, where I don't have a debug version of AGKWindows.lib so I can't
build VS2017  in debug mode.  This makes debugging with console messages the only option for right now.
After all as long as I have a way to debug, I will be happy. But I don't know if the retail version of AGK  has the debug version of the AGKWindows.lib in C++.  Any comments or suggestions along this avenue are also appreciated.

Thanks

Ze
Console_done_problem.PNG
Console_done_problem.PNG
0
When opening or creating a key in the Windows Registry using the WIN32 C API it is possible to specify the REGSAM as one of the arguments. This details the access rights to the key, but can also be used to set the "view", be it 32 bit or 64 bit. This is achieved by passing either KEY_WOW64_64KEY or KEY_WOW64_32KEY.

My question is this: given just a HKEY, is it possible to identify the original REGSAM value that was used to open that key? The program I am writing needs to be able to make this distinction and whilst I could "cache" the original REGSAM, it would be smarter and cleaner if there was a way (using WIN32 C API) to get these details.
0
Trying to fix a broken expression in Visual Studio - using the Now() function, we need to get last month. Been using = "For the Month of" + MonthName(Now()-1), or at least that appears to be it. But this month it error'd, and can't seem to tweak the expression. For a report run today it should read "For the Month of December"
0
Need help with getting Visual Studio Code to use Visual Studio Team Services for my source control set up and working
0
For part of a program I am creating I need to find the distance in miles between two ZIP codes.  This does not have to be exact, "as the crow flies" is fine.  I have found some solutions online but can not get them to work.  My background is in SQL but I have an understanding of programming logic, but I still can't get these to work in Microsoft Visual Studio.

The first one I found looked like it would do exactly what I wanted to do but the urls are not update and I am not sure where they may have moved to or what they used to be:
http://blog.codebrain.co.uk/post/2009/05/08/C-Distance-Between-Two-Postcodes.aspx

"http://maps.google.com/maps/geo?q={0}&output=xml" is no longer a valid link.

Another solution that I tried is:
https://www.techrepublic.com/blog/software-engineer/how-do-i-determine-the-distance-between-zip-codes-using-c/

For this one, the basic idea makes sense to me but I am not sure how to put it all in to action.  The link to download the examples is no longer valid and I am not sure where all of the code goes.  For instance, where do I need to reference "LoadData" from and what needs to be passed to it as the "path."  Also is the xml document stored in project somewhere?

Any insight into either of these solutions or even another that would work better are appreciated.  Thanks
0
Using Visual Studio C# what would the proper way to design an application that would allow the users to move people from one group to another. What I have are three tables that are filled with peoples names and skill sets. As they complete various classes and pass exams they graduate to a higher class. I need to write an application that will allow a user to mark one or more people in one group and elevate them to another group. In the past, I have always displayed multiple rows using a datagridview. Would that still work in this case? How would I execute the move? Add a column to the grid and when I save the grid execute SQL statements that move the marked records into the designated group. Is there a better way not using a datagridview? I am still learning my way around C# so any guidance that can be provided would be appreciated.
0

Microsoft Visual Studio

938

Solutions

901

Contributors

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.