suranga_d's Q&A profile
Visual Studio Team System Help getting started customizing portal
I have ordered every book available for Team System and have browsed through them. I've gone to the MS Team System site and tried the training there. I've gone to the blog. I have yet to find a simple and good training resource for this system. Each time I try something it seems like the information is way more than what I need in some areas and completely lacking in others. For example, how to set up the project portal and customize it. My books tell you that you can customize the portal but don't show you how to do it step by step. I also would like to create a template portal for the entire development team so that when anyone creates a team project the default portal is my c ...Show All
Visual C++ Text field question
Hi Folks; I have a text field that gets its contents from a SetDlgItemText call. The text goes beyond the length of my text field so I was wondering if anyone can point me to a list of flags so that I may allow the user to read to the end of the text field. By hand Why You should consider downloading Visual Studio Express if you haven't got VS. Anyway, this is a sample resource string for a multiline textbox with horizontal and vertical scrollbars, as well as automatic horizontal scroll, switched on: EDITTEXT IDC_EDIT2,65,18,157,49,ES_MULTILINE | ES_AUTOHSCROLL | WS_VSCROLL | WS_HSCROLL For flag information, see http://windowssdk.msdn.microsoft.com/en-us/library/ms672063.aspx ...Show All
SQL Server Package fails but single Task ends with success
Hi I've created a simple package that contains only one task that is an execute sql task. When I run only this single task from Business Intelligence development studio it runs successfully. But when I run the whole package (also from Business intlligence studio), the package fails. The data source I access is ODBC. I'm sure the real reason for the error is the bad ODBC driver of the data source but this can't be changed. So I need to know what is different from running only a task in a package to running the whole package. If I knew that I might be able to adjust some setting and make it work. Any help welcome. I had a similar probem the other day. all the individual steps would run ok in visual ...Show All
Visual Studio Team System Web analytics tool interfering with webtest execution
Our product currently uses Instadia as a web analytics tool. When I run webtests, the call to Instadia is invoked just after the login. Unfortunately, the webtest does not recognize the call, resulting in the test failing. I don’t see anywhere in the test code where I can instruct the test to ignore the call. The use of the Fiddler tool doesn’t give me anything either. I’ve tried to configure a proxy server per the response recommendation to no avail. Has anyone else seen this interaction between webtests and a web tracking tool Here’s the call: http://se1.instadia.net/cgi-bin/gather 0d012r5&Trucks+Dealer+Portal+%3a+TDP+Dual+US+English+%3a+VTC&http://xnet.volvo.com/tdp/dual-us/en-du/home.htm&http://xnet. ...Show All
Visual Studio Team System Adding / Modifying Work Item Fields
Greetings I would appreciate being pointed at the correct places in the documentation / blogs/ etc. to learn how to add a custom field to the work item tracking dialogs. Having looked at the warehouse it doesn't look that difficult but a step by step would be helpful. Thanks in Advance & Warm Regards Alan Also, if you download the visual studio SDK, it contains documentation on how to modify work items. It is called "Authoring work item types" or something of that nature. I believe once you install the sdk, it is found at c:\programe files\visual studio 2005 sdk\2006.03 (or .04 if you download the april release)\VisualStudioTeamSystemIntegration\Work Item Tracking. The sdk also contains some simple e ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Yet another tile game : Psykoban (Sokoban clone, source included)
This is the fourth game I've made using the XNA framework & GSE, this one is a sokoban clone (sokoban meaning warehouse keeper). The objective is simple, push the boxes/barrels in the appropriate locations to complete the level. But you can only move in one direction and can only push one box/barrel at a time. The game includes 12 levels, and unlike other clones having a character as the player, I used a forklift thing-a-ma-jig . Screenshots/Download Enjoy! ok, a couple comments. 1. I like the little forklift turning animation, it's a nice touch. 2. Sometimes keypresses aren't acknowledged, requiring me to hit a key more than once to get a response. Occasionally I end up hitting the key one time too many and screwing up the lev ...Show All
Visual Studio 2008 (Pre-release) Ado vNext - Hibernate
Hello, vNext sounds really exciting. I have 2 questions: 1. I'm wondering when is it going to be relased. I'm developing an app from scracth and i want to use an O/R mapper. Given that vNext is in CTP stage, I feel that NHibernate is more mature right now. 2. Will there be a migration path from hibernate to vNext Any pointers on how I should encapsulate hibernate code so that I can replace it with vNext once it is available Thanks Houman Houman, Coincidentally we had a blog post about vNext go out today at http://blogs.msdn.com/adonet/archive/2006/11/07/ado-net-orcas-and-samples.aspx . The net of it is that vNext is now in the .NET Framework "Orcas" CTP builds and is ta ...Show All
Visual C# Word COM base interface
Hi, I am currently writing a commercial app in c# that creates reports in Word. I was wondering if there is any way to ensure that my code will work with all versions of Word. I have played around with the Word COM reference, but without knowing the base methods that are in all versions of Word I have no idea how to make sure my users can use the app with 'their' Word version. The only other suggestion I have been able to come up with is implementing a binary reader/writer to the Word 97 spec, but this will dent my development time dramatically. Thanks in advance for any suggestions ...Show All
Visual Studio Express Editions Reading 2 lines from a file
Hi all! It's me (again). I feel really frustrated, because I know that I'm so near to achieving my goal, and yet it seems so far! Problem: I have a text file with 2 lines (it will always be the same): - Line 1 defines the name of the "Plugin" - Line 2 defines the executable path of the "Plugin" A directory (sampledir1) contains an amount of files structured like this. Is there a way to add the names of these "Plugins" to a listbox, but also assign a value to that item, so that when the item is selected, the plugin will launch. Please don't get mad at me for asking so many questions - I'm still a newbie... Thanks! Johannes Hi Spotty Thanks - that helped me a lot, but now, I also want to put in a cas ...Show All
Windows Forms "Windows Handle already exists." problem
Hi, I have an application in which I open a form from another form as a dialog. There are some buttons on the opened form one of which closes the dialog form. If i open the dialog form and then close it by pressing the close button, an exception is raised with the message " Windows Handle already exists." Can any body tell my why this exception is raised and what is the work around Thanks in advance, Wasif Ehsan. ...Show All
Visual Studio Express Editions Can anyone help me count letters?
In VB 2005 express: I am writing a 'word calculator' program that: -Uses the textfile in "textfilecontents" (textbox) -Scans each character, from each line of 'textfilecontents' Here is what I've got so far: -If the character is a letter, then: -convert the unicode value of each char to it's base value. (A=1 B=2 C=3 D=4, ect.) -adds the base value of each letter to 'TALLY' (integer) -display character read to "txttallied" (textbox) -If the character is NOT a letter, then: - display the character to "txttallied" (textbox) - don't add to tally (only letters are counted) -If the character is a carriage return: then: -display TA ...Show All
Visual C++ Catching Unhandled Managed Exceptions from MFC
Is there any reasonable way to get CWinApp to catch .NET managed exceptions in the Windows message loop using its standard facility ( ProcessWndProcException ) at the moment they seem to throw all the way out of the appication without hitting that handler. Andrew Raymond Mitchell1 Sheng, For reasons unknown, I'm not hitting Application::ThreadException . I had forgotten about the AppDomain event handler, though. I'll take a look into that. Andy ...Show All
Visual Studio Express Editions Update Data
Hi, I am trying to update a table in my dataset with data that i've modified during runtime of my program. I'll explain: on a form, I double click on a datagrid. Depending on the selection in the data grid, a specific cell on my table gets updated with a new value. I create an instance of the table in my code, and update the specific cell with the following code: dt = Me .FantasyDataSet.Draft dt.Rows(position - 1).Item(Team) = player & ", " & pts dt.AcceptChanges() Now, how do i perminently change the data in Me .FantasyDataSet.Draft Do I need to use a data adapter Do I need to use an Update command Thanks in advance... Pete M dont call acceptchanges, i ...Show All
Visual C++ Can you share global variables between a DLL and a calling program?
Can you share global variables between a DLL and a calling program If so I would appreciate any tips. I tried putting the global variables in the DLL but it crashed when the VB porgram tried to call it. Ted. wrote: Not entirely accurate - a global variable can be per process, not necessarily per module, i.e. it can be shared between a DLL and EXE (both built in C++) simply using the __declspec(dllexport) and __declspec(dllimport) keywords (or by using a DEF file). Create a DLL, and export a variable from it, and you can access it from any other DLL within the process, or the EXE that links to the DLL. It depends on terminology. The term global is used to refer to variables made global using "extern". Actually, ...Show All
.NET Development Configuration Manager
Hello All. Alright, let me start with just a little background. I'm working on a Windows Forms client application, and in order to make it a single-instance application, I've got a named Mutex, which I naturally want to encrypt to prevent a DoS attack from any assorted twerps. Now, for whatever reason, the folks at MS don't seem to see the need for a tool like aspnet_regiis.exe for client apps, so already this has gone from trivial to tedious. So, I worked up a little code to encrypt the config section in question, and I kept getting null reference exceptions. Well, I backed up a bit and the problem seems to be referencing the "appname.exe.config" file. Here's my code: using System; using System.Collec ...Show All
