Hello
Go To definition in Visual studio 2005 works only for files that are in my project. It never works for files that are included in external libraries like mfc. When I say Go To Definition for mfc function it always shows me the header file . Is this expected behavior?
And also how does this whole thing Go To Definition work?
Thanks...
Background
I have a macro AttachToRemoteProcess that I use to attach the debugger to a running process on a remote computer. The macro use hard coded names for the process and the computer. I use the macro from a toolbar button on a custom toolbar. I consider this a sub par solution and I don't really like to have such a macro in my Vis...
Is it possible to capture what button was clicked in javascript? I have validation set up but i only want it to validate when a button is clicked and by no other means.
PLEASE NOTE THAT I HAVE 3 TEXTBOXES JUST LIKE THE BELOW. IT'S FOR A PHONE NUMBER ENTRY BROKEN UP INTO 3 TEXT BOXES.
What i would like to do is put and '&&' condition i...
When changing keyboard shortcuts in Visual Studio (2008) you can specify in which window types the shortcut is active, e.g. Global, Text Editor, ...
How can I retrieve that list programmatically?
EnvDTE.Window objects have a Type property but of course that Enum is static and does not include windows from third-party packages and add-i...
Windows server 2008 does not allow interactive services. In fact it gives you a nice message if your service is set to allow interactive services.
The ProcessName Process service is marked
as an interactive service. However,
the system is configured to not allow
interactive services. This service
may not function properly....
Suppose you have some source code that comes from the unix world. This source consists of a few files which will create a library and a lot of small .c files (say 20 or so) that are compiled into command-line tools, each with their own main() function, that will use the library.
On unixy systems you can use a makefile to do this easily...
I have an arraylist
ArrayList backupSpecList = new ArrayList();
And a structure:
public struct BackupSpecEntry
{
//for Multiple BACKUP_SPEC_EXCLUDE_PATHS
public string path;
public string inclExcl;
public byte inclExclFlags;
public bool indexContents;
public int serverBackupSpecId;
public int freq;
public int ...
Can someone tell me why my Ctrl+F5 disappeared in Visual Studio 2008? Its not even in the menu. In the Debug menu, All I have is Windows, Start Debugging, Step Into, Step Over, Exceptions, and Toggle Breakpoints.
I'm using the professional edition of Visual Studio 2008 and for some reason, this morning, it just vanished.
...
I have an arraylist which has data structures in it.
I am having problems trying to figure out how to get those values back and show them in a table..
Thanks
this is my structure..
public BackupSpecEntry(string Path, string InclExcl, byte InclExclFlags, bool IndexContents,
int ServerBackupSpecId, int Freq, int Retention)
...
This is probably a pretty simple answer, but I haven't written a lot of controls, and I can't really think of the right words to Google it properly:
I have a custom control that I built, and when I create an instance in the HTML editor in VS, I type the following:
<cc1:MyControlName id="id1" runat="server">
When I type that closing a...
CUDA has an option to compile code in emulation mode, which is supported in the .rules file they provide.
I have C# .NET 3.5 SP1 code that calls a native dll, using DllImport,
the native dll is compiled via VS2008 using nvcc and its function is to transfer memory from and to CUDA and to invoke CUDA kernels.
When the CUDA kernels are co...
I'm using Visual Studio 2008 Team System 2008 Team Edition.
I want to be able to build my project and actually be told about all errors in the build. So far I have not found a way, so it must be pretty well hidden.
The normal "Rebuild" command for a project, as well as the "Rebuild solution" command for a solution, rebuilds only the a...
I want to use method Stream.Flush but its documentation shows that message. What does it mean?
EDIT: I have not found any solution in the MSDN thread.
My problem is that sometimes sending a message and client disconnecting causes the message doesn't appear. So I would need to flush the stream or socket in the OnDisconnecing event.
...
Every now and then when I am running/debugging an ASP.NET MVC website through Visual Studio and if I am changing some CSS or HTML in a View while the project is still running, the Session will drop intermittently.
I have confirmed this in the Global.asax adding a Session_End method and setting a break point inside it. As soon as I clic...
How can I easily add 'last modified date' comment to my source files in Visual Studio 2008, so that I don't have to manually update the comment every time I edit the file?
...
Does anyone know how to switch a compilation of a library project on visual studio, so I can compile for compact framework and full .Net framework?
...
I have some DirectX applications I developed in college using DirectX August 2007 SDK. I would like to have August 2007 and the latest SDK installed so I can port my application to the newest framework.
Does anyone have experience with having multiple frameworks installed, or is it discouraged?
Thanks
...
Hi, I have a dynamic library compiled with visual studio.
(so 4 files: Library.dll, Library.lib, Library.def and Library.exp)
This dll contains exported classes and functions.
Is there a way to obtain C/C++ header files (.h) with these files?
...
In Visual Web Developer Express, how do I turn on Break on All Exceptions? I'm looking for the Debug > Exceptions menu item but not finding it, not even if I try to customize the menu.
This page on MSDN suggests that it ought to be possible.
...
I often write code that renders images by writing pixels directly into buffers and I often find it hard to get a good overview of what's really going on. The Memory window in Visual Studio's debugger is somewhat a help, but I'd really love to see the images graphically.
So my question is, does anyone know of a debugging extension that c...