When you run an application from within visual studio, it seems to pick a random port on localhost. For example, running an application right now, I get
http://localhost%3A3240/ApplicationStuffHere
I realize this port gets loaded into the solution file, via
VWDPort = "3240"
How does this get decided on? it seems fairly ra...
I came across the following code that compiles fine (using Visual Studio 2005):
SomeObject SomeClass::getSomeThing()
{
for each (SomeObject something in someMemberCollection)
{
if ( something.data == 0 )
{
return something;
}
}
// No return statement here
}
Why does this compile if t...
Hi guys,
I am working on ASP.Net 2.0 website and I have a strange problem.
First let me give you details about my environment.
I am using
Win XP SP2
Microsoft Visual Studio 2005 Version 8.0.50727.762 (SP.050727-7600)
Microsoft .Net Framework 2.0.50727 SP2
Backend is MySQL (uses CoreLab.MySql.dll)
Now couple of days back I had to s...
I use PB 6.0 to debug my Windows-CE image. Whenever I run in this mode VS2005 opens the disassembly window each time it hits a debug break in a file that it does not have its source (pdb file for the module). This is really annoying as I would like to stick to the output view. I could find a setting to disable this disassembly window aut...
I've got a couple questions about .net console applications.
I created the console app, and included a solution file during the create, but when I open the solution file, it only shows the project, not the solution. Why doesn't the solution load in the solution explorer?
Also, I don't seem to be able to build the project in 'Release' m...
Can somebody provide an example to build a C++ VS solution from command line
...
I'm using Visual Studio 2005 w/.NET 2.0. I have no idea what happened, but all of a sudden I noticed that the Properties window for ALL of the DataGridViews in my project went blank. I've tried dropping in new ones..still blank. I restarted Visual Studio and my computer...still blank. I've done some google searches, and I've found pe...
EDIT: Just to make things clear, this problem was caused by a typo in my code,
in
pointer = new BYTE(datasize);
should have been
pointer = new BYTE[datasize];
All is well!
END
Hi!
I'm having a weird stack overflow problem in Visual Studio 2005 in a C++ project..
In my code, I have a
BYTE* pointer;
This pointer is set to NU...
More to the point, I have a native C++ application, that may never need to use managed types. I would like the CLR to remain unloaded until I the codepath that actually depends on managed types is actually hit.
I was trying to accomplish this using the /clr switch in Visual Studio 2005, but as far as I can tell as soon as I use that swi...
Please explain how to replace the ActiveX controls within a Visual Studio 2005 project (C#) to updated versions.
...
I have a form which requires that you filter on 2 variables before the record is displayed. The year is repeated for each unique visit when you activate the 1st filter. The 2nd filter displays the unique visit.
How do I display the year or any variable once in my first listview filter and still display the unique items per year as an ...
I created a VB.NET Class, and created a strong key, and added it to the GAC using the GacUtil. That part has gone smoothly. The Assembly is installed in the GAC and seems to be installed/configured correctly.
FYI, the assembly is a Class called Tester, that exposes one public static method called HelloWorld, which returns a string, "H...
I am using Visual Studio 2005. When I debug my project, "Apply Code Changes" is disabled in the menu. At one time this worked on my project, but today doesn't. What settings should I check to allow this to work.
Things I have already checked:
I am in debug mode.
"Debug Information Format" is set to "Program Database for Edit & Continue...
Does anyone know how to get my class name and method name dropdown lists again? It's the dropdown lists that are usually above the code. It's just a setting but i can't seem to find it. I don't want to reset my setting btw. I shouldn't have to.
...
I am working on a project that links to a 3rd party static library (herin refered to as EXTERNALLIB). In Visual Studio 2005 I was able to link to EXTERNALLIB and create a usable executable. Now we are using Visual Studio 2008 and I am receiving the following error:
fatal error C1047: The object or library file EXTERNALLIB was created ...
I am having two databases for the same application , one in windows and the other is web based.Since web based one have few functionalities I can't opt for a single database.At the same time I want to share Both databases to be updated with other's data so as to work error free with my module of appointment fixing.If anyone have a nice...
Visual Studio has a lot of environment variables like $(TargetFileName) but I can't seem to find a list of all of them on MSDN or via Google.
Does such a list exist?
...
I recently installed Win 7 x64 on my machine. I have Visual Studio 2005 Standard, and need to install the update for SQL 2008 support, so I can connect to the remote SQL Server within VS.
http://www.microsoft.com/downloads/details.aspx?FamilyId=E1109AEF-1AA2-408D-AA0F-9DF094F993BF&displaylang=en
When I try to run the update, I get ...
Hi all,
I want to create the report in my application using the reportViewer control.
I have added the ReportViewer control to WindowsForm from the toolbox. From the smart tag I, I selected the option Design a New Report. When I click on the design a new report, I am getting a .rdlc report, but I want to design it using a Wizard. I am ...
Over the last couple of days I started getting the following validation warning (green squiggly line at design time) in a Visual Studio 2008 ASP.NET WebForms project:
Validation (): Element ‘xxxx’ is not supported.
Where 'xxxx' was a standard ASP.NET server controls (asp:panel, asp:container, asp:textbox)
The application would st...