I'm trying to learn ASP.NET. I open Visual Studio (this happens in both 2008 and 2010) and creating a new ASP.NET website using .NET 3.5. When I attempt to run the website, a FireFox page opens up and tells me that it can't establish a connection to the server (localhost:####). There's no helpful error message, just "cannot connect." ...
I have a complex inheritance structure in my data model. A majority of classes in my model (which is designed in VS 2010 with a DB generated by it after) are derived from 3 basic classes. And only these 3 classes can be found among the context members. How do I use all the derived classes at all?
...
The subject kind of says it all.
...
i writed 2 client and server program. client send file also server listen port and than get file.But i need My server App must listen on 51124 port permanently. if any file on my stream, show me a messagebox "there is a file on your stream" and than show me savefile dialog. But my server app in "Infinite loop".
1) listen 51124 port eve...
I've designed an EF4 model (quite complex inheritance, lots of small tables incl. multiple self-referencing), generated (table-per-type) a database and inserted some basic data manually.
It works fine in an ASP.Net Dynamic Data Entities web application with full automatic scaffolding.
But when in a WinForms application using the same m...
The situation: I need to create about 40+ solutions that all reference 3 projects and have one project that is unique to each one. I'd like to create a multi-project template that does this, but from what I've read it looks like it's very difficult or impossible (related SO question, but doesn't answer).
I want my solution to look like...
if i run Server App. Exception occurs: on Dinle.Start()
System.Net.SocketException - Only one usage of each socket address (protocol/network address/port) is normally permitted
How can i solve this error?
Server.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
u...
I'd like to assign a keyboard shortcut to a macro I've written but Tools/Options/Keyboard does not show MyMacros. I reset settings as specified here but that did not solve the problem.
Any other ideas?
UPDATE: I found it. Was looking in Tools/Options/Keyboard of Macro Explorer but found them in Tools/Options/Environment/Keyboard of mai...
This is how I expected the toolbox to work:
Let's say I add a custom Tab to the Toolbox called "Ajaxtoolkit." To add controls to the new tab, I right mouse click and select "Choose Items" and browse to a file, Ajaxtoolkit.dll, that is of a particular version number.
I would expect that when I save and reopen the solution, that the Ajax...
A project (a "solution" to say in VS terms) of mine consists of an ASP.Net 4 Dynamic Data Entities web application, some WinForms applications, some WPF applications, some services. All they are intended to work with one SQL Server database, generated from an Entity Framework 4 model as table-per-type, with lots of inheritance and multip...
I'm having some problems with Edit and Continue when using Visual Studio 2010 on a Windows 7 64 bit machine. I've ensured the following
Edit and Continue is enabled under Tools>Options>Debugging>Edit and Continue
My solution platform is set to x86
My solution configuration is set to Debug
All my projects are building for Debug and x86
...
Hello - I am working on in installer project that needs to gather some info and act on it during the install (mainly online key retreival and registration). The Setup Project UserInterface templates seem inflexible and poorly documented so I am looking at opening a WinForm as a Custom Action.
I know this is possible because I see refere...
I am trying figure out whats going on with my HLSL code but I have no way of debugging it cause C++ gives off no errors. The application just closes when I run it. I am trying to add lighting to a 3d plane I made. below is my HLSL. The problem consist when my Pixel shader method returns the struct "outColor" . If I change the return valu...
I downloaded the DotNetNuke Visual Studio Installer, and the only project template I got was a Compiled Module. I've seen screen shots and examples where people had 'DNN Project' projects, and 'DNN Skin' projects. Did something go wrong with my installation? Where can I get a template for a DotNetNuke 5 Skin project?
...
As you all know Visual Studio using 2005 schema to create RDLC reports.
SSRS 2008 use 2008 schema to create RDL reports.
So I'm looking for a solution to change VS 2005 schema to 2008 schema. How to do this.
will this issue fix with installing Report Viewer 2010 or not ?
...
i try to make TCP/Ip Application to listen any other roemote computer to recieve any file. So i try to get files. i can do that. on the other hand every sample on google about giving SaveDialogBox to recived path folder.Forexample my old server.cs is that:
using System;
using System.Collections.Generic;
using System.ComponentModel;
us...
Each block representing an entity has an icon to collapse it to its header (hiding all properties from the diagram) in the header's right-top corner. How do I collapse them all without clicking each one manually?
...
I have a weird situation on a winform project.
I have user control (with 600 lines of code around) with a datagridview. I change de ColumnHeaderStyle of the font and save it. After I save the file I close it and open again, the changes were not saved (although the asterisk is dissapeared), because the ColumnHeaderStyle is back to the fo...
What are the steps I should do and everything I should consider when upgrading from Visual Studio 2005 Team Suite to Visual Studio 2010 Ultimate?
Where can things go wrong?
Consider the fact I'm using TFS 2008 and have Continuous Integration and Nightly Builds on build machines.
...
Does anybody knows when will Microsoft release (in their plans or in roadmaps) a 'service pack' for Visual Studio 2010.
I know it's too early to ask, but my client requires a stable release of VS 2010 + .Net 4.0 before going into development of his project.
...