visual-studio

Visual Studio Shell (Isolated Mode) Redistributables

Hi, I want to use the Isolated Shell as a front-end for a custom debugger. If I understand correctly, the Visual Studio Debug Package implements the 'User Interface Parts' of the Visual Studio Debugger system, that is, among other things, all the debugger windows (stack, watch, breakpoints etc). Is the VS Debug Package a part of the ...

Visual Studio Attach to Process

How is this tool used? Not the debugger, I mean Tools > Attach to Process. Does this mean I have the ability to dynamically link a DLL into another application or am I thinking far beyond this? ...

How to debug "Unexpected debug information initialization error -- 'Failed to find a required export in the runtime.'"

I'm getting this error message on all projects (including brand new empty templates) I'm trying to build with Visual Studio 2008: Unexpected debug information initialization error -- 'Failed to find a required export in the runtime.' The Error Help for Compiler Error CS0040 is not very helpful: This error can occur when u...

Sum IIF Expression

Im trying to sum an expression in visual studio and just keep getting an #error but not sure why as this si the first time i have tried to sum an expression, only ever done it on a single field before. Any Suggestions!!! =IIf(Fields!STATUS.value = "Completed" AND Fields!DONOTINVOICE.value = True, Fields!ORDERCOST.Value, "") ...

Does it exist an API for "International Settings" in Visual Studio?

I'm working on Visual Studio Extensibility and I need to set the "shell" language from code. In other words, I'm looking for an API to do the same you can do "by hand" with the Tools -> Options... -> Environment -> International Settings property page. Up to now I didn't find any reference: hints and suggestions are welcome. ;-) Thanks i...

ASP.NET: Web Site or Web Application?

When I start a new ASP.NET project in Visual Studio 2008, I can either create a new ASP.NET Web Site or an ASP.NET Web Application. What's the difference between these two project types? Why would I choose one over the other? If I'm using Visual Studio 2005 instead of Visual Studio 2008, is the answer different? If I'm using Visual St...

How can I improve Visual Studio performance on a slow hard drive?

I currently have a laptop with a 5400rpm drive. It has visual studio installed and whilst it's just ok for working on, I've read plenty of places that you can get a pretty nice performance boost from VS just by increasing the drive speed. I don't have that luxury, but I was wondering if I might be able to get some performance benefit f...

Visual Studio: Make view code default

Is there any way to make Visual Studio show the code of a control / form by default instead of the designer? I tend not to be a fan of the designers as they add bloat. ...

How can I use Application Settings in a mono project?

I'm trying to port an application to Mono, however Mono doesn't support "Application Settings". I don't and won't use Mono Develop, the development is done with Visual Studio. Is there any quick way to solve this? Or should I implement my own settings replacement class? If it matters this is a VB.NET application. ...

Office XP Shared Addin VS 2008

I'm trying to create a Shared Addin using VS 2008 for Office XP (Excel to be precise). However, after creating the project in Visual studio and changing the references to Office XP (apart from Extensibility which I don't seem to be able to find a copy for office xp) and adding excel.exe to the references as well. I now don't seem to be a...

Testing in Visual Studio Succeeds Individually, Fails in a Set

When I run my tests in Visual Studio individually, they all pass without a problem. However, when I run all of them at once some pass and some fail. I tried putting in a pause of 1 second in between each test method with no success. Any ideas? Thanks in advance for your help... ...

VB6 lives forever like Cobol

In the last 3-5 years I have been renewing an insurance application and a commmercial integration toolkit based on vb6. According to Microsoft's "It just works policy" the IDE is no longer supported after april 8th 2008 It still works to develop and deploy vb 6 apps. The question is: When will it be impossible to support vb6 applicatio...

Visual Studio Filter Debug Output

I have some code that causes a bunch of exceptions (which can safely ignored) but it floods my debug output window. It always has the same form and would be easy to filter out. How do i write a macro(?) to filter out these lines in realtime ...

VS2005 Configure "fallback" DLL

I'm trying to add SQL2008 support to a .NET 2.0 application. However, my unique constaint is that some users will still use SQL2005, and I don't want to require them to install the SQL2008 client components. The actual set of DLLs I need for SQL2008 are different than SQL2005. The code can remain the same. Botton line, I need a way i...

Visual Studio: How to view "Advanced" properties in the Properties window?

i need to see the ClientRectangle of a form as i'm designing it. This particular property is tagged as "Advanced", and by default is hidden from the Properties window: [EditorBrowsable(EditorBrowsableState.Advanced), ...] public Rectangle ClientRectangle If the ClientRectangle property i want to look at is out, then i guess i can sett...

How to use Office from Visual Studio C#?

The technique for adding a reference to the COM interop of Office in Visual Studio is to go to: References Add Reference Select the COM tab Select Microsoft Office 11.0 Object Library And magically named reference appears: Microsoft.Office.Core The Project.csproj file shows the details of the reference: <COMReference Include="Mic...

Debugging .NET assemblies built outside of Dev Studio

I have a .NET project which references another assembly that is built outside of the solution. I have all of the source code to the other assembly - but I can only add it as a ".DLL" reference rather than adding the actual project as a dependency. The problem is that when I step into the external code, the debugger "steps over" it. Ho...

Automatic generation of function stubs

Is there any Visual Studio add-on (or windows/unix stand-alone program) that creates stub implementations in the cpp file for the functions (including class member functions) that are defined in the header file? ...

Visual Studio Upgrade Advice 2008 / 2010

Hi all, Currently thinking about pitching the argument for us migration from vs 2005 (winforms) to vs 2008 (wpf). My main point being the new UI design features. I am slightly worried that we will put loads of work into upgrading everything only for us to have to do the same when 2010 comes along? So this leads to also consider skipp...

Show a loading screen in vb.net

I need to show a screen or something, saying 'Loading' or whatever while long process are working. I am creating a application with the Windows Media Encoder SDK and it takes awhile to initialize the encoder. I would like for a screen to pop up saying 'Loading' while it is starting the encoder, and then for it to disappear when the enc...