I am using Visual Web Developer express and when I try to display the webpage I'm working on in a browser Internet Explorer cannot find the page. When I ask Internet Explorer to diagnose the problem I got the message ""localhost" is not set up to extablish a connection on port "52429" with this computer."
Any ideas what to do?
...
I have imported an existing SQL Server 2008 database to a Visual Studio 2008 database project, to version control database objects and perform database code migration. This works fine and I can build and deploy to dev, test, staging, live etc.
Now I want to add a new stored procedure (with a grant statement) to the existing database pro...
I would like to reconfigure the StyleCop import path in my project file. Currently it looks like this:
<Import Project="$(ProgramFiles)\MSBuild\Microsoft\StyleCop\v4.3\Microsoft.StyleCop.targets" />
I would like to include the Microsoft.StyleCop.targets file in my project directory, and thus do something like this:
<Import Project="...
I have a custom domain specific language project which was developed a while back, was deployed and run on the same machine inside the normal Visual Studio hive with no problems.
Server has been reinstalled and I'm trying to setup the environment again, so that the normal hive (which is a Visual Studio VSIP Edition SP1, with Visual Stud...
I need to disable the multimedia contents in IE Programatically. Is there any way my programming environment is VC++
...
http://stackoverflow.com/questions/154109/custom-compiler-warnings and
http://stackoverflow.com/questions/968249/c-create-custom-warning-in-visual-studio-if-certain-method-is-used-in-source-co
haven't helped as they deal with code that is under the author's control.
We are using a 3rd party suite of UI controls (DevExpress) in our softw...
I have a several C# console applications that basically parse tons of data in memory (LINQ) and output the results to a text file.
Now, forget about the writing to the text file for a minute because this is not where the problem is occurring.
When I run the application in debug mode, I will never get it to utilize more than 50% of cpu ...
(I just wrestled with this issue and didn't find much out there so I'm dumping my problem and resolution here)
We've had a .NET 1.1 web project under development hosted on a Windows 2k3 server which had a valid SSL certificate installed on the website hosting the project. There were no problems opening the solution and its projects whi...
I have the following C# code. Whenever an exception is caught, say at line 1, I am never able to reach other lines (2, 3, 4, etc).
try
{
line1
line2
...
}
catch (Exception ex)
{
...
}
Is it possible, in C#, to say that if line 1 generates an exception, just continue on to the other lines (2, 3, 4, etc)?
...
Hi,
I've created a new Web Site on VS2005.
An ASPX file was created.
when I run the file in VS, it opens via IE and an ASP.NET Development Server icon appears near the clock.
when I try to run the aspx file in IE, I get the error:
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error...
When I want to run 1 test, I always have to right-click the method declaration and click "Run Test". Is there a way to do this without using the mouse?
...
I would like to reconfigure the StyleCop import path in my project file. Currently it looks like this:
<Import Project="$(ProgramFiles)\MSBuild\Microsoft\StyleCop\v4.3\Microsoft.StyleCop.targets" />
I would like to include the Microsoft.StyleCop.targets file in my project directory, and thus do something like this:
<Import Project="...
i have a dropdownlist in a gridview
<asp:TemplateField HeaderText="Backup Frequency">
<ItemTemplate>
<asp:DropDownList ID="DropDownList1" runat="server">
<asp:ListItem Text="Once a Day" Value="86400">Once a Day</asp:ListItem>
<asp:ListItem Text="Once a weak" Value="604800">Once a week</asp:List...
I’m looking for equivalent functionality to C# regions in javascript
C# syntax
#region RegionName
public static void MyFunction()
{
[mycode]
}
#endregion
This allows me to “collapse” my code in my .js file with Visual Studio and make it a little more manageable.
Anybody got any ideas?
...
Hello all,
We have a C++ Win32 application which spawns, using Qt's QProcess (undoubtedly a wrapper for CreateProcess()), a secondary 'slave' program.
Unfortunately, when debugging the system with Visual Studio 2008, the debugger does not autoamtically attach to the spawned process.
I know it's possible to programatically trigger a de...
My ASP.NET asserts aren't firing. Build configuration is debug. what gives?
EDIT: They are firing and silently hanging my website (exiting the thread).
...
I have a link to some style sheet from the Yahoo Developer Network, this is what I have in the head section of my master page:
<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/combo?2.8.0r4/build/reset/reset-min.css&2.8.0r4/build/base/base-min.css" media="all" />
And for some reason Visual Studio (2008 Profess...
I'm developing a medium sized enterprise application.
There are many projects / solutions to this.
For example:
Company.Data
Company.Data.LinqToSql
Company.Entities (business objects)
Company.BLL
I then have some applications - for example a windows service:
MyWindowsService.
When i deploy this (by creating a setup project) it in...
After being spoiled for years with C# automatically setting the default namespace for new classes to match my folder structure, I'm wondering if there is any way to get VB.NET to do the same?
I've been aware for awhile that it doesn't do this automatically but I've never really researched alternatives. Any tools or tricks to help me ke...
I'm creating a FlowChart within a Windows Workflow 4.0 project in Visual Studio 2010. I've added a FlowSwitchwith an expression of a variable passed in as an In Argument to the Activity. I can debug and see the values are passed in correctly, however my FlowSwitch is not switching at all to a case that is defined as the value being pas...