Matt Godbolt's Q&A profile
Visual Studio Team System Switching Process Templates mid-project
We have a large project that we are building inside of Team System. We wish to switch the process methodology we are using on this project mid-way through. So basically I wish to switch to a different process template with different work item types, what is the recommended way to go about doing this There really isn't an easy way to do it. One way is to create a new project and branch your source and copy your bugs over to it. If you just want to change the work item types to the new methodology, then you can create a new project with the new methodology, down load the work item types and re-upload them to ...Show All
Visual Studio Handling right clicks in solution explorer in .Net AddIn
Hi, I am developing a .Net AddIn in C#. I want to handle operations i.e renaming through right clicks in solution explorer but unable to find any events for context menu. Can anybody please provide me pointers for handling context menu selection events. Thanks and regards, Ruhina Parveen. Hi Ruhina, From an addin, you can intercept the commands by way of handling the CommandEvents.BeforeExecute event. The EventWatcher addin sample on http://www.microsoft.com/downloads/details.aspx FamilyId=79C7E038-8768-4E1E-87AE-5BBBE3886DE8&displaylang=en is a good place to start. It will log the particular comman ...Show All
Visual Studio Skip documentation install with VS2005-Beta2 and just read online?
Hi, The documentation part of the VS 2005 Beta 2 install has a "large footprint" . Can I save some disk space by just not installing the documentation and accessing it online instead For example, is there something in one that is not in the other It sounds like the online version might even be more up to date Thanks, Alan Cobb Hi Jeremy, Thanks for the details. On my next install I'll try going the "maximum online" route. Alan Cobb ...Show All
Visual C# ManagedThreadID doesn't work for interop for SetWindowsHookEx.
I am converting a VB6 program to be C#. Therefore I was looking up how to hook the application for mouse, key activity and I found this article by Microsoft. http://support.microsoft.com/kb/318804/ In the code it uses AppDomain .GetCurrentThreadId() to set a callback thread for Hooking. It uses interop to the user32.dll. I modified/used the code and it works. However, the compiler insists that I should not use this function (GetCurrentThreadID) because it is obsolete: Warning 13 'System.AppDomain.GetCurrentThreadId()' is obsolete: 'AppDomain.GetCurrentThreadId has been deprecated because it does not provide a stable Id when ...Show All
Visual Studio Express Editions Rubbish mail
hi guys! I'am a beginner in C# I creat a e-mail sender ,but,the pop3 server think the mail is rubbish :( what happen thanks! This could depend on a lot of things... One main one might be the subject or email address youare using for the email as your sever might be picking it up as spam... Another problem could be on the methods that you are using for the sending of the mail... You could be forming bad headers for the email and the pop server can not read the email.. If you have a small example of the email code post it so that we can see how you are doing it, and maybe fix the problem. ...Show All
Visual C++ Inheriting build settings
Hello, This is VS2005. I'd like to centralize certain build settings, to be inherited by a long list of projects. That's easy in general using .vsprops. But what if I want to inherit per-configuration settings, e.g. debug vs. release Vsprops files don't appear to deal with configurations, so I'd need to do something like this: my-settings-debug.vsprops debug configuration settings my-settings-release.vsprops release configuration settings my-proj.vcproj debug inherit my-settings-debug.vsprops release inherit my-settings-release.vsprops What I want is this: my-settings.vsprops debug configuration settings release ...Show All
Visual Basic System.InvalidOperationException: Mutex could not be created.
I have develpper edition of VS 2005 . I get System.InvalidOperationException: Mutex could not be created. error when I am trying to access a webservice from windows app. Both app and webservice are on same machine. Dose anyone have any idea how to solve this problem Thanks I think we're going to need to see some code. A mutex is a mutually exclusive semaphore. Someone was trying to protect something and could not create the mutex. If it's a system mutex, I might wonder about the privileges that the webservice is running with. ...Show All
Smart Device Development Home Screen: 2003 vs. 5.0
Hello! I'm a little bit confused and perhaps you can enlighten me: in Smartphone 2003 SDK there is a topic on how to create a homescreen (compose some xml files for schema and the layout of plugins then create a cab and after, deploy it on device). In WM 5.0 SDK there is a topic called "Home Screen Refference" with refferences for interfaces, structures, functions. My question is this: is it possible to customize a home screen in the same way (via XML) like for Win Mobile 2003 Or the only way is to create them by writing code For WM 2003 it is available a walkthrough; is there something similar for WM 5.0 Thank you, Aug ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Animating individual parts of a mesh (directx9 + c++)
Hi, I have been searching for tutorials on animating individual parts of a mesh via user control (user presses a button to rotate the turrent, for example at http://www.jkarlsson.com/Articles/loadframes.asp ). The problem is that I don't understand managed C at all and that example is the only one I have found. So are there any examples that are in C++ or can anyone give me suggestions I know I have to apply a matrix transform to the frame, then update the hierarchy. Right now the model will rotate according to my instructions, but the hierarchy does not update automatically, therefore the part I transform jumps to all sorts of places be ...Show All
.NET Development Mail to alias (distribution list) from ASP.NET
Hi !! [Now posting as a new thread] I am facing a problem with sending mails to distribution lists from a ASP.NET web application. Please help me with this ... Simply put, I need my ASP.NET application to be able to send mails to a distribution list on our exchange server. The alias is known ... say "sales.group" This is translated to group1234@company.com by the outlook client when sending mails manually from outlook. However form our ASP.NET application (We are using CDO for mail, by the way), we need to provide the actual email address and not the alias in the "To" property. Q#1 How do we programmatically fetch the ma ...Show All
Smart Device Development deploy "non-exe" files
Hello! First, I'm sorry if this questions is already posted elsewhere. Second, here is my problem: I have a Smartphone 2003 project developed in VS.NET 2005. I have an xml file I would like to deploy toghether with the .exe on emulator (I tried to deploy on device but it's also not working). This link: http://blogs.msdn.com/sivarv/archive/2005/09/16/468529.aspx is not helping me. Right now, for developing purposes, I copy the xml file on device then, inside the code, I use a hard-coded path to this file (not very elegant). Thank you for your answer, Augustin Calin Ensure that the file is included in your project, select ...Show All
Visual Studio Installation problem with .NET Framework 2.0 Redistributable Package (x86)
Hello, After .NET Framework 2.0 (x86) installation to Windows XP Professional SP2, my MSI log file shows the following error: Info 1721. There is a problem with this Windows Installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor. Action: DD_CA_PatchInstall_X86.3643236F_FC70_11D3_A536_0090278A1BB8, location: C:\WINDOWS\Microsoft.NET\Framework\, command: "C:\WINDOWS\Microsoft.NET\Framework\netfxsbs20.exe" /install I did not experience any run-time error dialogs during my test installations on different boxes. However, on each box the MSI ...Show All
Visual Basic Dynamic Type Converion
Hi I need method "ToType" that takes value and type as parameter and converts it to respective type. dim val as String = "1" dim paramType as Type = Type.GetType("System.Int16") dim myint as Int16 = ToType(val,paramType) Regards Dipesh Use the CType(object, datatype) method or Convert class - as in Convert.ToInt32(...) Look them up on MSDN for more info or F1 them from the IDE. ...Show All
SQL Server packages and data source views do not work?
Hi, doing my first steps in SSIS I wanted to copy data from 2 different SQL 2000 database servers to a SQL 2005 Data warehouse. For not having to deploy additional views and procedures to the individual systems I chose to create a Data Source View to create an abstract view on the different data sources. I found out that I can have named queries pointing to the two different data sources in the same view. 1 Project, 2 Data Sources, 1 Data Source View with 3 Named Queries When I now add a Data Flow Task to the Control Flow how can I specify my DSV as Source for Transformations I even added both OLEDB Connections to the Connection Man ...Show All
Windows Forms Error when opening, Administrator, click once, .net 2.0
hello all, I have a click once application. my users are not administrators in their computers, I do not know if it is relevant just mentioning. The recent change was that we moved all user profiles to the server. The users has a sevre error, and the application load failed. here is the error description PLATFORM VERSION INFO Windows : 5.1.2600.131072 (Win32NT) Common Language Runtime : 2.0.50727.42 System.Deployment.dll : 2.0.50727.42 (RTM.050727-4200) mscorwks.dll : 2.0.50727.42 (RTM.050727-4200) dfdll.dll : 2.0.50727.42 (RTM.050727-4200) dfshim.dll : 2.0.50727.42 (RTM.050727-4200) SOURCES Deployment url : file ...Show All
