visual-studio-2008

How to consume an ASP.NET Web Service in Windows Console App (VS2008)

I have in the past coded up Windows Form or Console apps in Visual Studio (2005 and earlier), and the IDE has facilitated linking up with a web service. Now I am building an application that needs to consume a web service, but when I right-click on the project (or References), I do not see a "Add Web Reference" context menu item (for Wi...

TFS 2008 and Visual Studio 2010 Question

Can you combine TFS 2008 with a build server running Visual Studio 2010? ...

TabIndex problem. Only getting a system beep.

Background: I've got a WinForm application with a ComboBox and a TabControl with two pages. On page one of the TabControl, I've got a FlowLayoutPanel containing about 10 Panels. Each of those Panels contain a Label and a TextBox. I'm using Visual Studio 2008 as my IDE. Problem: I'm not able to tab between any of my controls. I go to Vie...

display icon with respective file

Ok this is something new to me.... I have a gridview control which is displaying the files and directory names in one column. Now i want to display the file icon of that particular file in the other column... eg test.txt will have a different icon form image1.jpg and here.xsl i have found two examples but don't kno if they will work ...

How can I generate both 32bit and 64bit installers in VS 2008 wihout toggling the TargetPlatform?

I have a solution that contains 4 projects, each creates a installer, how can I generate both 32bit and 64bit installers in VS 2008 wihout toggling the TargetPlatform? Thanks ...

With Visual Studio 2008 how can I set what file path my published setup.exe installs to?

I have a Visual Studio 2008 C# desktop app that I can publish an installer for just fine, however it installs itself into the User\AppData\ folder I can't seem to figure out how to make it go some normal place like Program Files. Also, how can I make it put a folder and shortcut in the Programs list of the Start Menu? ...

Visual Studio 2008 References too long?

I have recently re-organised our source control and found one of our solutions no longer builds. The only error that we get is: Error 65 Unknown build error, 'The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 ch...

WPF Binding Crashes Visual Studio

I have a binding that when ever I set it and try to reload the design view, Visual Studio crashes. (This is in design view in the IDE, not at runtime.) I am looking for a work around. Here is the binding: <Button HorizontalAlignment="Right" x:Name="btnPick" Grid.Column="3" Style="{StaticResource roundButton}" Width="15" Heig...

Using multiple folders per project in Visual Studio 2008

I would like to know how to have multiple folders per project in Visual Studio. Of course namespaces and DLLs have to be the same when the solution is built with or without using multiple folders. I tend to be forgetful at things especially this one and forgot to bookmark the link. As far as I know it is an answer in SO. I looked at ...

How can I integrate svn with the Visual studio 2008 ?

How can I integrate svn with the Visual studio 2008 ? which is the better svn plugin/client for the visual studio ? ...

Automatic driver installation in VS2008 setup project

Is there any way how to perform automatic driver installation during my C# app is being installed? I am using standard Setup project in VS2008 (MSI file). My application is communicating with a custom USB device, so the user must install the .NET app first and then manually connect the device to his PC and let Windows install the driver....

Visual Assist X - Class View?

After installing visual assist X for Visual C++ 2008, I turned off the standard intellisense by renaming the DLL. Now my normal Class View control doesn't work, and I can't see a corresponding functionality in VA. I assumed there would be one, so I could do things like rename a class without having to open the .h file, or rename a class ...

Visual Assist X - Jump to implementation (alt+G) doesn't work on overloaded methods

I have a class with two methods like: class MyClass { void method(int x); void method(int x,int y,int z); }; Using Visual-Assist, if I put the cursor on one of these lines and hit ALT+G, which should take me to the implementation, instead I get a little popup asking me which implementation I want to go to. Why? Can't it tell? ...

NUnit running the wrong test assembly

I'm running NUnit from VS2k8 by setting it as the start action for the test project. That worked fine when I only had a single solution with a single test project. I'm trying to run tests in a second solution now, but when NUnit launches it's loading Solution1Name.Test instead of Solution2Name.test ...

VS 2008 Profiler - Caller/Callee view showing bottom of stack

Hello, I am currently trying to profile a class contained in a different assembly. To do this I created a small console application which calls into the public entry point of the class I want to profile. This enrty point is called Run(). This is working fine when I run my Console application in Debug mode and I can step into the Run() ...

Add webrefernce problem

I'm using Visual Studio 2008 and I'm trying to add a web reference. After putting in the URL the left part of the Add Web Reference dialog shows the methods in the webservice, but it won't let me add the reference because on the right I get back an Error message that says: HttpListeningConnectorUtility.initializeISRequest(). Invalid...

Flakey debug behavior in application start, global.asax

Not using Cassini, but IIS7 to run an ASP.NET app. The debug behavior is flakey. Sometimes it works, sometimes it doesn't. I was able to step into the application start event in global.asax but sometimes I can't. Sometimes VS2008 opens the published global.asax so I have two instances of global.asax opened in VS, the source and the p...

VS2008: Unable to start debugging, Remote Debugging Monitor has been closed

I am getting a mysterious error from time to time that I just don't get. I can "fix" it by restarting Visual Studio 2008, but that isn't exactly a solution... It states the following: Error while trying to run project: Unable to start debugging. The Microsoft Visual Studio Remote Debugging Monitor has been closed on the remote ...

How to configure an ObjectDataSource to select rows from a ListView

I am using Asp.net 3.5, C#, Visual Studio 2008. Ok, so I admit I am being really lazy here, but I know there's got to be a way to do this. I have 2 identical listviews - listview1 and listview2. There is a checkbox in column 1 of both listviews, and a button on the page. I would like to copy the rows that are checked in listview1 to l...

Direct Show (AMCap) - Platform SDK

Hi, I am trying to capture images from multiple web cams simultaneously and save them automatically with minimum delay using C++. I also want the program to be able to alter the parameters of the web cam when ever needed. I was hoping to build Direct show samples (AMCap) on Platform SDK, and then edit the code to suit my application. But...