Ralph Depping's Q&A profile
Visual Studio Team System Deleting a build type
Is there a way to delete a build type I can see the associated files in the Source Code Explorer, but it won't let me delete them from there. You also may need to Get the latest version (recursively) of the TeamBuildConfiguration directory before deleting any files. ...Show All
Visual C# usage of const
Hi all, I am a beginner of C# language and have a question about const. Does C# allow to use const keyword to parameter option like C/C++ After trying several times, I wonder that C# doesn't. If so, aren't there ways to avoid the code like this : class Hoge { .... methods or something are declared... } class HogeHoge { public UseHoge( ref Hoge h ) { h.somepro ...Show All
Visual Studio Tools for Office Deleting a line break
Hi All, I'm writing a Word Add-in which finds for a string in the document and deletes if there is a line break just before it. Can anyone help me on this TIA Pavan Hi, You can search for a paragraph mark + the string, and replace it with "nothing" or replace it with just an empty paragraph mark if you want to retain it. For example, if the string you're looking for is "find string&qu ...Show All
Visual Studio Team System Want to rename an existing WorkItem
I've created a new work item in a project using the witimport.exe utilitie. I now want to change the name of the work item and have been unable to find and documentation or tools to do this. --JonPL Unfortunately, this is not supported in v1. You best bet is to create a new workitemtype with the new name. Thanks. -Mareen. ...Show All
SQL Server Can not create new replication after changing server name
After i changed my computer's name(eg. the original computer name is 'SERVER-1' ,I has changed it to 'SERVER-2' ),I can not create a new replication in SQL Server 2005. The error message : ------------------------------------------------------------------------------ New Publication Wizard SQL Server is unable to connec ...Show All
Visual C++ Help on very basic OpenMP program
Hello, I have a hello world program that uses OpenMP, and I am unable to understand it's behavior. The code is: #include <iostream> #include <omp.h> using namespace std; int main () { cout << "Max openMP threads = " << omp_get_max_threads () << endl; #pragma omp parallel { int num = omp_get_thread_num ...Show All
SQL Server performance: index scan (variable versus constant)
Description: Microsoft SQL Server 2000 - 8.00.2039 (Intel X86) May 3 2005 23:18:38 Copyright (c) 1988-2003 Microsoft Corporation Enterprise Edition on Windows NT 5.2 (Build 3790: ) SP4 in other words, cluster, single instance. discovered index scan where I didn't expect it. The code is a part of stored procedure, but the case can be reproduct easy in t-sql. Script 1: --CREATE TABLE [dbo].[Activity] ( -- [SentToB] [int] NOT NUL ...Show All
Windows Forms Sample Code to Re-Use MenuStrip items directly as Context Menus without having to create the menu twice.
Though I would just share this because it has been a big annoyance since VS.NET 2002 for me, now with 2005 I found the menu's are still missing one simple feature... HOW DO YOU RE-USE A MENUSTRIP OBJECT AS A CONTEXT MENU Here is one answer that I found that appears to be the simplest, and allows me to use the built in menus again. (previously I resorted to 3rd party menus because I usually reuse my main menu portions as context menus) Ste ...Show All
Visual Basic Now a question about audio resource playing
Hey, more questions for you all. I thought the new My.Resources thing was pretty cool, so I went in the resources designer and adding a WAV file. Next I go in code and put it down exactly as MS says to in the help file, they say this: "This example uses the My.Computer.Audio.Play method to play the sound stored as an audio resource named Form1Greeting in the application's resource file. Sub PlayFormGreeting() My.Computer.Audio.Play(M ...Show All
.NET Development Beta 2 support for Avalon and Indigo
The March CTP of WinFX requires the Feb CTP of Visual Studio. When will a Beta 2 supported release of Avalon and Indigo be available You can now download the Beta 1 RC version of the Avalon and Indigo runtimes which are compatible with VS 2005 Beta 2. Check it out here: http://www.microsoft.com/downloads/details.aspx familyid=b789bc8d-4f25-4823-b6aa-c5edf432d0c1&displaylang=en Lori Pearce Longhorn SD ...Show All
Software Development for Windows Vista VS2005 froozen (100% CPU)
Hello, When I install Visual Studio 2005 extension for worklow fondation on Visual studio 2005 professional, my computer (win XP pro sp2) use 100% CPU for a long (I have wait more than 20 minutes before cancelling) time. Can somebody give me some information for solving this issue Patrick Uninstalling AnkhSVN worked - VS 2005 stops hanging on startup. I uninstalled JetBrains ReSharper 2.0 EAP#214 first, but that wasn't ...Show All
Visual Studio Express Editions Function help needed...
I known that what I want to do is possible... i just dont know the commands. Here's what I want to do: ------------------------------- Find all files on the users computer Open every file and search for a text string... ------------------------------- Please help. Ok, i found some code , but i dont understand what the 'paramArray' is. It keeps giving error. Dim filePaths As String filePaths = My ...Show All
Visual Studio Distribution Question (ClickOnce?)
I seem to recall from a while back that distributing ReportViewer with a windows project via ClickOnce and/or other methods requires some way of running ReportViewer.Exe. I think that there was mention of a manifest editor. Is there any easier way to do that now or can someone point me to an article that explains what to do. Thanks. ...Show All
Smart Device Development Disable Cert Check on WM5
I am trying to ActiveSync over SSL, and can't get it to work. I have a feeling its because of the cert check like in PPC 03. I tried to run the same util in cradle mode, but it errors out. Does anyone know the actual registry key added/modified to disable cert checking on WM5 TIA Can you expand a little more on what you are trying to do what you currently have working. Can you cradle the emulator under normal c ...Show All
Windows Forms Naka and Mari - Is Terrarium fun over ?
Is it over Naka and Mari is too much dominating in numbers to introduce succesfully even a "2x superior to Naka/Mari" more than x hours. 1> Would like to know if anyone has some ideas on how we could get back the fun to&nbs ...Show All
