visual-studio-2008

What path / environment variables are used when executing post build steps?

I'm trying to perform the following post build step in a VS2008 project: sn.exe **some arguments** And keep on getting the error 'sn.exe' is not recognized as an internal or external command, operable program or batch file. What path / environment variables are used when executing the post build steps? I had assumed that it wa...

Publish ClickOnce to UNC path with alternative credentials

I have an application which is published using ClickOnce deployment to a fileserver, and this works fine. I now have the need to deploy this application to another one of our offices which is on a completely different domain. I can connect to a UNC path, or map a network drive to the path where this needs to be deployed (using differen...

WSE Settings 2.0 in VS2008

I am updating an application which communicates with a third party system using WSE and DIME attachments. The current solution is writen in VS2003 and .Net framework 1.1 and I am looking to update it so that it is developed in VS2008 using.Net 2.0 initially and then later .Net 3.5. I have no scope to update the third party application so...

Installing a custom project template with Visual Studio Installer project

Hi! I've created a custom project template, and now I need to deploy it together with my product (i.e., it should be installed by the same msi I use for the main installation). I'm using a Visual Studio Installer project. One option is to use a custom action and manually copy a template file included in the installation. Another is to c...

How to run all tests when I click F5 in Visual Studio 2008 Professional

I have a solution in Visual Studio 2008 professional. There are three projects, a Windows Form project and two MSTEST projects. The Windows Form project is set as the startup. When I click F5 to run the Windows Form project in debug mode, I would like to get all the tests to run from both MSTEST projects. I tried starting all three pro...

Raise an event from MySQL and handle it from VB.NET (or something similar)?

I'm working with MySQL 5.1.39 and Visual Studio 2008 and connecting both with MySQL Connector Net 6.1.2. What I'd like to do is once a MySqlConnection object is created, be able to handle the "event raised" when a field in a specific row in a given table is updated. I mean, when that value in that table has been manually changed or mod...

Filter Visual Studio (or ReSharper) Intellisense by type

Is there a way to filter the Visual Studio Intellisense by type? Example: when I'm using a control such as Infragistics' XamDataGrid there are a seemingly endless number of fields, properties, events and methods. I'd like to be able to filter the intellisense by type, i.e., show me only events. I've found these suggestions on the JetB...

ASP.Net Ajax ToolKit Controls: Fails when trying to add to Toolbox in VS 2008

I am getting an error when I trying to Right Click in the Tab, and select Choose Items. I am getting following error and VS is closing. The Exception unknown software exception (0xe0434f4d) occurred in the application at location 0x7c812a6b Any help is appreciated. ...

vc9 error 4430 on one machine, not on the other

Compiling the same code on two different machines. We have int functions that are not explicitly defined as such in the CPP file. One machine compiles fine, the other doesn't. What's really weird is that they were both working fine until yesterday. One of the machines lost its visual studio include and link paths and now the compile is ...

Include/exclude files depending on target (Visual Studio)

Is it possible to include/exclude certain source files depending on what target is selected in Visual Studio? If possible, how? ...

VS 2008: Code Analysis Tab Missing After Upgrade

I just upgraded from VS 2008 Pro to VS 2008 Team System. I see "Run Code Analysis" in the build menu, but the project tab to alter the settings is missing. ...

Make combobox unselectable? or better UI?

This may seem strange... but I'm wondering if there is anyway to make a combobox non selectable. So it displays as normal, except cannot be selected. I have 3 buttons underneath it, Edit, Cancel, Save. (Cancel + save obviously not enabled) The plan is so when user hits edit, they can change the items in the combo box. I know .IsEnabled...

Is there a way to define both assemblies and non-assembly files that need to be deployed in a ClickOnce application, from within a Visual Studio project?

So I am trying to figure out if there is a way to define the files and assemblies I need deployed with a ClickOnce app, from within Visual Studio. I would like to "Publish" the application and not have to make any more modifications with Mage. Especially for continuous integration. Is this possible? Can I add something to the app.man...

Error when starting GLUT app when compiled for 64 bit

I have the bare bones of a GLUT app. When I compile it for Win32 it works fine, but if I compile it for x64 I get this error: The application was unable to start correctly (0xc000007b). Click OK to close the application. I have glut64.lib as an input for the Linker, which comes from the nVidia CUDA sdk at "C:\ProgramData\NVIDIA Corp...

Slow Web Project in vs 2008

i have a problem regarding vs 2008, that it is very very very slow, hangs, even if i type "=" building process is not that bad but lagging too much while programing my system specs are 4gb ram 2.0 c2d 1 gb grahpic card vista 64 Can somebody tell me solution for this i have installed visual assist and i have also tried to disable it bu...

Visual Studio 2008 is not stopping at all my break points and often “runs away” when I step over a statement, why?

I find often that breakpoint on line of code I know are executing do not break correctly. It also often “runs away” when I do a “step over”, or “step into” etc. Details. Microsoft Visual Studio 2008 Version 9.0.30729.1 SP Microsoft .NET Framework Version 3.5 SP1 The code is a mixture of VB.NET and C# with most of the code in VB.NET. ...

how can I iterate over a nested .NET List<> in Visual Studio 2008's Crystal Reports?

I have a Crystal Report in Visual Studio 2008 (C#). Its datasource is set programmatically at run-time to a .NET list, defined as follows: List<visit_volume> Visits a visit_volume looks like this: public class visit_template { private int _numberOfVisits; public int numberOfVisits { get { return this._numberOfVis...

Configuration of webservice client

Hi, I've created proxy classes using svcutil with a given "sap crm" wsdl file. It worked great and it generated a output.cs. So added this output.cs in my visual studio project und created a simple test application. The test application can be compiled and even run, but I dont know why. I didn't enter any service url. How can this be ...

Visual Studio Database Edition - Do I have the Current Version?

Is there a way I can tell if I have the latest version of Visual Studio Database Edition? When I select Help in my VS 2008, I see the following entry for Database Edition: Microsoft Visual Studio Team System 2008 Database Edition 91901-270-3346032-60220 Microsoft Visual Studio Team System 2008 Database Edition ...

Can .Net Application be converted into a Portable App i.e. single .exe

Can a .Net application be converted into a single .exe portable application? i.e. no installer, it just runs? I imagine all the dll's, resources etc need embedding into the exe? If so, how would I do this? Thanks ...