joehammond's Q&A profile
Visual Studio Team System Publishing to TFS improperly changes Saved property of Project file. Help!
How can I trick Project to think an enterprise project file has not changed -Or- Publish to Team Foundation Server without alterting the Saved property of the Project file I have a business need to publish an enterprise project plan to both Project Server 2003 AND to Team Foundation Server.(TFS) I have solved most of the problems but one. I have written a Macro in Project Pro 2003 to publish a project to TFS , and it works fine. (I first save the project file and publish to Project Server.) Here's my problem: Publishing to TFS somehow sets the project "Saved" property to false (indicating that the file has changed since ...Show All
Visual C++ Error C2664 in atlcom.h
Hi all, I have recently moved from visual studio .net 2003 to 2005 team. I am trying to compile a project that works fine in 2003, but am getting a c2664 error in atlcom.h The Error is: C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\include\atlcom.h(5114) : error C2664: '_CopyMapItem<IQueryAssociations>::copy' : cannot convert parameter 2 from 'const std::pair<_Ty1,_Ty2> *' to 'std::pair<_Ty1,_Ty2> *' Clicking on the error on the task list takes me to a function in atlcom.h STDMETHOD(get_Item)( long Index, ItemType* pvar) { //Index is 1-based if (pvar == NULL) return E_POINTER; if (Index < 1) ...Show All
Visual Studio Help compiler fails with RC1
Hello The Help compiler fails with Visual Studio 2005 RC1 and the October CTP of the SDK. It fails with the message: Microsoft Help Compiler Version 2.05.50727.31 Copyright (c) Microsoft Corp. Fatal Error HXC1022: The compiler server could not be initialized. Reinstall the Microsoft Help 2.0 compiler. Confusingly: - The Beta2 Help Compiler (Version 2.05.50215.44) also fails on a machine with RC1 and October CTP installed. - The October CTP Help Compiler (Version 2.05.50727.31) works just fine on a machine with the Beta2 installed. Plese can you help Thank you Peta Thanks Aaron Well yes, to all intents and purposes we ar ...Show All
Visual C# exit application after aborting thread
Hi there. During my application a thread is started by the user. however when the user closes the app from the X button at the top right hand corner of the form, the application (or form) closes but app still remains in memory running how can i kill the thread and remove the application from memory, as it should do normally when you run and close an application (like MS word etc...) I have put this in my closing event handler of the form but doesnt seem to remove it from memory: private void frmMain_Closing( object sender, CancelEventArgs e) { i f ( this .listenToClientThread != null ) { if ( this .listenToClientThread ...Show All
Visual C# Web browser Instance is not Killed
Hi am using a web browser control axWebBrowser1.Navigate(Application.StartupPath+ \\Results. Doc,ref Optional,ref Optional,ref Optional,ref Optional); now a word document will be opened in browser (word.exe is also opened in background) now when u close the browser the word.exe is still running background. pls tell me how to solve so that i am not able to modify the word document . it says its being used by other process" i have kill the Word.exe Pls tell me how to solve This is the nature of Word - to remain open in order to satisfy multiple requests. For example, if you have Outlook and ...Show All
Microsoft ISV Community Center Forums Architecture - what it is and what it will be
As an initial discussion which can be helpful to all of us I would like to hear opinions of my colleagues regarding the basic question of just what is Architecture and what we would like it to be in the future. Regards, Behzad Architecture....according to me is a blue-print of a product. Caring less about the technology involved to convert the blue-print takes virtual form, all it does is dictates how the system should be implemented. -S ...Show All
Visual C# Is there a way to exclude some codes being executed when switching to design view?
In VS2005 C#, is there a way to exclude some of the codes being executed while loading the user control in design view. For example, I have a user control in which some of the members will be initialized at runtime only. When I add this user control in a form, I am getting the error that reports the construction of the object failed. You could wrap the initialization in a check to the DesignMode property: if (DesignMode) { // Do initialization } Note, however, that this check won't work in the constructor, to work around this, use the following instead: if (LicenseManager.Usag ...Show All
SQL Server How to capture the entire DML statement in a DML trigger?
Hi, In Yukon, is it possible to capture the entire DML statement with the parameter values that triggered the DML trigger inside the trigger body Basically trying to see the equivalent as the eventdata() in a DDL trigger, that provides the CommandText() Rgds SMO cannot be used within CLR trigger right now. It is not supported. Also, using profiler to do these type of actions from trigger code is not ideal. Triggers should usually be very light weight and efficient. The more complex logic that you put inside your trigger the harder it is in terms of performance, development and management. Also, I am not sure how useful it will be to k ...Show All
.NET Development Table Adapter and multi-user environment
I am writing my first .NET application after years of using VB 6.0. As I understand it, the new table Adapter takes a "snapshot" or "cache" of the records in the table, until you TableAdapter.Update. Is this OK in a multi user environment I am writing an inventory program. I want to avoid the following problem... POS computer A sells an item, so my program changes it's quantity from 12 to 11. Two minutes later POS computer B sells one of that same item. It's Table Adapter's cache or snapshot may still think there are 12 of that item, and it would do the same calculation, and it would appear like there were 11 of th ...Show All
.NET Development C++ /CLI signed assembly issue 2005 beta2
I cant send C++/CLI assembly to Gac — error "The check for signature failed for assembly Name.dll" I cant use reference to this assembly. I add the reference to this assembly in c# project - it compiles ok, but if i invoke method from this assembly inside c# project - I get error {"Could not load file or assembly 'Name, Version=1.0.2.0, Culture=neutral, PublicKeyToken=2fce200b3162ab9d' or one of its dependencies. Strong name validation failed. (Exception from HRESULT: 0x8013141A)"} I sign assembly using *.snk file and AssemblyKeyFile attribute. in this sutuation assembly written in c# works fine! ...Show All
Visual J# Help: how can I avoid the System.OutOfMemoryException?
Dear All, A System.OutOfMemoryException always occurs in my program when the input data size becomes larger. Basically my program uses a recursive method to travel all paths in a graph. For example, the graph's configuration looks like this: three nodes A, B, and C. There is one edge between B and C, and the only thing that changes is the number of edges between A and B. When there are 2000 edges between A and B, my program works fine. But if I increase the number of edges to 3000 or more, the exception occurs. I suspect most memory is consumed by this recursive method. Yet, memory should be released whenever such a method returns. Is ...Show All
Visual Studio Check Out Comment
Hi, Is there a way to see the comment that a file was checked out with I don't think I've ever seen this comment show up anywhere. It would be helpful because usually the check-in comment for me should be the same as the check out comment. If yes, is there a way to see the check-out comment from within the Visual Studio IDE Thanks, FD Aha! I knew there had to be a way, I just couldn't find the way in. Thanks. ...Show All
Visual C# Strange prolem with Culture settings
Hi, We are writing the .net application that should always work in en-US culture, regardless of the control panel settings. I was able to force the GUI culture to be en-US by the following code Thread.CurrentThread.CurrentUICulture = new CultureInfo("en-CA", true); Thread.CurrentThread.CurrentCulture = new CultureInfo("en-CA", true); After that the DateTimePicker components are always displayed in en-US culture, which is good. But the PROBLEM is that if I retrieve the the DateTimePicker value in the code, it comes in Control Panel settings again. To retrieve the value i use the following: pickerDate.Va ...Show All
SQL Server Win 2003 x64 - SSIS error Importing xls and access data
I am having a problem importing data from xls and access into my SQL2005 DB using SSIS . Would appreciate any help in getting this resolved. Environment: Xeon 64 bit processor machine/Win 2003 64 bit (x64)/SQL 2005 64 bit Some of the resources that I have dug up so far have pointed to Jet Engine SP8 and WOW64. A search on the box shows this: C:\Windows\SysWOW64\Msjet40.dll – File version is 4.0.9025.0 Not sure what is missing. The following is the error from the import from xls. The one from access is very similar. ======================================================= ...Show All
Windows Forms 4 Viewports with 2 Splitter Controls
Hi! First, I would like to apologize for my broken English (Speaking German and C++ much better). I was trying to build an application which should use 2 splitter controls. Those splitters should divide my window into four parts like this way: http://www.vmbollig.de/msts/tut_en/construction_1/box_in_mitte.jpg Maybe this is not possible with just one horizontal and one vertical splitter   ...Show All
