visual-studio-2008

DataView.RowFilter Vs DataTable.Select() vs DataTable.Rows.Find()

Considering the code below: Dataview someView = new DataView(sometable) someView.RowFilter = someFilter; if(someView.count > 0) { …. } Quite a number of articles which say Datatable.Select() is better than using DataViews, but these are prior to VS2008. Solved: The Mystery of DataView's Poor Performance with Large Recordsets Array...

Automatic creation of method definitions from declarations

Is there a tool, macro or plugin that can generate a method or function body automatically from a declaration in a header file? I have tried Intellisense and Refactor! 3.0.5 which both only seem to work with C#. ...

Assembly Versioning in .NET

In the Visual Studio 2008 IDE, the properties page allows you to access the version. However, for executables, there appears to be two versions: Under the Publish tab, there is a publish version with a flag to auto increment. Under the Applications Tab (Assembly Info...) there is an assembly and file version - this appears to change...

Should I pick VS 2010 or 2008 for F# development?

And is F# support included Express editions of Visual Studio? ...

VS2008 Pre-Build Event Command BuildAction=None

Hi Guys, I am trying to add a prebuild event which essentially sets Build Action = None For a list of files before the solution is packaged up for release. How would I go about adding this & what command would I use to exclude a number of files in the web solution ? i.e. \script\some-script.js [Set Build Action = None] etc \script\...

Developing Android applications with Visual Studio 2008

Hi all, I've recently obtained an HTC Desire and I'm interested in porting my 3D engine to the device. I have a slight annoyance however. I'd love to be able to do development under Visual Studio 2008. Am I to assume I'm going to need to re-process my SLN files to do GCC builds? Its not a vast issue as I already have an application...

What is the most efficient way to find missing semicolons in VS with C++?

What are the best strategies for finding that missing semicolon that's causing the error? Are there automated tools that might help. I'm currently using Visual Studio 2008, but general strategies for any environment would be interesting and more broadly useful. Background: Presently I have a particularly elusive missing semicolon (or b...

How to make an edit box disapper at runtime (NOT gray) in MSVC 2008 using MFC ?

I want to make an EditBox disappear completely when the user selects a particular iption, instead of just graying it out. I tried using EnableWindow(false), but that just grays it out. I want the user to not see the control at all...can anyone help, or is this not possible in MSVC 2008 ? ...

WCF Service instead of ASMX Web Service?

I'm writing a SOAP Server that will act as an endpoint for an external client. The external client expects SOAP 1.1. I'll be taking embedded business objects in the SOAP messages and passing them to an internal application, getting responses back and responding with SOAP messages to the eternal client. I did the traditional ASMX based w...

Windows Mobile 6 and twitter

hi, I'm trying to implement Twitter into a mobile game that I'm developing and having difficulty with using the available libraries. Could someone explain how I use a library such as nTwitter on the .net compact framework 3.5 and windows mobile 6 professional SDK Thanks in advance for any help Tom ...

Pass arguments to a parameter class object

This is undoubtedly a simple question. I used to do this before, but it's been around 10 years since I worked in C++ so I can't remember properly and I can't get a simple constructor call working. The idea is that instead of parsing the args in main, main would create an object specifically designed to parse the arguments and return th...

creating class diagram vs2008

Hi, i am currently working on a project using visual studio 2008, vc++. i want to view the class diagram of my code, but i dont see any "class diagram" option when i click add new item, please do help me.. thanks.. ...

Visual Studio Custom Tools list

Where can I find Visual Studio's available custom tools list? ...

Screen Resolution Question VS2008 - C++ CLI

Hi, I have a program that has a SIZE of 800x600. I want to make this program expand if it is maximized, so that all the elements(buttons, picturebox's) change size to fit the new ratio depending on the users windows screen resolution. The way I am thinking to approach this is to take the users screen resolution and manual change the s...

VS2008 - 'Set as startup project' setting dissapearing.

I have a solution with a bunch of projects in it. The 'startup' project is a ASP.NET MVC Web Application. I set it as the startup project (by right clicking on it in Solution Explorer and selecting 'set as startup project'. The project title goes bold and everything works fine for a while. Then I will be editing one of the suppor...

Does your Visual Studio2008 hang after installing Office 2010?

Wierd.... Late nite I installed Office 2010 Professional Plus. Here I am, the next morning, and Visual Studio 2008 is freezing, like there "was some invisible dialog window", because it doesn't allow me to click on any IDE element. In brief, after I open a ASP.MVC form, suddenly I'm not allowed to click on anything, icon, dock panel,...

How do i render a web cam filter instead of video file in directshow?

How do i render a web cam filter instead of video file? I am looking at the vmr9compositor example included in the directshow sdk. It renders a video file. I would like to stream in the feed from the webcam. It SEEMS like this should be possible, but I dont have much of a grasp on directshow. It uses this method call currently: hr ...

Compare _TCHAR* argv[] entries from command line to _T("paramString")

I know how to get the parameters from the command line. I also know how to print them out. The problem I'm having is how to compare the parameters from the argv[] array to a string. The progam runs but never returns a result where the parameter string is equal to the one I'm looking for. Thanks in advance. // Testing.cpp : Defines t...

Visual Studio 2008 compiler macro reference or tutorial?

Does anyone know the location of a good list or tutorial showing all the compiler macros (_T etc) in use in Visual Studio 2008? Thanks in advance ...

Flexible string handling in Visual Studio 2008 C++

I'm slowly starting to get the hang of the _T stuff in Visual Studio 2008 c++, but a few things still elude me. I can see the benefit of the flexibility, but if I can't get the basics soon, I think I'll go back to the standard way of doing this - much less confusing. The idea with the code below is that it scans the parameters for -d a...