visual-studio-2008

How to traverse the nodes for a DevExpress.XtraTreeList.TreeList

I am trying to traverse the nodes of the DevExpress.XtraTreeList.TreeList and it isn't working. Basically all I have is the caption and value of the node I want to look for. Is there a simple way I can find it. After it is found I am just moving the focus to the new node and I already know how to do that if I have the proper index. Tha...

Trying to do a hierarchical update results in an error "A foreign key value cannot be inserted"

I'm a bit of a noob with DAO and SQL Server and I'm running into a problem when I'm trying to insert values into two tables that have a relation. The table Photos has a gpsId field which has a foreign key relation with the id field of the GPSLocations table. I want to create a new Photos entry linked to a new GPSLocation, so the code l...

Windows static library

Hi, I created a static library, I have the .lib and headers. My friend try to use this library, but when he include this headers, his compiler didn't find the dependencies(other libs and header). Is it possible to create a static library in Visual Studio 2008, which don't need any other dependencies, just the compiler add the required d...

i change the codebehind file, nothing happens

In asp.net WebForms I make any changes to aspx.cs file, nothing happens. R# and IntelliSense are not working too on that tab. I even can write 'blablabla' anywhere, it won't cause any errors. Seems like VS just takes the file from some other source, not the project folder, though the "CodeBehind" attribute in .aspx is written ok. I al...

how to publish website using cmd

is it possible to replicate this using cmd in c# ...

can vs2008, T-SQL, and DebugView be integrated for debugging?

scenario: asp.net WebForms + c# code behind + SQL server 2005 (via stored procedures invoked through a c# data access layer). debug.writeline can create output that can be trapped by Mark Russinovich's DebugView utility: http://technet.microsoft.com/en-us/sysinternals/bb896647.aspx DebugView greatly speeds up the debugging process bec...

Organisation of compiler dependency paths to external libraries

I my current team we organize the dependencies to external libraries headers in the project settings like that: Compiler Settings->Additional Includes: d:\src\lib\boost_1_43 d:\src\lib\CxImage_6_00 ... As you can see, we include the exact library version number in our paths. The advantage of this method is that we always know, which e...

How to use Batch Build for Vb.net Project in Visual studio 2008

In Visual studio 2008, I am not able to see Batch Build option for vb.net projects as c++ projects. I am new to VB.Net. but do it have any other options to do batch buld rather than creating Batch file? ...

What's the difference between Memory 1~4 window of visual studio?

Anyone has experience with the Memory window of visual studio? ...

What is the reason for an unhandled win32 exception in an installer program?

I got the following message: An unhandled win32 exception occurred in numpy-1.5.0-sse3.exe [3324]. The exception occurred in the Numpy installer for Python 2.7---I have the latter on the machine. When I clicked "Yes" for using the selected debugger, I got the following message: The Application Data folder for Visual Studio could not ...

VS2008 C++ Release mode slower than Debug mode

I am working with mixed Native and Managed Visual C++, using STL in the Native. I have a strange problem. It seems that when I compile my software in Release mode with all the optimizations set, my software consistently runs slower than in Debug mode. What could be wrong here? These are my Debug command line options: /Od /D "WIN32" /D ...

VS 2008 cannot checkin file

I am getting this error when I am trying to checkin a file in VS 2008 "Microsoft Visual Studio cannot shut down because a modal dialog is active. Close the active dialog and try again." I don't see any modal window. I tried looking in the task manager and their is nothing. Anybody has any idea? Thanks Mithil ...

How to load test a SOAP interface (are SOAP function calls atomic)?

A server offers a SOAP function call interface. Hundreds, perhaps a few thousand, of PCs call that function. I need to load test this using a single PC. At the moment I just have a for loop. Is that good enough? If not how can I make the test more realistic? I had thought of threading, but if the SOAP function call is atomic then that ...

Team Build 2010 software requirements for VS 2008 clients

One of our TFS 2010 requirements is to support software projects that still use Visual Studio Team System 2008 for development. My question is whether a Build Server based on Team Build 2010 can compile 2008 code by itself. I mean connecting to TFS 2010 using Visual Studio Team Suite 2008, which means we are planning to install the Forwa...

Are SOAP Remote Procedure Calls atomic blocking calls?

Using VB Express 2008, if the code makes a Remote Procedure call to a SOAP function on another machine is the CPU blocked until the call returns? ...

What happens to the event of method scoped variable?

Consider the following code: public class Bar { Foo foo; void Go() { foo = new Foo(); foo.Send(...); foo.Dispose(); foo = null; } } public class Foo : IDisposable { public void Send(byte[] bytes) { SocketAsyncEventArgs args = new SocketAsyncEventArgs(); args.SetBuffer(byt...

How does one set Visual Studio 2010 keyboard shortcuts comfortably, esp. when using Resharper?

In every Visual Studio.NET version you can set keyboard shortcuts using "Tools - Options - Environment - Keyboard" and then find the command you want to assign a shortcut to by entering part of it in "Show commands containing". For one thing, the listbox is ridiculously short and hard to navigate - does anyone know an alternative? Then...

How can I make a CMFCRibbonEdit automatically convert contents to uppercase?

I am using the MFC Feature pack in Visual Studio 2008. I have an edit box (CMFCRibbonEdit) in a ribbon that I would like only to contain uppercase letters. I know that I can pass ES_UPPERCASE to the "Create" method, however "Create" is called from the Ribbon itself, and not explicitly by my code. To add the edit box to my ribbon, I call...

How to remove a folder from VS2008 Source Control, keeping the local folder intact?

I have a working folder that's synced to a team server. I was wondering if there is a way to remove some of the subfolders (i.e., stop syncing them, and make them invisible to others), without actually deleting them on the local drive? ...

Debugging a multi-thread programe with "Disassembly view" in visual studio

When I continuously do "step into",it switches between different threads. But how's that scheduled in visual studio,how does it know which thread to activate for next instruction? ...