visual-studio

How to Remove an Item from the Office Orb Menu in Outlook

Folks, I've been working on ribbon development in Office 2007, but I'm running into an issue that's driving me a bit nuts. I want to remove the "Permissions" option from the Orb menu of a new mail message in Outlook 2007. I am not having any luck. I'm using VS2008 and VSTO 3. Any suggestions? Thanks in advance, Rex ...

Boo in Visual Studio?

Is there a way to use boo in my msvs? I would like my form to call some boo code instead of C#. ...

A C++ Application Compiled With VS2008 Doesn't Run In Other Computer

Hi, I have created a wn32 project with Visual Studio 2008 and Visual C++ language, it uses the ws2_32.lib library and then I compiled in Release mode. It runs very good in the same computer, but when I copy the exe file to other computer (that doesn't have installed Visual Studio), it doesn't run. The message I see is: This applicati...

Is it possible to customize the colors of RockScroll's variable syntax highlighting?

As some of you know the RockScroll Visual Studio plugin is pretty darn awesome. It turns your scrollbar into a mini preview of your code and offers the Eclipse like functionality of highlighting any word that you doubleclick in your code. The problem is the author of RockScroll chose a color that is VERY difficult to see and almost def...

Visual Studio 2008 Exception Window replaced by a Pop-up Window

Greetings, I have this annoying problem where my exception window in Visual Studio 2008 is replaced by a Windows pop-up dialog box (see images below). The exception detail can be quite usefull, so any help would be appreciated. ...

Can't see Methods, etc. in Visual Studio 2008 C# Code

I typically code in VB.NET, but I'm going through a tutorial in C# .NET right now. I'm expecting to see a drop down list for selecting methods and properties at the top of the code file, right underneath the tabs for the code files I have open. However, I do not see these. If I open VB code, it works just fine. I've tried to look for an ...

Visual Studio: default settings

We have many developers here using MSVC 2008 and I want to standardize the Visual Studio settings and project setup. In particular, I want: 1) All of the settings in the Tools -> Options to be the same (especially the tab settings!) 2) We have a source repository where we have a shared folder. The shared folder has header files/code th...

How do you launch the Visual Studio Just-In-Time Debugger for a Silverlight website?

I'm trying to find a way to conveniently debug a Silverlight website when I'm not working inside the Visual Studio IDE. The following command almost works, but it seems to always attach the debugger in Native Mode rather than Silverlight Mode. vsjitdebugger "C:\Program Files\Internet Explorer\iexplore.exe" http://localhost/ ...

Visual Studio Language Service with C# intellisense

Last year I wrote a Language Service for Visual Studio which added syntax highlighting for NHaml files: http://github.com/snappycode/hamleditor. To clarify, NHaml is a html template language that can mix in code elements like an aspx file can. This plugin adds support to the IDE for editing NHaml files, but basically only adds syntax h...

Continous Integration: Unmanaged C++ on Visual Studio 2008

I've spent 4 years developing C++ using Visual Studio 2008 for a commercial company; it's now time for me to upgrade my development process. Here's the problem: I dont have a 1 button build automation. I also dont have a CI server that automatically builds when a commit happens, and emails me whether a build is broken or not. Worse we d...

Static-code analyzer: unmanged C++ Visual Studio 2008

I develop commercial unmanaged C++ app on Visual Studio 2008, and I want to add a static-code analysis tool. Any recommendations? I think it would be real nice if the tool can be integrated into MSVC. I'm thinking about PC-Lint + Visual Lint However, I have been taking a hard look at Coverity, Understand, and Klockwork as well. Pri...

Windows Forms in Unmanaged Code?

I find myself annoyed that Visual Studio comes with a fancy GUI interface designer and that it is only accessible to .NET applications and not even managed C++. Is there any easy way to at least open up a C DLL type interface with unmanaged/foreign code? ...

C++/CLI: linker gives "unresolved token" for win32 function

Folks, I just created my first C++/CLI project (Visual Studio 2008), it's a Library to allow my C# app access an point of sale tally printer. My library builds well and trivial functions work when called from a C# exe. However as soon as I include a WinGDI call (DeleteObject in this case), the linker complains with “unresolved token” ...

How to convert this VC++ 6 code to VC++ 2008?

Forgive me my C++ is incredibly rusty. But I am trying to take some old code and recompile it under Visual C++ 2008. It was originally written for Visual C++ 6.0 The error I am getting is this: error C4430: missing type specifier - int assumed. Note: C++ does not support default-int Ok seems simple enough. But then I look at th...

Migrate from vs 2005 to vs 2008

i work at a large company and we haven't distributed dotnet runtimes 3.0+ out to the desktops so we are all using vs 2005 and c# 2.0 is there any big benefit of moving to vs 2008 and still targeting 2.0 (since the runtime deployment will not be there soon) for the developers. also, if the suggestion is to do the upgrade to vs 2008, are...

What are the differences between visual studio and VS express edition?

What are the differences between visual studio and VS express edition? Probably very googelable, but than again, I have read that coverage in StackOverflow is a good thing. ...

How to incorporate code generation to a C# solution?

(This question is rather similar, but the only answer does not seem to be answering my needs). I am thinking of using Thrift in C#, and am considering how exactly the build process would work. Do C# projects in Visual Studio 2008 support custom build actions that generate C# classes? I found the "Custom Tool" option, but I'm not sure i...

dll files created in Visual C++ be used in C#?

I am creating a dll file in visual C++ through Dynamic Link Library project. I know i can import this dll thorugh object browser in C#. I want to know whether i can use those functions without any issues, since i am programming in 2 different languages. ...

Selective resource compiling in .NET?

How can I choose which resources to compile depending of the compile constants used? So, if VAR1=0 then I wouldn't add RESOURCE_A to my final assembly. I searched around, but didn't find any info regarding this... I guess I'm using the wrong keywords, since I doubt nobody else had this problem/doubt ever before. Also, I use both VS2005...

How can I exit my current project in Visual Studio?

In Visual Studio, how can I exit the current project and load another? Something like reloading? i.e when i'm executiing my project(window application) i need to close the current exe and load another instance of the exe file. ...