Unit testing CLI/MFC Application
Hey all. I have CLI/MFC application and I would like to begin to learn how to unit test with it. I have VS2008 Pro. If possible, I would like to use the built in unit testing. Thanks for your input! ...
Hey all. I have CLI/MFC application and I would like to begin to learn how to unit test with it. I have VS2008 Pro. If possible, I would like to use the built in unit testing. Thanks for your input! ...
Basically I am trying to retrieve a list of stored procedure parameters using Linq to SQL? Is there a way to do this? ...
I have been using LINQ to SQL for a while, and there is one thing that has always bothered me. Whenever I modify the schema of a table, in order to refresh it in the designer, I have to delete it and then add it back. That's fine, but this means I have to actually find the table in the designer. I have about 100+ tables in my database,...
Is it possible to run a batch file as a menu item in studio 2008? ...
I have a control that is created like so: public partial class MYControl : MyControlBase { public string InnerText { get { return textBox1.Text; } set { textBox1.Text = value; } } public MYControl() { InitializeComponent(); } } partial class MYControl { /// <summary> /// Required de...
I followed this article: How to: Implement Two-Way Communication Between DHTML Code and Client Application Code Based on this example, I can establish the communication between DHTML and Client code. Now if I introduce a master page, none of the communications work. Are there different rules when Master Pages are used? I also looked at...
I want to use libgadu (library of instant messaging protocol) under Visual Studio 2008. I have downloaded libgadu http://toxygen.net/libgadu/files/libgadu-1.8.2.tar.gz and under cygwin I've compiled it - ./configure , make , make install. File libgadu.h which appeard in include folder I copied to another folder which is marked in VS as I...
I've encountered an issue with the ordering of docked UserControls. I have 2 that are docked to "Top", and the order that they appear is the opposite of what I wanted. What I've tried: I tried reversing the order in the .Designer.cs to make it work, and while that worked in the UI Designer, it reverted while running! I've also ...
What is the issue with the Silverlight Tools for VS2008? I can't seem to place controls on the designer surface. This didn't work for me on two different machines. Do you have to tweak the XAML to be able to place the first control? Cursor stays a compass-like-cross when over the surface. Are you supposed to drag-n-drop controls or draw ...
Since String implements IEnumerable<char>, I was expecting to see the Enumerable extension methods in Intellisense, for example, when typing the period in String s = "asdf"; s. I was expecting to see .Select<char>(...), .ToList<char>(), etc. I was then suprised to see that the extension methods do in fact work on the string class, the...
Hi all I've just started a new project using Visual Web Developer 2008 Express and all my code behinds are not in any namespace. How can I set the default namespace for the project? In VisualStudioPro it used to be in project properties, the website properties in Visual Web Developer 2008 Express seem very ... express. Thanks, David....
I'm trying to write a program to calculate the quadratic formula. When I run it, I get 2 error messages: error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartup fatal error LNK1120: 1 unresolved externals this is after I changed the last line of code from ...: << danswer1, danswer2 >> to <<...
Hello all, OS: Windows Vista Business SP1 IDE: Visual Studio 2008 SP1 Question: when I create a new web application in VS 2008 and start it, the embedded web server from VS 2008 launches on one port (say 50140). Then the browser (IE7) automatically launches with address http://localhost:50137/..., note the different port number. Obvio...
I am developing a State Machine Workflow using C# and WF in visual studio 2008. On one of my states I need to wait for multiple events to happen until the workflow can transition to the next state. As an example think of a unanimous voting scenario. I cannot find a way to do this. Does anyone have a solution or workaround for this pr...
I created a Web site in VS2008. I'm wondering if I should have created it as a project instead and, if so, can it be converted? Any advantages/disadvantages to either approach? TIA ...
I have written a game that uses GLUT, OpenGL and FMOD. The problem is that the binary won't run, unless Visual Studio 2008 is installed on the computer. Why is this? ...
I'm looking for a benchmark (and results on other PCs) which would give me an idea of the development performance gain I could get by upgrading my PC, also the benchmark could be used to justify the upgrade to my boss. I use Visual Studio 2008 for my development, so I'd like to get an idea of by what factor the build times would be impr...
I want to automate the process of gathering code metrics on a .NET solution. Is there any way of getting msbuild to run the Code Metrics feature included in VS2008 Development Edition? I may end up using SourceMonitor, but I would like to know if there is a way to use the VS code metrics engine from the command line. ...
I´m working on a project, in Visual Studio 2008, which DLL currently surpasses 20 MB. Is there a way to profile that DLL, searching the main contributors to this size? I suspect that breaking it in smaller projects inside the solution would help, but I'm looking for a faster solution (although not better, I'm afraid). As a sidenote, w...
Hello, I am starting a WPF project, which will be fairly complicated in complexity and will make use of a lot of modern UIs, like outlook bar, grids, tabs, etc... I've looked around in the marketplace and there aren't too many control suites. Some of the available ones are either Beta or CTP. Others don't look too polished. Yet others...