visual-studio-2008

How do I get DebuggerBrowsable RootHidden to work?

I read about the DebuggerBrowsable attribute yesterday, and it sounded great, however when I tried to get it to work in a test, It doesn't seem to make any difference. I am using VS 2008 version 9.0.30729 1 SP, .Net 3.5 SP1, MSTest framework [TestClass] public class TestingDebuggerBrowsable { [TestMethod] pub...

In Sync Framework serverProxy.GetScopeDescription() fails during running the WebSharingAppDemo-CEProviderEndToEnd sample

I am running the WebSharingAppDemo-CEProviderEndToEnd saPLE WITH sqlExpress 2005 Beta as server and havin the SQl Express as Client. The Programs runs well till it reaches to SynchronizationHelper.cs class where it checks CheckIfProviderNeedsSchema(remoteProvider as SqlSyncProviderProxy); from there it tries to retrieve the scope descr...

Exception being thrown in designer-created code instead of user code

In my project, I have a local dataset (XSD) that I am using as local-temporary tables. I am getting a System.InvalidCastException when trying to access the field in one the tables. I believe this is because I my code is (incorrectly) not setting a field's value in a row before trying to access it. My problem is that the exception is bre...

How to specify a path on a different drive with VS2008 devenv.exe?

It seems that it doesn't understand something like "/d D:\solution.sln", which is a problem. How would I specify a path on a different drive? Can I somehow avoid this altogether and just refer to a project? ...

Form cannot receive focus once lost

I have created an Add-In for Visual Studio 2008 that opens up a form, using Form1.Show(this); If (while the form is open) the user opens/closes a Visual Studio dialog box, (such as Assembly Information) then the user cannot focus back on the form created by the addin. Is there something I'm missing to allow the user to return to the f...

Server.MapPath not working

Hello, I'm trying to access files in a virtual directory I created in IIS for the first time but am getting weird results. OS: Windows XP Pro IIS: 5.1 Development Platform: Visual Studio 2008 Language: C# Virtual Directory Name: portal Local Path: C:\digital_communications_report_portal Default Website Local Path: c:\inetpub\wwwr...

Visual Studio 2008 Web Developer Installation Path on WinXP

Hello all, I have installed Visual Studio 2008 professional on my machine. Today, I use add/remove tool to add Visual Studio 2008 Web Developer Tool. After successfully installing the application, I end up with nothing for Visual Studio 2008 Web Developer Tool because I cannot find any Visual Studio 2008 Web Developer Tool menu displaye...

How to properly bind to a child object?

I have an object Proposal which has a property called CurrentAgency of Agency which in turn has AgencyID, Name, etc...something like this: Proposal CurrentAgency AgencyID Name Address etc... In my UI, I have a combobox that lists all available Agencies. I have bound it like this: private BindingSou...

Change the template for a file

When I create a new Unit test in Visual Studio, I always have a few things I do to the standard template. It would be nice when I create the file to have those things done already. Is there a way to modify the template so that when I select Add->New Nest->Unit Test, it will create a file with my modifications already done? ...

In VS2008, where is the configuration stores?

not the project configuration, but the VS2008 general config one including Tools|Options|VC Directories... is this an XML file anywhere? ...

Visual studio code documentation does not show up

For example: When I type Console.WriteLine and the intellisense pops up, the tooltip for that function reads only "void Console.WriteLine()". It no longer shows the summary of the function, "Writes the specified data, followed by the current line terminator, to the standard output stream." or what the values of the parameters should be....

Having trouble integrating qt-addin and vs2008

Hi all: i wrote this simple programme which did not pass the compiling phase using vs2008 IDE while it is successfully built using qt-creator. #include <QtGui/QApplication> #include <QtGui> int main(int argc, char *argv[]) { QApplication a(argc, argv); QPushButton w; w.show(); return a.exec(); } The error info is listed below: ...

selecting an appropriate IDE

Which one of the following IDEs/language will you recommend for developing a project under windows that involves recognizing hand gestures and interacting with the OS? I will be using OpenCV library for image processing tasks. After that I will be using win32 APIs or .NET framework to interact with the OS, depending on the tool you sugge...

storing Interop AxInterop dlls in source control

Hi all, I have recently inherited a C# .NET solution in VS 2008, .NET framework 3.5, with many 3rd party dependencies including several on COM dlls. I checked out the latest from the source control system and found I had to generate the Interop, AxInterop dlls in Visual Studio (adding references and adding them to the Toolbox and draggi...

C# WCF and certificate FaultException

I would like to implement WCF service with server and client certificates. When I try to connect to service on IIS I get the following error: Test method TestProject1.UnitTest1.TestMethod1 threw exception: System.ServiceModel.Security.SecurityNegotiationException: Secure channel cannot be opened because security negotiati...

In the VS2008 vcproj file how important are the ProjectGUID and the UniqueIdentifier?

I have copy and pasted entire C++/CLI projects and been able to run them without any trouble as long as the relative paths to assemblies, headers, and libs remain the same. In each one of these copied projects the vcproj files are exactly the same (as one would hope). I have been doing this so that we can use one project as a template ...

How to trace into a third party dll with visual studio?

My application is using a third party dll and works fine, but I'm seriously interested how things are implemented, is there anyhow I can trace into the internals of that dll without source code? Yes,I want to do it right in vs,I'm not familiar with IDA etc at all.. ...

Do I still need to call CoInitialize(NULL) and CoUninitialize() if I switch to ATL?

Are CoInitialize(NULL) and CoUninitialize() automatically called by ATL? Or I still have to call CoInitialize(NULL) and CoUninitialize() at the beginning and end of my COM application respectively? ...

Where does Visual Studio look for debug symbols at all?

I know that debug symbols can be stored both in a pdb file and in the compiled binary file, which of them does VS search for when we are debugging ? ...

Git Extension Toolbar will show every time when launch VS2008

VS2008 + Git Extension 2.0.2 I don't want Git Extension toolbar show up when launching VS2008. After right click on toolbar and un-check git extension, next time when launch VS2008, the toolbar still shows. Is there any way to make it default not show up. Thanks. ...