Sylvain Arene's Q&A profile
Visual Studio Team System Actual Effort (as mandatory field)
The actual effort (in hrs) should become the mandatory field only if Actual End Date is entered. How can I approach this problem Thanks, Kathir You could try using <WHEN> clause in your WIT definition for the "actual effort (in hrs)" field. Please see the following link on using <WHEN> clause. http://msdn2.microsoft.com/en-us/library/aa337638(VS.80).aspx -Mohammad ...Show All
Internet Explorer Development Got another workaround
Having an intermittent problem printing To: From: CC: Subject: Attachments: headers on emails. Usually happens with larger emails or emails with large attachments or emails that have been replied to or forwarded from other people. Have installed Generic/text printer and sent the email to this printer but sometimes the headers are still missing even printing this way. I have if I open the offending email and highlight just one or two words in the text of the email eg Dear John and then print the email using my HP printer (not as text on Generic printer) - the headers then print and so does the selected words. Don't suggest using Outlook as often we only print the first page of emails as we already have the rest of the email on file especial ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Update frames for 2D animations
Hi all, In my previous program (C# + MDX), I use the Timer in System.Windows to update the frames by using suitable time interval. Now I would like to change to use XNA. But I don't know whether the Timer class will be supported in XBox360. Therefore, I would like to ask whether there are better ways to show 2D animations. I have read the 2D animation in "HELP". But I would like to know whether there are any other approach. All the animations update the frames in the 'Update" function and therefore all the 2D animations update the frames in the same time. If the fps varies, the timing for refreshing the frames also varies. That's not what I want. Thank you very much I may have the wrong id ...Show All
SQL Server Launching DTA via "analyze in DTA" context option in SQL Editor failing
TITLE: Microsoft SQL Server Management Studio ------------------------------ Failed to connect to an IPC Port: The system cannot find the file specified. (mscorlib) ------------------------------ BUTTONS: OK ------------------------------ 32bit/x86 standard edtion, build 2047 (sp1) Did you find a fix for this I get the same thing. Here is my stack trace: =================================== Failed to connect to an IPC Port: The system cannot find the file specified. (mscorlib) ------------------------------ Program Location: Server stack trace: at System.Runtime.Remoting.Channels.Ipc.IpcPort.Connect(String portName, Boolean secure, TokenImpersonatio ...Show All
Visual Studio Team System Synchronizing workitems with 3rd-party defect tracker?
Hello, my previous post on date-time queries was reall part of a bigger picture. I'd like to use TFS workitems as my 'master' issue tracker, but I want to mirror the workitems to another defect tracker. (Initially, in a read-only fashion). I'd like the synchronization to be 'real-time', or at least quick (within minutes). * One solution would be to have TFS raise a flag (and have the other app whatching the flag) or itself trigger the synching program whenever a workitem is saved. * Another solution would be to have an agent frequently polling TFS for changes, asking "has any workitem been saved since last time I checked ". Will TFS support any of these methods Any suggestions are welcome. thanks, /Tomas ...Show All
Game Technologies: DirectX, XNA, XACT, etc. System.Collection.Generic support in XBOX 360
Hi, I wondered if the modified Compact Framework used in the XBOX 360 would support Generics Moreover, is there any resource where I could find the different supported XBOX 360 .net classes and members Thanks Shawn Hargreaves wrote: There will be no networking in our V1 release. Plans for future versions are still undecided: we're aware that this is an important and interesting feature, but as I'm sure you can imagine there are all sorts of funky security issues on Xbox that we need to work through before we can commit to anything. If Microsoft wants to capture the independent/hobby developer for 360 development as it was stressed at Gamefest, this should be a no brainer. Multiplayer is ex ...Show All
Visual C++ Function problems
Hi all. I wrote two functions with void and int main calling them. Problem is only one function is working while the other is not. Here's my code: #include <fstream> #include <time.h> #include <windows.h> using namespace std; void time(void); void date(void); char olddate[9] = {0}; char oldtime[9] = {0}; int main (){ time(); date(); return 0; } void time(void){ while(1){ Sleep(300); char time [9]; _strtime(time); bool fNewTime = strcmp(time, oldtime) != 0; if(fNewTime){ ofstream file1; file1.open("time.txt",ios::app); file1 << "[Time]: " << time << endl; strcpy(oldtime, time); file1.close(); } } } void date(void){ while(1 ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Riemers.net -- 4th Series finished: Final screenshots
Hi all -- I've been working on a 4th Series of XNA Tutorials, which deals with advanced terrain rendering. This series is completely new; it is not a translation of one of my MDX series. The graphical part of the series has been finished, so you can already have a look at some screenshots: XNA Tutorials Series 4: Advanced terrain You can expect the first chapters somewhere next week. I first have to clean up some code and get the skydome exported to a .x file! If you have some experience with this, head over to this thread please. ps: you can find links to 2 larger screenshots in the 3rd paragraph. Just wanted to add my voice to the praise for Reimer's tutorials. I understand what everyone means ...Show All
Visual Studio Express Editions How to display the function of the button when the pointer hover over the button?
Hi, i was trying to figure out how to display the function of the button when the pointer hover over the button I believe you maybe referring to a tooltip. On a button in designer view, select it to bring up its properties. Select the events icon (lightning symbol) Look for "MouseHover" and double click on it to create a mouse hover event. This will take you to code view In this event, type the following: ToolTip theToolTip = new ToolTip() theToolTip.SetToolTip(this.theButton, " text here "); of course, replace "theButton" with the appropriate button variable does this help ...Show All
Visual Studio Team System Security Problem with Accessing Work Items
I have a security problem with accessing work items. I have created a team project based on a customized project template. Among the rest, there are a "Defect" work item and two team queries, "All Defects" and "Active Defects" . MyProject > "Team Project Settings" > "Group Membership..." context menu item shows "Project Groups on MyProject" dialog with the list of the team project groups, including [MyProject]\All that includes another team project group, [MyProject]\Developers that includes a Windows user MyDomain\John . MyProject > "Team Project Settings" > "Security..." context menu item shows "Project Security" dialog with the list of the team project groups and their permissions, particularly, the above-mentioned ...Show All
Visual Studio Can't Extract VS 2005
Gentlemen, I have read a few of the forum entries including: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=778624&SiteID=1 I cannot install VS 2005 Pro trial no matter what I try! I have tried the following: 1. Mounting the Image in Daemon Tools. I was able to mount, but I received the an error message on file: E:\vs\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bootstrapper\Packages\WindowsInstaller3_1\WindowsInstaller-KB893803-v2-x86.exe 2. Extracting the DVD .img file using IsoBuster Pro 1.9.1. I can't extract the file. I tried checking which files were physically unreadable. It listed the same file: E:\vs\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bootstrapper\Packages\WindowsInstaller3_1\WindowsInst ...Show All
Visual Studio Express Editions displaying results
Alright, I'm used to VB6, where you could put text into a picture box and I used that to display results, just clearing the box every time a new calculation occurred. However, I have found that you cannot do this in VB2005. I would ask why, since it made my life a lot simpler... but right now all I need is a working alternative. Basically, this is how it's working: I have a program that is making calculations based on what the user inputs. Since I don't know what the user is going to input, I can't use the "replace" command for the label, and replace the results every time. I also cannot use the "trim" or "delete" commands, since I'm not sure how many characters there will be. How can I display text and then indiscriminately remov ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Collision detection - Howto
Hi all, I'm trying to make two objects collide in GSE, actually in a Pong game - between the bat and the ball. I have motion for both, but no collision, the ball just leaves the stage so to speak. Any help would be appreciated. I have looked in the Help, but to no avail. You could also do something like float distance = (a - b).Length(); Where a and b are Vector2s. ...Show All
SQL Server SqlDataSource not updating on editing GridView
Hi, I'm new in ASP 2.0. I need to incorporate edit and delete capability in GridView. Using the wizard, i've generated this code. When I delete a row, it gets deleted but update does not work. I've tried several ways. I got no error or exception. But row is not updated. I've checked database, and I think the update query is not executing at all. Please let me know, what I'm doing wrong Here is the source code for reference. I'm using Visual Studio 2005 with SQL server 2005 Express Edition. Regards ========================================================== <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="QuoteItemID" DataSourceID="Sql ...Show All
.NET Development Collection Editor: possibilty of adding a new Item to a Collection incl. an object as parameter?
Hi! I have one class with the following Constructor (and no default Constructor), where I want to set a reference to a Parent Object: public Test(myClass ParentObject) { this.m_Parent = ParentObject; } I have setup my Custom Collection for Test: public class TestCollection : System.Collections.CollectionBase, ICustomTypeDescriptor { public Test this[int index] { get { return (Test)this.List[index]; } set { this.List[index] = value; } } public void Add(Test test) { this.List.Add(test); } [code removed......] } Unfortunately the CollectionEditor requires a default Constructor, or the 'Add'-Button in the CollectionEditor won't work... - but if I do provide a default Constructor I am unable ...Show All
