ceng2000's Q&A profile
Visual Studio Team System Notification in VSTS
Hi, I want to create default alert/notifications in my process. For Example, if project manager creates any change request, automatic notification should be sent to Change control board for review. Or if i resolve the bug, notification to be sent to reviewer to review the code change. Is there any mechanism available in VSTS for this. Thanks, Jayashree Yes, we have persistent subscriptions that can send emails upon specific events. Any email address can be used as the recipient -- including groups. So if you create a Windows group for the Change Control Board, you can create a subscript ...Show All
Visual Studio Team System Connecting from VS to controller
Hello there, we have one machine with Visual Studio and the second one with a controller installed. There is a VPN between those boxes and a firewall as well. We opened all ports in both directions which are mentioned in the documentation or in this forum. But when the test is started in the Visual Studio, the controller tries to connect back to the Visual Studio (probably to get the files of the test). And here is my problem: The Visual Studio listens for a connection from the controller on a dynamic port which changes (e.g. 1053, 1055, ....). Is there a way to make this port fixed Best regards, Lada Sobr ...Show All
Windows Forms NOBODY SEEMS TO KNOW HOW TO Create customized project item templates.
Hi there I hope somebody could give me a hand I have already reinstalled VS TWICE because i tried myself to create subproject Templates. I have found links how to create a solution template but i cannot do the following. Scenario: There are some forms I use all the times. MDIParent form with toolbar/ListBar etc. Dialog Form base Add Edit form base ...Show All
Visual Studio Express Editions VB 2005 Express registration
When i click on the link to "Registration Benefit Portal" (http://go.microsoft.com/fwlink/ LinkId=52054) i enventually get redirected to https://connect.microsoft.com/downloads/downloads.aspx SiteID=40 which says Error: The page you have requested is unavailable or you do not have access. Suggest MS update something :-) and can anyone tell me how i get to this web page It might take a day or two before the benefits portal recognizes your registration. If it still doesn't work I would clear out the browser cache and cookies and retry. ...Show All
.NET Development XmlSchemaSet - multiple schemas, same targetNamespace ?
Can anyone confirm: The new XmlSchemaSet can store multiple schemas with the same targetNamespace, provided they have a different schemaURI You can validate different documents against these specific versions of schemas, which are all in the schema cache at the same time How do you tell the validator which schema to use, if they all have the same namespace - is it the schemaLocation hint in a document My scenario is to support schema versioning somehow. The suggested approach is to keep the namespace the same, and use the W3C version number attribute in an XSD to indicate which version of the schema it is. (alternatively, roll my ...Show All
Software Development for Windows Vista 'advanced' tracking
For the system we are building we need to present users with tracking information about the status of his/her workflows. This information should be presented in an understandable format and include workflow variables (i.e. "travel request for PjV to Tech-Ed in Barcelona; waiting for approval from M.A. Nager", where "PjV", "Tech-Ed", "Barcelona" and "M.A. Nager" are instance variables.) The tracking service seems most fit for this requirement, but I can't find any pointers on how to access these instance variables from the tracking service/channel. Is tracking the best option here and how can we access these variables Thanks, ...Show All
Visual Studio Team System CA1030 UseEventsWhereAppropriate warns about methods named Raise<EventName>.
Using 1.35 rc1, it warns about methods that have the prefix 'Raise'. Would like to understand the rationale behind this, as we use Raise<EventName>() as the name of the protected virtual method that raises the <EventName> event. Why should it be flagged Example: protected virtual void RaisePersistenceCompleted(PCEventArgs e) { EventHandler handler = PersistenceCompleted; if (handler != null) { handler(this, e); } } Thanks. Michael This rule picks up methods with event raising names, such as Fire or Raise. Also according to the the Framework Design Guidelines methods that ra ...Show All
Visual C# how to insert a new line programmatically in a richtextbox control?
in my form load event i want to set \n newline rtb.Rtf = string1 + \n + string2 + \n + string3 the output should look like this: string1 string2 string3 string string1 = "Line 1" ; string string2 = "Line 2" ; richTextBox1.Text = string1 + System. Environment .NewLine + string2; ...Show All
Visual Studio Team System Error HTTP 403 - Forbidden access when browsing to VSTFWeb
I need to get back to this issue because I didn't get any answer yet. We have installed successfully Team Foundation Server on a Win2K3 Server box that’s part of a Win2K Active Domain. The account used to install TFS has local administration privileges (not that it matters) and is also an existing domain account. We have a Single Server installation (both Data Tier and Application Tier) being hosted on the same machine. We weren’t able to connect VS2005 to the Team Foundation Server, so digging into this issue we got to the point where trying to browse to the VSTFWeb page on the TFS machine (while logged with the same account that was ...Show All
SQL Server SQLServer2005_SSMSEE.msi or SQLServer2005_SSMSEE_x64.msi ?
A little guidance please. I have installed SQL Express 2005 and Web Developer 2005, and would also like to install the SQL management tool, but which one should I install SQLServer2005_SSMSEE.msi or SQLServer2005_SSMSEE_x64.msi My system is a DELL P4 630 3.0, 512, I'm not sure if this is 32bit & 64bit system. Any help would be appreciated. Thanks Steve. Many thanks for your help. The echo replied back x86, now I know which install to download. I think it would be useful if microsoft posted your command line code onto the site this would enable other non techis like me. Thanks again Steve ...Show All
Visual C# Asynchronous iterators — take a look at idea in Language forum
Iterators and anonymous methods had no impact on industrial C# programming. They are cool, but add no real savings for now. But now I have the idea how to get real benefit of iterators. Why For asynchronous execution. Take a look of it at Language forum: https://forums.microsoft.com/MSDN/ShowPost.aspx PostID=180659&SiteID=1 Mihailik wrote: for( int i=0; i<threadSafeCollection.Count; i++ ) { DoSomething( threadSafeCollection ); } Here I means access of collection by index. But MSDN forum's engine inserted lamp instead square brackets. Read the code as: for( int i=0; i<threadSafeCollect ...Show All
Software Development for Windows Vista set resolution in DirectShow
IF(RIGHT PLACE TO POST) { DO CHECK POST } ELSE { iNFORM RIGHT PLACE } this is the code basically sets the resolution..i want to set it to 320x240 how to go about it.... public static bool ShowCapPinDialog( ICaptureGraphBuilder2 bld, IBaseFilter flt, IntPtr hwnd ) { int hr; object comObj = null; ISpecifyPropertyPages spec = null; DsCAUUID cauuid = new DsCAUUID(); try { Guid cat = PinCategory.Capture; Guid type = MediaType.Interleaved; Guid iid = typeof(IAMStreamConfig).GU ...Show All
Visual Studio 2008 (Pre-release) PowerPoint to XAML converter?
We are exploring creating an Avalon object in WPF to render existing Powerpoint slides. I saw a demo at the PDC where they achieved this. Does anyone know if this converter exists and is available If not, how would one go about taking apart a PowerPoint presentation and displaying it in Avalon The converter we used to render PowerPoint slides as WPF basically walked the PowerPoint object model and emitted compliant XAML. It had noticeable limitations as to the subset of PowerPoint objects it supported. The converter was done utilizing PowerPoint 11 and as such converted the PPT object model and PPT fil ...Show All
Visual Studio Team System BisSubscribe examples
Are there any examples for the eventtypes I can subscribe to in the BisSubscribe PowerToy Thanks! ~slee The dev team is pretty locked down this week trying to hit an important milestone tomorrow. I've forwarded this on to someone who I think will post something early next week. ...Show All
Windows Forms VS 2005 (Team Ed. for SD) C# disappearing of eventhandler delegates
Hi! It’s happened that some of the EventHandler delegates just disappeared from (auto generated) code. As a result the application is insensitive to some actions (button clicks, entering fields etc.). Does anybody know why EventHandler delegates can disappear Thanks in advance . AFT: I haven't heard of this issue. Can you provide the specific steps to reproduce this problem Michael Blome - Visual C# Documentation Team ...Show All
