visual-studio-2008

Populate asp:dropdownlist - VS 2008

I have form with 2 DDL named State and City State: <asp:UpdatePanel ID="States" runat="server" UpdateMode="Conditional"> <Triggers> <asp:AsyncPostBackTrigger ControlID="States"EventName="SelectedIndexChanged" /> </Triggers> <ContentTemplate> <asp:DropDownList ID="States" runat="server" ...

OLAP Cubes: Compatibility between Analysis Services 2005 and 2008

I'm working with Analysis Services and I have run into a compatibility issue. Here is my situation. I have 3 machines: Server2005: This machine has SQL Server, Analysis Services and Visual Studio, all in 2005 versions. Client2008: This machine has Visual Studio 2008. Client2005: This machine has Visual Studio 2005 What I'd like to d...

Eclipse features in VisualStudio

This might of been asked elsewhere (seems like a useful topic) but searches turned up nothing. One feature I love in Eclipse when programming Java is that I don't have to worry about putting in the import statements and any missed functions from interfaces that I am implementing them - if I do miss them a simple click from a list implem...

Optimizing windows XP for Visual Studio

I have a relatively powerful dev workstation - 8 cores and 3 Gig of Ram. However, Visual Studio 2008 does not seem to take full advantage, especially during large builds. Are there any tweaks to be performed on XP VM settings etc to increase performance? I remember back in the bad old days that out of the box windows does not take best ...

Why does Visual Studio 2008 forget where to dock my add-in's window pane?

I wrote a simple add-in for Visual Studio 2008 that opens a dockable window pane. You can download the source and a binary installer by clicking here. The nature of the add-in means that it is ideally going to stay docked next to where you edit your source. But sometimes, on some installs, it won't stay docked. You run VS, you dock my...

Break points aspx pages

How do you set a break points in server tags in .aspx pages. e.g. <% dim breakhere =new object() %> The web application is running in debug mode with the <compilation debug="true" ... in the web.config. But the page says: The break point will not currently be hit. No symbols have been loaded for this document. Is there any...

Remote Debugging for .NET WPF Application via Visual Studio 2008 Remote Debugger ?

Remote Debugging for .NET WPF Application via Visual Studio 2008 Remote Debugger can this be done ? I see native only in the options ? Any help please... ...

Visual Studio error?

About a half dozen times now, I’ve been doing a regular chore in Visual Studio – either running a unit test or simply compiling, updating something from SVN or whatever, and visual studio just disappears… it shuts down and goes away instantly… it is fine when I restart it, and I don’t see the problem again for a while… it keeps happening...

Enabling Double Buffering

I've seen the following code to enable double buffering on a winform: // Activates double buffering this.SetStyle(ControlStyles.DoubleBuffer | ControlStyles.OptimizedDoubleBuffer | ControlStyles.UserPaint | ControlStyles.AllPaintingInWmPaint, true); this.UpdateStyles(); Is this different in any way from simply setting Form.D...

Visual Studio 2008 will not edit read only files

So, up until today, when I tried to edit a read only file in VS2008, a dialog popped up giving me three options: Edit in memory Make writable Save a copy There was also a checkbox which read "Never allow in memory edits". Suddenly, it has stopped offering these options and simply will not accept any input in the editor window if the...

convert string to long long

Hi, I'm using VS 2008 to create a C++ DLL (not managed) project and I need convert a char* to a long long type. Is there an easy way to do it? Thanks in advance :) ...

MFC built using /clr compiler option - CString/System::String conversion

I've got a fairly large MFC application that has just been migrated from VS6.0 to VS2008. It was a pretty painful process, but now I'd like to explore any managed-code options that may be available. I was able to successfully build the project using the /clr switch which seems to give me access to managed types. I'd like to know if con...

Visual Studio Extensibility, How do you enumerate the projects in a solution?

Just trying to get up to speed with the SDK... So, I've created my own tool window.... Now I want to iterate through the existing projects in the currently loaded solution and display their names in the tool window.... but not quite sure what the best way to enumerate the projects? any clues? ...

Which version(s) of VSTS for .dbproj files?

With which version(s) of VS2008/VSTS can I work with .dbproj files? ...

"Multi-threaded Debugging" feature missing in VC++ 2008 Express?

I've seen comments that there are some missing features in the VC++ 2008 Express debugger, particularly related to multi-threaded debugging. I've tried debugging a multi-threaded program in Visual C++ 2008 Express and it seemed to work fine. What is really missing? Looking here (as mentioned in one answer), I found: "Multithreaded/Mult...

Building console apps without CRT & default headers?

I'm trying to build a console application without using the CRT, or any other imports than kernel32.lib in any case. I get my code to compile, but can't wrap the linker around a few problems: unresolved external symbol @__security_check_cookie@4 unresolved external symbol "int __cdecl FreeLibrary(void *)" (?FreeLibrary@@YAHPAX@Z) unreso...

Why can't I edit my ASP.NET Web application at run time?

Why are the code-behind pages for an ASP.NET web application locked at run time? I have older projects (probably defined as "web sites" instead of "web apps") where I can edit the code behind, refresh the browser, and see my changes. With the web app, I have to continually close and reopen the browser if I want to see my changes live. Is...

VS 2008 pages open to left

When I open a page(.aspx,xslt,css..etc) from the solution explorer in VS 2008 , it opens to the left of my current active tab. I am used to VS2003/VS2005 where the new page opens up to the right of current active page. How do i set all the pages to open to the right? Thanks ...

Visual Studio Shell And F# (invalid license)

Does anyone have any experience with installing the Visual Studio Isolated Shell and using it with F#? It installed successfully, but when I click on the devenv.exe, it opens VS, but gives me the error "Invalid License Data. Reinstall is required". I have done that many times to no avail. Googling for this issue, I find that devenv.ex...

How do I get the Visual Studio Load Test Agent to use the servers second CPU

I am running a Visual Studio Load Test using an Agent on one of our servers. This server has two CPU and I have a licence for the Test Agent to use both. My question is how do I configure the Test Agent service to use the second cpu? ...