visual-studio-2008

how can I reload an update panel onclient side using javascript?

I have a gridview button that I programmatically created and I want to load an update panel on the client side with the sent data. I have a hidden value field that gets its data on the click of the gridview button and the dropdownlist in my updatepanel depends on that value. ...

Database Versioning Using Visual Studio

In the SO podcast episode 54 Jeff talked about using Visual Studio to save all the database objects to individual files. This sounded like just what my team needed to better implement database schema changes into TFS and I told my lead about it. He thinks it's a great idea to. Unfortunately, so far I've had no luck getting this to ...

Inspecting dependencies of static libs / executables

Hi, I have a rather large project with a whole bunch of linked dependencies. The problem is that there's a dependency getting linked to which was compiled with VS 2005 and links with the vc80 debug crt, while I've migrated to VS 2008. The problem is that this also means that I must have the vc80 debug crt installed, something which I'd ...

Is there a visual representation of CallStack in VS .Net (instead of the in-built stacked representation)?

Is there a plugin available for Visual Studio .Net that gives a visual representation of the CallStack while debugging (instead of the stacked representation of method calls that is in-built in it)? (I am imagining something similar to an execution path we have in SQL server) This, imho, would help in visualizing the logic flow of the pr...

Frequent Access Denied to Temporary ASP.NET Files.

Literally every second time I run a big ugly web site project, I get an UnauthorizedAccessException, with a message pointing to a DLL, e.g. Temporary ASP.NET Files\ctheweb\0d76d363\4695c81f\App_Web_vi6bbbpy.dll' is denied. I then stop and restart the project, and it runs fine. I do some testing, debugging, fixing, run it again, and get...

How To Debug VB.Net Crystal Reports Application That Causes VS2008 to Hang

Hi, I have encountered an error while debugging a VB.Net application in Visual Studio 2008. While debugging the console application in Visual Studio, when the application instantiates a Crystal Reports 'ReportDocument' object, VS2008 hangs. Even when the devenv.exe process has been killed, I am unable to kill the still running vshost...

VS 2008 Toolbox shows multiple instances of the same control

I have VS 2008 Team Suite on my notebook, when i create a web page and open the toolbox, i see multiple instances of the same control. Is there any way to fix this? Similar question here . I tried the only solution posted, it did not work ...

How to store data to Excel from DataSet without going cell-by-cell?

Duplicate of: What’s the simplest way to import a System.Data.DataSet into Excel? Using c# under VS2008, we can create an excel app, workbook, and then worksheet fine by doing this: Application excelApp = new Application(); Workbook excelWb = excelApp.Workbooks.Add(template); Worksheet excelWs = (Worksheet)this....

Is it safe to remove the SQL Server 2005 Express installed by Visual Studio 2008 when SQL Server 2008 is installed?

Or will everything explode and kill a couple of kittens? ...

Adding database in a sample project .zip or svn repository

Hello, I often want to send sample apps to friends & colleages that work with a database. For real projects I'd like to include something in the repository that allows people to recreate the database quickly, to avoid having to depend on server X still being there in a few years. I'm not really good with MS SQL server management stud...

Visual Studio 2008 non-obvious but useful features

Possible Duplicate: Hidden Features of Visual Studio (2005-2008)? I am a C++ programmer and I program in Visual Studio 2008 with wonderful VisualAssist plugin. I've used this IDE a lot and know quite a bit about it but nevertheless I find a new features or I realize new ways of using known features from time to time. They were q...

Will Visual Studio 2010 still be able to use all the plugins for Visual Studio 2008?

I use Visual Studio 2k8 Pro Edition at home and I have loaded it with a lot of important addins customised for my development. If I get VS2010 Pro Edition, would all of these plugins fail to work? Is this a plugin-related matter or down to Visual Studio itself? E.g. Visual Studio 2010 may just be based on the 2008 version but with enhan...

How do I make Visual Studio automatically add references when I add a project to the solution?

Programming is (so far) just a hobby for me, so I try to find ways to improve, learn some basic algorithms and programming skills that might come in handy in the future. Currently I'm working my way though Project Euler and solving the puzzles there. I'm working in C#, and have set up a solution named ProjecEuler in which I add one new ...

"Tool Has Timed Out" error using VS2008 Web Site Administration Tool

I am using the Visual Studio 2008 Web Site Administration Tool. I successfully configured it in one environment, but my second environment is not working. When I launch the tool, I get the error message immediately that the "Tool Has Timed Out". I have run the aspnet_regsql.exe to create the authentication db, and configured connection s...

Testing a visual c exe on a test vanilla machine don't start

This Application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. This is what I get when i try my debug file on a system without visual studio installed. I tried to copy the Debug_NonRedist\x86\Microsoft.VC90.DebugCRT in the same folder as my exe, wi...

Help needed in Visual studio project properties

Hi i hav a main project(ex: applicationsolution explorer (10projects)) which depend on 10 other projects. in those in one project i need to use /clr(Common Language Runtime) option.As i know /clr doesnot compatable with /mtd(in code genration property of linker section ) i changed to /mdd. my question is Do i need to enable /clr ...

How can I stop accidentally checking in a file in TFS

I have a web.config that occasionally I'll checkout and modify to use a hardcoded password instead of reading it from the registry. How can I prevent myself from absent-mindedly checking it back in and annoying my co-workers? I could achieve this in the past with Perforce by creating a separate pending changelist. edit - I'd rather no...

Gridview dot net layout

I have 7 columns in a gridview. the 7th column holds a 50 word description of the other six. Where can i find help seeing how to lay out the rows so that the 6 fields appear and then the 7th is underneath it. i am struggling to find the template sample, or datalist view, or gridview that shows a sample of how to lay that out properly. In...

std::multimap compile errors

I am trying to use multimap for the first time but my app will not compile. TIA Paul.. // file dept.h typedef std::multimap <CString, std::map< CString, CString> > _DeparmentRecord; // also tryied replacing CString with LPCWSTR _DeparmentRecord DeparmentRecord; // file dept.cpp DWORD CIni::AddNameValue(LPCWSTR Section, LPCWSTR Nam...

How to generate Make File in Visual Studio 2008 Express Edition

Does anybody know how to generate Make File in Visual Studio C# 2008 Express Edition? ...