Running VS2008 Pro on Windows 7, all SP and hotfixes installed.
When I click F1 on a (valid) keyword in VS2008, I only receive the "Information Not Found" page. I know I didn't install the full msdn as I just wanted to use online help. I can't recall if I clicked or unclicked anything during the install process (installed a couple of ...
In Visual Studio land, I used to be able to define a structure in an XSD file and add a special attribute to it which would cause it to be dynamically compiled and available to use with intellisense in the other C# files in the application. I am not sure exactly what the term for this is, perhaps "dynamic code generation."
I am trying ...
This is something that has been bugging me for a while as it is easily fixed but not desirable.
I have a DataGridView that has 5 columns. The first is called ID.
In vb.net the following line gives an error "Object reference not set to an instance of an object":
dgvJobs.Columns("ID").Visible = False ' ERROR
dgvJobs.Columns(0).Visible ...
is there a way to force the default sort to sort differently. I'd like it to sort by category so my errors are ahead of my warnings, but i can't find a way to do this. When I set the sort order to category, when i hit build selection, it resets. Interestingly enough, build solution keeps the sort order. Only build selection resets it...
When you use ASP.NET web site (instead of web application model) and add reference to an assembly from local folder, Visual Studio, it seems, understands that this local assembly is also in GAC and so does NOT copy this assembly to bin folder (as it does with non-GAC assemblies), but simply adds new record in web.config file.
Why such ...
Can g++ and minGW on Windows XP use the Windows SDK?
Specifically, why does g++ fail to compile:
#include <stdio.h>
#include <windows.h>
int main(void) {
printf("!!!Hello World!!!");
return EXIT_SUCCESS;
}
I have tried compiling by by running:
g++ -c -Wall Test.cpp -IC:/Program\ Files/Microsoft\ Platform\ SDK/Include/
I get a ...
As shown in this screenshot, windows forms widgets appear different in design mode than they do in the actual runtime.
I'm using VS2008 Pro and my desktop is set to use the default windows-xp style. Why does .net insist on using legacy widgets? My google-foo fails to find a solution that doesn't require custom widgets or extended user...
I and another developer are working on the same VS 2008 project using Source Safe. If one of us needs to add a new item, the person who doesn't have the csproj file checked out gets a message that they can't add because csproj and vspscc files are checked out.
Is this the normal behavior of Source Safe? What's the workaround beside ask...
What are the best practices around providing a smooth debug experience in Visual Studio 2008 when using dependency injection (DI)?
Specifically, suppose I have a solution with 3 projects:
MySolution:
- ConsoleApp
- ServiceInterface
- ConcreteService
ConsoleApp has a reference to the ServiceInterface project, and uses a D...
Hey all,
I'm working on a Visual Studio template where the generated project relies on a number of references, which happen to be other projects under source control.
The question is how do I set this up in my ProjectGroup template? For example, if I have an already existing project at "C:\Stuff\MyUtilityProject\Utility.csproj" with ...
I wanted to add an event for a textbox to handle when it loses focus. I was sure I remembered some sort of LostFocus event, but I didn't see it in the Properties grid. But sure enough, the event exists if I access it programmatically. I'm using VS2008 - any reason why this event (and maybe others?) wasn't shown in the Properties grid?
...
I was experimenting with ways to get rid of some memory leaks within my application the other day when I realized that I know virtually nothing about cleaning up my resources. I did some research, and hoped that just calling the .dispose() would solve all of my problems. We have a table in our database that contains about 65,000 record...
Hi all!
I have a big problem, and I hope you can help me.
I'm porting a game from Linux to Windows, and using MinGW works fine (except for some crashes that I don't know how, but this is not my problem now)
Game use Fontconfig (2.4.2-3), Cairo (1.8.8) and Pango (1.26.0) to render text.
Problem is that, using Visual Studio, I can't se...
What's the fastest way to randomly generate numbers, either randomly or simulating random? I don't really need a true random number generator, it would be acceptable to simulate random. I tried other random simulation methods but none were faster than this.
Here's the fastest way I have now:
Private myRandom As New System.Random(CType(...
HI,
All of a sudden today png files of my web application are not showing up in the browser.
I am using Visual Studio 2008. The files are not even opening in the vs editor.
When i double click on the icons in the vs editor it is saying
"Cannot load file. Unknown bitmap format." But so many days those were there and was working
fine...
Hi,
I am using Visual Studio 2008 .Net Framework 3.5 SP1 and get the following error when I save (ctrl-s) a dataset .xsd file within the VS IDE:
InvalidArgument=Value of '-2147483648'
is not valid for 'RowPosition'
Is this somethng anyone has come across? The way I have fixed this in the past is to remove the DataTable and Table...
Is it possible to print the state of an active thread in visual studio(2008) before exit.
My application is written in ANSI C.
Actually i am getting a random issue during automated(regression) testing, and problem never occurs during manual debugging.
So, i want to print the state of active thread before exit the application to know w...
I remember an addon for VS.NET which allows you to see the styled preview of an XML code comment when you mouse over. This is quite useful when typing XML comments to ensure that style is correct.
I googled but couldn't find it, can anyone remind me what was that addon? Or am I just imagining things? :)
...
I have a single visual studio solution containning all the projects (lets say there are five projects). Additionally, the solution also contains test projects for each of the source projects. In all, there are 10 projects under a single solution. When I launch the test view in visual studio it lists tests only from one of the test assemb...
We have a mature c++ COM codebase that has been building, registering and running for many years. This includes numerous developer machines and autobuild machines.
The codebase builds several dlls and exes. Some of these are COM servers.
The typical setup is Xp64 using both visual studio 2005 and 2008.
We have both 32 bit and 64bit ...