mafc's Q&A profile
Visual Studio Team System Sharing project code
Hi We have an issue where we have a couple of projects which are part of a single solution. The projects, which are part of a web services infrastructure, are then used by a number of other solutions. The code has been written in such a manner that the source for each of the projects is included in each if the other solutions. What is the best way for handling this from a source control point of view I know sharing has been removed from foundation server, but in effect this is what we want to do. I suspect when I try to add the other solutions to source control I will have problems with the project being under source control of more than one solution. Cheers Brett You may want to try our TFSLinks product: http://www. ...Show All
.NET Development Rs232-threads-problems
Hi, I have a strange problem...I work an application which is multithreading.I interrupt,with my application, the communication of two devices which send each other hexadecimal messages to communicate with Rs232..so i can check in my program what kind of messages are that and i can also change some bytes and send them back changed..the problem is that when I run this in my pc(2GHz) is run ok..everything work..I have mentioned the GHz cause I do a lot of processes until I send back the changed bytes and that some times take long time and I lose the communication(i need real time coinnection)..In my old pc (1GHZ) it also works...But when I gave that to my firend to check in his pc (3,4)..it doesn;t work...Have you any idea aboput the reason. ...Show All
Architecture Thoughts after reading Introduction to Progmmatic Arcitecture
I think the concerns raised in the "Introduction to Pragmatic Architecture" (MSDN Series) are very important ones. They do not leave anybody indifferent. We are daily involved in these issues one way or another. These are my thoughts on architects and architecture. Expressed by many members of the developers’ community opinion about architects - "cannot code anymore" – is a stigma which seems never fades away. Ironically this is coming from developers who are endangered species in our market today. They are so close to extinction that sometimes the closest developer can be found in India. As an architect I often participate in different types of reviews, including code ones. From my experience I can attest ...Show All
Windows Forms Form to Form
Hi I am trying to change label text the form1 to form2 and the form2 to form1. I don't know to do it. I use C++/CLI 2005. Any idea I have it #ifndef ControlWindows_h #define ControlWindows_h namespace ControlWindows { using namespace System; using namespace System::Windows::Forms; ref class CWindows { static Form ^WindowsX2; //static Form2 ^WindowsX22; // ERROR static bool X2Status = false; public: // FORM2 static void ShowFormX2(); static void CloseFormX2(); static void ChangeCaptionX2(); static void MngVentanaX2(Object ^Obj); }; } #endif ...Show All
Visual Basic using MATLAB in VB.NET
Help Help!!! I need to know how to execute some MATLAB functions in a VB.NET code. Please guide me in details to the steps I should go inorder to do this. Thanx a lot MatLab has its own support website . Type VB.NET in the search box and you'll get 7 hits... ...Show All
Visual Studio Team System Linked Servers
Hi all...SQL Semi-Newb here... I am able to create a link to a SQL 2000 Server from a SQL 2005 Server. I am able to use the wizard and T-SQL to create a linked server under the "Linked Server" section. Issue is that when I click on it to view tables and the like there is nothing there. I am really at a loss...I've been all over the net but still haven't found the answer. Any help would be great...Thanks. Jason I see nothing in Microsoft SQL Server Management Studio Express or when I connect from VB or VWD. When I select the properties for the linked server the "Progress" section says "Ready". Thanks ...Show All
Visual Studio which template to use ?
hi, I am trying my first dsl project , i simply need to link several csv files together , for example selecting records of type 'sales' and match it agaist 'orders' in second file and link 'orders' with 'shipment' file and so on. would you tell me which template is most appropriate for this model thanks Michael Hi, i tried to simulate file item relationship , but none of DSL schemes matches what I want file1(element1, element2 )->file2(element1,element2,element3, element4 ) and so on ( link element2 of file1 to element4 of file2) in data base terms : select * from table1 A table2 B where A.element2 = B.element4 thanks Michael ...Show All
SQL Server OnVariableChangedEvent Log Message
I have posted a very simple request to have the message in the SSIS log from an OnVariableValueChanged Event to include the vale the variable has been set to. If you like the idea of this enhancement please go and vote and validate it here https://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx FeedbackID=238803 ...Show All
Visual C# Dynamic generate JScript code using C#
I want to generate a JScript source code file using CodeDom in C# . To be more specific, I use class JScriptCodeProvider. Everything seems fine except when generating , for example the following JScript code: public class Evaluator implements IEvaluator { } My C# code for generating that is: CodeTypeDeclaration Class1 = new CodeTypeDeclaration("Evaluator"); JscriptTest.Types.Add(Class1); Class1.IsClass = true; Class1.BaseTypes.Add(new CodeTypeReference("IEvaluator")); The problem is that CodeTypeDeclaration class only has the collection BaseTypes but not something like InterfaceTypes hence instead of generating "implements", it generates "extends" public class Evaluator e ...Show All
Visual Studio catch ReportViewer exception
Hi, i have a problem with the reportviewer control. if the user try to export the report to excel or something and try to overwrite a file, it can be happened that he can't overwrite the file.( because it can be looked by an other application ) in this case the reportviewer throw an exception and i don't know where i can catch this exception in my window has anyone an idea thank you Thomas This is a known issue that has been fixed in Visual Studio 2005 SP1. You can get more information on that release, including the beta, here: http://msdn.microsoft.com/vstudio/support/servicing/ ...Show All
SQL Server ROW IN A SPESIFIC ORDER
I HAVE FOUR ROWS IN A TABLE & I WANT THEM TO APPEARS IN A SPESIFIC ORDER AND I DON'T WANT TO SORT THEM. please help me You'll have to add some additional column to your table, perhaps called SortOrder. Then assign values to it: SortOrder Value 10 C.F.E.D 20 ASAP 30 ZAMA 40 OTHERS Then you can ORDER BY SortOrder. ...Show All
Visual Studio Express Editions MSDN Library May 2006 Edition integration
Hello, Is it possible to integrate the MSDN Library May 2006 Edition with Visual C++ Express Edition I had the MSDN Express Edition library installed, but uninstalled it and installed the full MSDN library and it isn't integrating with VC++ express. orcmid, Do you know if the method used to integrate the psdk help into express can also work with msdn may 2006 http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=141630&SiteID=1 ms-help://MS.VSExpressCC.v80/dv_vsexpcc/local/CollectionManagerExpress.htm ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Developing simultaniously on the 360 and Windows
Hi I would like to create a new solution that can accommodate development of a game on both th 360 and Windows simultaniously. I have some ideas but they all seem tedious. What is the best way of sharing code between the two projects How would you setup the solution Any tips will be appreciated Haven't had a chance to try this yet, but someone has put together a combined project template here . ...Show All
Windows Forms MSDataSetGenerator failed
Working with TableAdapter and MSDataSetGenerator and having recurring problems with an error: "The custom tool 'MSDataSetGenerator' failed. Failed to generate code. Object reference not set to an instance of an object." This error is intermittent and occurs when adding an Insert query. Sometimes, especially after rebooting, I can create the query and it all works. I can then go back to add another query and I get the error. The designer.vb file is deleted as it tries to regenerate. If I comment out the <DbSource> ... </DbSource> XML in the xsd file for the queries and 'Run Custom Tool', the designer.vb file is regenerated fine. Activate the commented out query again and I get the error again. If I have s ...Show All
Visual Studio Express Editions Always On Top Overlay
Hello, I am designing a program that I Wish to have overlayed in a video game. The Video Game is an always on top program, is there any way my program can overlay an always on top program Set the form’s TopMost property to true and it will be drawn on top of any windows that are not similarly set. I should mention that even setting TopMost cannot guarantee it’s staying on top of all windows all of the time as other windows with TopMost enabled will act just like normal windows with regards to being on top with yours as shell gets the final say and generally doesn’t let anyone have that kind of absolute control. ...Show All
