visual-studio-2008

No items in VS Toolbox, IDE crashes when adding items to toolbox

I'm at a loss. I'm on win7 x64. If I open up your basic winform app the toolbox is empty. If I try to add an item to the tool box the app crashes, even if I start it from the command line with /safemode I've tried /safemode, /resetsettings, /resetskippkgs I've deleted my .tbd files I've uninstalled and re-installed both .net 3.5 and VS...

Having issues connecting to a server with VS Pro

I just purchased a hosting account from Go Daddy with a SQL Server database and I'm trying to connect to it with VS Pro. I've tried everything I can think of, and called Go Daddy as well. I have SQL server 2008 on my machine, but Go Daddy has SQL Server 2005 - Which I'm sure will bring about even more issues... In my server explorer, ...

I don't want to convert solution files when switching from Visual Studio 2008-2010. How?

I just got a new work laptop. I want to run Visual Studio 2010 Beta 2. However, the rest of my team is using Visual Studio 2008 with .Net 3.5, and I don't want to check-in the solution migration code into TFS. In fact, I don't want any migration code at all - I just want to use the old .NET Framework with our old solution, with the new I...

How to debug through .NET Framework source code?

This question was asked before... but a while back.. and perhaps someone found a solution. Has anybody been able to debug through .NET Framework source code after installing VS 2008 SP1? I can't get VS to download the source code (although I'm able to download .pbd files) ...

How to include external "lib" directory in multi-project .vstemplate?

I've written a multi-project .vstemplate file, which works alright, except that the projects have some external dependencies (.dll's) that I want to include with the template, as a peer directory to all the project directories, such that the generated solution looks like: slndir lib # dependencies proj1 proj2 I have everyt...

Visual Studio 2008 Class Designer - many to many associations

Hi! Is there a trick for visualizing a many to many assocation in the Visual Studio Class Designer? I have an Employee entity and a Team entity. So each entity has a list of his counterpart. Associations are possible to show in the Class Designer, but only for 0..1 mulitplicity. Or does anyone has experience with VS 2010 and the new a...

importing a short cut for my application in vs 2008 toolbar

i need when i install an application i developed it import a short cut in the vs 2008 toolbar ...

Visual Studio 2008 Preprocessor wierdness

We have set-up a simple versioning system for our builds to ensure the built files always indicate whether they are Beta Debug or Beta Release builds I moved the file version info to to myapp.rc2 and created version.h // version.h // _DEBUG is defined by VS #define _BETA #ifdef _BETA #define FILE_DESC1 _T("BET...

Strange Visual Studio 2008 Crash when editing CSS or in Designer - help!

So visual studio 2008 SP1 has started crashing on me when working on web applications, and nothing I do seems to work. Things I've done: - Reinstalled - Uninstalled the web authoring component and reinstalled - this seems to fix the problem for about an hour - Cleared temp files - Run VS in safe mode Yet, when in design view, or editin...

Security policy differences between Outlook AddIn 2003 and 2007

I have written a managed AddIn for Outlook 2007, and am now tasked with porting it to 2003. The addin downloads DLLs into the local user profile folder, then reflectively loads them for execution. This all works just fine in Outlook 2003, even with Click-once deployment. The issue Im experiencing is that the AppDomain does not have Exec...

display image in gridview column based on value in other column

I have a gridview which has a checkbox column and an image column now if the checkbox is selected the image column should show a green tick image and if checkbox is not checked it should show a wrong image icon in consecutive rows. the .aspx page has <asp:TemplateField HeaderText="Backup Session Status" SortExpression="...

Running application in Visual Studio Express

I am coming from XCode and this is probably a stupid question, but after I build my program successfully, I try to click on the Application in the debug folder and the window just closes. How do I run my application that I create? ...

Is it possible to compile both 32-bit and 64-bit configurations without restarting Visual Studio?

Currently Visual Studio just starts cl.exe for C++ source compilation. cl.exe needs to be in one of folders listed on the %PATH% environment variable. Since there're separate versions of cl.exe for 32-bit and 64-bit compilation in order to compile a 32-bit project after compiling a 64-bit project it is necessary to restart Visual Studio...

visual studio plugins for C++ environment

hi there 1) I'm new into C/C++ development using Visual Studio 2008 and after some searches here i didn't find any posts related to C/C++ Visual Studio plugins besides Visual Assist X?(there are a lot of posts related to C# and asp VS environments). 2) The right approach about learning how to use those tools is to learn/try them one ...

RegisterClassObjects() Doesn't Find Classes To Register

I'm in the process of converting an application from Visual Studio C++ 6.0 to Visual Studio 2008 and am running into problems with ATL. I've been having a whole host of issues, but this is the first call that differs in return values between the two different compilers. The following line, when compiled with VC++ 6.0, returns S-OK. Wh...

Is there a way to syntax highlight an If - End If statement in VB.Net

I am trying to read through some code and it would be helpful if the editor in VS 2008 would highlight the If statement by using the cursor and double clicking the End If statement (or something like that). I believe I could do something like this in Java using Eclipse - it was very good at highlighting a code block by clicking next t...

How can I automatically add existing items to a Visual Studio project?

I have a tool which dynamically generates .xaml and .xaml.cs files and puts them in the appropriate Visual Studio directory. To add them to the project, I have to then: right-click on that directory choose "add existing item" navigate to the matching directory on the hard drive select the two files that were created click ok Is the...

Can I (and how do I) target .net 4 with vs 2008?

VS2010 beta 2 is sloowwww on my machine. I'd like to start playing with .net 4 though. Can my vs 2008 solution's target .net 4 beta 2? How? ...

System Testing a desktop application

Hello, I've got a desktop application written in C# created using VS2008 Pro and unit tested with Nunit framework and Testdriven.net plugin for VS2008. I need to conduct system testing on the application. I've previously done web based system tests using Bad Boy and Selenium plugin for Firefox, but I'm new to Visual Studio and C#. I...

Cannot Debug Unmanaged Dll from C#

I have a DLL that was written in C++ and called from a C# application. The DLL is unmanaged code. If I copy the DLL and its .pdb files with a post build event to the C# app's debug execution dir I still can't hit any break points I put into the DLL code. The break point has a message attached to it saying that "no symbols have been loade...