visual-studio

Visual Studio 2010 Exceptions dialog is empty (as of today)

Starting today, I noticed that the Exceptions dialog within VS2010 appears empty, and I can therefore not make any selections within it. I am not sure where to go to begin trying to fix this, as I see no error or anything. This has previously worked. Following is a screenshot: I have tried checking if any updates were installed recent...

VS2008 "must implement" fake errors?

Hi. I have a VS 2008 VB.NET Solution, which is quite large. Every once in a while, if I take latest code from source control, I get hundreds of errors. These aren't real errors. They are all about classes not implementing functions/events from interfaces (which they DO implement). "Class [class name] must implement [event or function...

C++ unit testing with VS test professional.

Does any one know if I can test native code in VS Test 2010? ...

Way to Rename all Functions/Methods to Random Names in Visual Studio Studio

I need to create a macro to go through my 100000 line project and rename each function to random strings. Has anyone done something like this? ...

Windows VC++ 2010 code before my main() function executes.

I've been compiling simple Hello World applications in Visual Studio 2010 with the C++ compiler (Win32 is the target) to see what the product looks like under the microscope when I run it with the Immunity debugger. What I've noticed, however, is that there is some code (quite a bit of code, actually) that gets run before my main functi...

static library works in console but not in GUI app - strange.

Hi all. I have a strange error that has bothered me all day. I have a library function that I have compiled. I statically link the library to test it in a separate console application and everything builds and works ok. It is just a simple sqrt function called sqrtval at the moment. However, when I include this library in a larger graphi...

Best practices for editing sln, proj, suo files?

Hi, In .NET, there are SUO, SLN, Proj files for every solution/project. Whilst I know what these files are, is it wise to edit them by hand? Do they ever even need to be edited? If so, what is the best way? Thanks ...

How To read/write C array stored in text file created through bin2C utility

Hi, I am creating a application, input to which is a C file having an array ( which is created with bin2C.exe ) , the code segment of the C file is:- unsigned int MyArray[] = { 0x00000001,0x00000002,0x00000005 ...}; now I need to read this array as a text file and story its value in an int array. Then I need to modify that array and ...

VB Collection cannot be indexed because it has no default property? How to iterate a collection?

Dim RS2 As iHistorian_SDK.TagRecordset ... For intI = 1 To RS2.Item.Count .... HistEngHigh = RS2.Item(intI).HiEngineeringUnits Now this gives the error Interface 'VBA.Collection' cannot be indexed because it has no default property. Now it used to work when I ran the code in VBA 6.5 via iFIX but now that...

Infragistics Ultralistview MouseHover Retrieve User Information

Hi, I am using Infragistics Ultralistview to display data in List which contains 3 columns and 4-5 rows(that could be upto 'n' rows depending upon data added). When i hover over the row for 2 seconds, i want that other information about that row should be displayed in a panel like control. How to do that? Let me know if anything else i...

Need an advise about application's architecture

Hello. I try to build an application's architecture these days and I will be glad to hear some advises. Here are some details about the application itself. It has a web UI where customers could register and pay (with credit card) for some sort of services. They have to provide some info because these services are based on it. For example...

how does asp.net code behind work ?

i am new to ASP.NET development, and i am a little bit curious on the asp.net code behind mechanism. i know why we use it but what i would like to know is: the relation between aspx page and the code behind who does the linking between these two separate files ? how does it work? how an element created in aspx page can be accessed direc...

Problem installing SQL Server on Win 7 with Visual Studio

I have Windows 7 box. I want to install SQL Server 2005 on it. The box has following programs already installed: Visual Studio 2005 Visual Studio 2008 Visual Studio 2010 I had SQL server 2008 which I uninstalled. When I try to install SQL Server 2005, I get the following warning message: If I click on "Check for solutions online"...

Visual Studio C++ Express 2010 - does it work with unmanaged code?

Does Visual Studio C++ Express 2010 work with unmanaged code? Or is it only managed? ...

Visual Studio data-driven tests

Hi, I'm using a TextContext property to access the current row in an Excel file. The test is repeated for all rows. Is it possible to access all rows in a single step? Rows are related, hence for me one sheet should be a complete run. Edit: I add some code as requested: int result = this.TextContext.Rows[0]["GlobalResult"]; foreach(va...

system.exception

hi,while doing debugging i found a blue dotted corner around catch block, while hovering it is showing system.exception...what does it mean and what to do ........... ...

A Linux tool that will display errors as I type, Visual Studio style

I'm looking a tool that will display details of syntax errors in my code as I'm typing it, in the same way that Visual Studio does. I'm currently using Gedit, but am not adverse to acquiring a new text editor. I'm using C++ and HTML/CSS right now, but will be branching out to more languages in the future, so it needs to have support for ...

Four binaries out of Visual Studio/C# compilation.

I compiled a simple program (HIR) in Visual Studio 10.0 (C#), and I got the four binaries in a Debug/Release directory. HIR.exe HIR.pdb HIR.vshost.exe HIR.vshost.exe.manifest I guess that HIR.exe is the binary, and HIR.pdb is debugging info. However, what are HIR.vshost.exe and HIR.vshost.exe.mainfest for? In terms of deployment, d...

Issue with visual studio template & directory creation

Hi all! I'm trying to make a Visual Studio (2010) template (multi-project). Everything seems good, except that the projects are being created in a sub-directory of the solution. This is not the behavior I'm looking for. The zip file contains: Folder1 +-- Project1 +-- Project1.vstemplate +-- Project2 +-- Project2.vstemplate mya...

Can a project contain other projects with Visual Studio?

I have a software project that has the following structure. - Library A - Library B - Main program - Test for Main I have four project files (csproj) for each one, but it would be good if I can debugging/compile those projects in a single solution explorer. Does Visual Studio (especially for 2010) support this feature? ...