visual-studio

Inline Assembly Jump Error

Why does this fail, once Masm reaches jmp? struct gdt_entry { unsigned short limit_low; unsigned short base_low; unsigned char base_middle; unsigned char access; unsigned char granularity; unsigned char base_high; }; struct gdt_ptr { unsigned short limit; unsigned int base; }; struct gdt_entry gdt[3]; s...

Web setup project failed to find the binary

I'm using visual studio to build the setup project for my web application. The build failed because it seeks binary output at the bin\Debug\ folder while the binary I generated is actually under the bin folder. What can I do to fix this? Thanks in advance! ...

VS2008 on Win7 64-Bit: Debugging a Windows Service

Hi all, I'm trying to debug a Windows Service using VS2008 on Win7 64-Bit. The problem I'm having is that none of my breakpoints are being hit, regardless of which build configuration I choose: x86, x64 or AnyCPU. Using "Attach to Process" after the service has started, none of the breakpoints are hit - yet the IDE doesn't inform me th...

How to link graphviz with VIsual C++

Someone please tell me How to link graphviz( or call its code) in C++ (VIsual Studio) ...

How does Visual Studio decide which port to run applications on?

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...

How do you reference a field in the Embedded Code of an SSRS report.

Hello, Is there a proper way to reference the fields of a ssrs report from the embedded code of an ssrs report? When I try to use Fields!Program.Value I get the following error -- There is an error on line 3 of custom code: [BC30469] Reference to a non-shared member requires an object reference. Upon googling I found you could re...

Can you reference the textboxes on an ssrs report from embedded code

Hello, Is it possible to reference a textbox from the embedded code of a ssrs report. I would like to show or hide the textbox based on a condition. Thanks. Seth ...

C#: When debugging in a catch can you get at a non-explicitly declared exception?

It is a compiler warning and generally frowned upon to have unused variables in your code. Therefore the following will generate a warning because e is unused try { throw new InvalidOpreationException(); } catch(Exception e) { } The correct way of doing this is to not give the exception a name unless you're going to make use of it: ...

How to sort by project name in Visual Studio 2008?

I have one solution with 3 folders (Forms, Notices, Reports). In the Notice folder I have about 100 projects. The problem is, they are ordered by the creation date; while I would prefer that they were ordered by name. I have seen that this does change, by sorting alphabetically, if I add a new project within the folder. But, once I clos...

How do I add a field in to a report (Crystal Reports in Visual Studio)

I have an existing report (Crystal Report) in my Visual Studio project that is based off of an SQL Server View. using an OLE DB (ADO) connection. I've updated the View since the report was created. I've changed some field names and added a field. How can I updated the fields on the report to point at the new fields in the view? How can...

Asp.net MVC 2 on Visual Studio 2010?

Anybody have asp.net mvc 2 running with visual studio 2010? Is it as easy as referencing the output of the mvc 2 source code? ...

How to stop Visual Studio adding assemblies to my web.config?

Every time i build, or publish, a web-site, Visual Studio attempts to check out the web.config file so that it can add numerous assemblies that are not required. In other words: web.config before: <configuration> <system.web> <compilation> <assemblies> </assemblies> </compilation> </system.web> </co...

VS2008 - Windows Form Editing Confuses VS

We have a project in our solution that houses a test application with multiple windows forms. Every time I open up a form in the form editor, Visual Studio goes out to lunch, chewing up an entire processor... until I kill the process. I tried to port over to a new project, thinking something in one of the forms, or the project file w...

What is the proper way to handle assembly version?

I am looking forward to implement daily build for a upcoming project. But before doing that, I need to know how to properly version an assembly. I have the following concern: Should each assembly have an independant version or should they all share the same version? Should I use a * version for build and revision? Is revision relevan...

access exchange 2003 calendars with vs2005+

I'm looking for a way to access Exchange 2003 calendars to add appointments. I'm hoping to use an admin account and impersonate each user to add appointments which i'm pulling from an oracle database. I've seen lots of examples for Exchange 2000 using cdox.dll which are exactly what I'm looking for but not an equivalent for 2003. I have ...

Best practices for signing assemblies with multiple projects and developers

I’m looking for recommendations and best practices for applying signed assemblies in an organization with 30+ developers, 20+ solutions and 60+ projects. We’re using Visual Studio Team System 2008 and TFS. While creating a key and signing the assembly is a very easy and straight forward procedure, I’m concerned how we manage this the be...

WiX Setup Project - Stop Building after every compilation

I have a visual studio 2008 solution with multiple c# library projects, a Web Project and a Wix Setup project. The setup project takes about 2 minutes to build. Currently when I do a build, it will build every project, including the setup project. I want to be able to build all projects, excluding the wix project when using the debu...

How to pin Visual Studio Solutions in Windows 7 Taskbar

As in the title. Is it possible? When I rightclick on Visual Studio in a Taskbar I have a "Recent" category there i have but 1 .cs file that I can pin. Now the question is: what to do to pin a .sln solution there? ...

Visual Studio links although nothing has changed

I have a couple of VS 2008 projects (C++) that are linked every time I start a build, even though nothing has changed. i.e. I select "Build Solution", it compiles and links, I select "Build Solution" again, it doesn't compile anything, but links again. This is quite annoying and I have checked everything that might cause it to link agai...

Visual Studio - Determining Lines No Of Lines of code in a project

Visual Studio - Determining Lines No Of Lines of code in a project - is this possible in VS 2008? ...