Occasionally when I generate a GUID using visual studio, the 14th hex character is lowercase while the rest of the hex digits are uppercase.
Cause a bit of problem when comparing the string representations of two GUIDs. Now I always compare the binary equivalents to be safe.
...
Hi,
I use qmake (Qt 4.5.1) to create my vcproj files. I would like to create customized filters for the output vcproj, such that not every *.h file ends up in the "Header Files" filter, *.cpp in "Source Files" etc.
For example, a project containing the files
foo\foo.h
foo\foo.cpp
bar\bar.h
bar\bar.cpp
should have a vcproj file with
...
Hello Friends
I am looking for the source and download of the Control Visualizer which is developed by Brett Johnson, but i am unable to find any links related for downloading the Visualizer and also unable to find any source code for the same.
I am using VS 2005, are there any links for or any other material related to this control vi...
Microsoft documentation on Visual Studio states, that in order to open dump file, you need to do "File -> Open -> Project" routine.
However, for some reason, in my case VS 2008 does not see dump files - there is no Dump files (.dmp; .mdmp) option in the files filter. Dmp extension is not associated with VS 2008 either.
What could be wr...
Hello all!
This must be an easy question but I can't find a properly answer to it.
I'm coding on VS-C++. I've a custom class 'Person' with attribute 'height'. I want to call class method Grow() that starts a timer that will increment 'height' attribute every 0.5 seconds.
I'll have a StopGrow() that stops the timer and Shrink() that de...
I have a native release dll that is built with symbols. There is a post build step that modifies the dll. The post build step does some compression and probably appends some data. The pdb file is still valid however neither WinDbg nor Visual Studio 2008 will load the symbols for the dll after the post build step. What bits in either ...
Qt software recently released Qt Visual Studio Add-in. Does anybody know, is it a subset of Visual Studio Integration, or is there included something new? Anyone tried both?
...
Whenever I add a new class to a Visual Studio (C#) project, I get the following usings automatically:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
Additionally, the following DLL references are added if they weren't there already:
System.Core
System.Data
System.Xml
I'd like to prevent VS f...
I know that is good to switch to newer software, but what are the reasons which I can tell to people above me? In our department everyone has to code in the same IDE, so switching means for company buying approx. 10 upgrades and unless there is a good reason they are not very willing to do so (; We code in C++.
...
Hi, Is there any tool for showing the cyclomatic complexity for Visual Studio in the left hand bar where the debug symbol goes?
I seem to remember there was an addin for Resharper but don't think it works in 4.5
Has anyone seen any similar tools, other than the built in support in VS
...
The text editor in Visual Studio 2008 was very fast over Remote Desktop.
The text editor in Visual Studio 2008 SP1 is very slow over Remote Desktop, causing way too much repainting (and resulting flickering). The slower your connection is, the worse the problem is, but it's aggravating enough even when RDPing into a machine on the same ...
I'm trying to display all selected items from a listbox into a textbox. Currently I'm doing the following without success:
For i As Integer = 0 To lb_words.ListCount
If lb_words.Selected(i) = True Then
tb_text.Text &= " Presto"
End If
Next
What should be happening is that for every selected item in my listbox (lb.words...
I come into a strange problem in pthread programming
I've compiled the following code in vs2005 with pthread-w32
#include <cstdio>
#include <cstdlib>
#include <ctime>
#include <pthread.h>
#include <windows.h>
pthread_mutex_t lock;
void* thread1(void *) {
int r1;
while(true) {
pthread_mutex_lock(&lock); // rand is maybe a CS
...
I'm trying to create a very basic "Setup and Deployment" project using Visual Studio.
What I would like is the ability to choose which components to install. Let's say that each component consists in the primary output of a single class library (i.e. each component is actually a single module or compiled assembly).
I haven't seen such a...
Hi , Is there any way to define an IDE Layout in visual studio 2008?
Lets say that when I code in C# , I have the properties windows disabled and the output window at the bottom. Now Lets say that when I am in the visual editor of a window , I want the tools and the properties windows on the left and the output window disabled.
the pro...
I am debugging a user dump file and there is this class member function at the top of the the stack trace
the stack trace is something like this -
msvcr80.dll!invalid_parameter_noinfo() + 0xc bytes - **1st FRAME
msvcr80.dll!invalid_parameter_noinfo() + 0xc bytes - **2nd FRAME
myDLL!myClass::myClassMemFunc(int val = 90) ...
Is it possible to let Visual Studio automatically create an event handler method for an UI component within the markup view?
Let's say I have
<asp:label runat="server" />
and would like to handle the OnPreRender event..
How do you create the handler method? Manually or do you switch to design view and double click the event within t...
Hi VS2010 Beta1 was released today and i see lots of T4 usage in Entity Framework and modelling. Is there already an T4 Editor available?
...
I've got a project that depends on a particular version of MSVCR80.dll (the MS Visual C Runtime) and I'm running into problems where, depending on the particular system configuration, my app doesn't always get the right version of that file. It's been a bit of a crap shoot as to what path it takes to find a file with that name, and it's...
How do I create and drop a database defined using Visual Studio Team System Database Edition from inside a unit test? (I guess that makes it more of a integration test...)
I want to be able to create the database either for each test or for a suite of tests and then drop the database after each test or suite of tests.
Is there an API I...