TanLU's Q&A profile
Visual Studio Team System Branch\Delete Checkin causes fileName collisions
Hi, We are having a problem with TFS source control where a dev performed a branch, did not check the branch in, deleted the branch, and then checked in the pending changes. So we can see the problem here. A branch that was never comitted was deleted. I dont think TFS should allw this kind of operation but it did happen. So now the the dev has tried to recreate the branch. When doing so he is prompted to resolve the naming conflicts for all of the files that ha branched. He has 2 options. Undo local changes and something else. Neither option works and the branch can not be recreated because the conflicts can never be resolved. Is there anyway to make this work thanks. He can use tf undelet ...Show All
Windows Live Developer Forums custom pushpins in layer
I've seen some examples of GeoRSS layers that don't seem to use the default pushpin. How do you specify custom pushpins for points loaded from a GeoRSS doc There some limitations with GeoRSS layers. One is you have to set the same icon for all pins, the other is the map will be zoomed and panned to fit all the pins. Also if you have more then 200 pins the control is very slow. If this is what you want then it works well. Otherwise I suggest you look at using AJAX to get dynamic javacript. This offers complete flexibility but needs more work. Article at Channel 9: http://channel9.msdn.com/ShowPost.aspx PostID=182077 John. ...Show All
Windows Forms Change Tab Page Shape
Hi, I want my winform Tab control to have the top portion look like the ones in the VS.Net windows..that is have a differrent shape from the existing rectangle ..How do i do this..i want differrent back colors based on which tab is selected ...All i need is a differrent shape and color.. Thanks Jith I read an article on how we can have custom shapes to controls by setting the region of the control to the shape we desire..and i was hoping to do the same for the tab header..But unfortunately i could not see a property in the drawitem event argument which allows me to set the region...Anyway i can set the region of the header piece which shows the tab text But thanks a lot for all the replies guys.. ...Show All
Visual C++ Visual C++/CLI
Hi all.Is it fine if i use visual C# .net tutorials and resources for creating windows forms apps and incorparate the code into C++/CLI .net I mean, C++/CLI uses the .NET Framework also to create windows forms apps right So the only thing to change is the syntax(the "." to "::" or "->", variable declarations, conditional statements, classes etc etc) if i am correct here. Meaning whatever ever code in C# has been written e.g: to make a paint prog, i could just change the variable declarations,ways the functions are declared, and other things like that involving the language syntax, correct Help would be appreciated :D Thanks Re: eating my words - there is ...Show All
Software Development for Windows Vista Does WWF support split and join ?
Does WWF support split and join Splits and joins are basics of workflow ... In workflow designer i was able to create split and join but from implementation perspective it looks impossible. Let me know if anyone created split and join You dont need to have two parallel activities you can have one parallel activity with two or more branches, in your case three. Just right click on the parallel activity and choose add branch. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. World to screen conversion.
Hi. Something weird when trying to covert world to screen coordinates. Vector3 res = Vector3.Transform(worldPoint, Camera.View * Projection); I get the result vector with values greater than 1. Aren't the values post projection supposed to be clamped Both the view and projection matrices are valid (and are used to display on screen). Cheers googling for that will totally turn you away from 3D drawing. if you have a 4D, or homogeneous, point, you simply need to divide the first 3 coordinates by the 4th coordinate. Then you get the usual 3 coordinates. You're only interested in the first 2 coords, but after dividing they're in the [-1, 1] region, so you need to divide by 2 and add +0.5 to get them in the [0, 1] region. A ...Show All
SQL Server Report pages - reduce render time
Is there a way to minimize the number of pages obtained from a report. My report has more than 9000 pages. I want to minimize the number of pages as it would fasten the rendering of the report in excel,pdf formats. how would one do this is there any expression . your help is very much appreciated. I am tearing my hair to minimize the time taken to render a report.! help pls! Thanks, You say the report is 9000 pages, so what did you have in mind when you say "minimize the number of pages" -- it seems like you already know how big the report is. If you only need to see some of the 9000 pages at a time, or only certain people need to see certain pages, you should filter the data (preferably at the data source) with paramete ...Show All
Visual Studio Tools for Office Applying Formatting to Excel columns programatically
I am coding in VB.net (VS2003). The output of my program is an Excel spreadsheet. Everything works except some of the formatting. I have: ws.range("J").NumberFormat = "0%" and ws.range("K").NumberFormat = "_($* #,##0.00_);_($* (#,##0.00);_($* ""-"" _);_(@_)" where ws is dim'd as a worksheet The formatting syntax is copied from a VB6 program. However, I am coding in VB.net (VS2003) and it is giving me runtime errors: System.Runtime.InteropServices.COMException (0x800A03EC): Exception from HRESULT: 0x800A03EC. at Microsoft.VisualBasic.CompilerServices.LateBinding.LateGet(Object o, Type objType, String name, Object[] args, String[] paramnames, Boolean[] CopyB ...Show All
Visual Studio Team System link tfsredirect.aspx to queries?
hello, i want to use the project portal to link directly to a query. is this possible i just know the possibility to link to a report: _layouts/tfsredirect.aspx IsReport=1&ReportName=pweb_kremmel_tasks would be great if this is possible. is there somewhere a "how to" document for the tfsredirect.aspx i searched for a document but i didn`t find one. greets thomas No, I'm afraid there's not way to link to a query from the web. The only thing you can use right now is reports. This is something we are looking into for future releases. Other options include, posting a TFS bound Excel spreadsheet on your website or looking at third party solutions like TeamPlain from http://www.devbiz.com Brian ...Show All
Visual Studio Tools for Office Displaying an icon on a commandbarbutton object
I am trying to display an icon and text on a commandbarbutton object in a Word add-in. When I open Word, the text appears, but the icon does not. My code is as follows: Dim oCommandBars As CommandBars Dim oStandardBar As CommandBar On Error Resume Next 'Set up a custom button on the "Standard" command bar oCommandBars = applicationObject.CommandBars oStandardBar = oCommandBars.Item( "Standard" ) MyButton = oStandardBar.Controls.Item( "Document Wizard" ) If MyButton Is Nothing Then MyButton = oStandardBar.Controls.Add() With MyButton .Caption = "Document Wizard" .Style = MsoButtonStyle.msoButtonIconAndCaption .FaceId = 0 .Pictur ...Show All
SQL Server Can a Report Model have Reports included in it?
Hi All I have created reports in 'Projects'. What I would like to know is that if can transfer these reports into a report model As per my knowledge, a report model contains datasources, datasource views, report models itself and doesn't allow to transfer reports. Please , let me know if my understanding is correct Cheers Preps. hi, i am new in report model report. i have created one report model project, but i don't know how to make report from this report model project.............can u help me to make report from report model project or suggest any article on it..........thx in advance ...Show All
SQL Server SQL Server corruption
Hi all, when booting up my laptop get an error message; "your SQL Server installation is either corrupt or has been tampered with (could not open SQLEVN70.RRL). Please uninstall then re-run setup to correct this problem" I am very new to this, and do not understand how to deal with this error, can someone please help to explain what I have to do to solve this Hi Roger, I found a suggestion for this issue on the web. Feel free to check it out and see if it applies in your situation. I don't have any experience with this tool so please reply back to let us know if it was able to help. <snip> You can try using the windows installer cleanup utility. http://support.microsoft.com/defau ...Show All
.NET Development Help with Regex Pattern for Matching Files Ending with '.aspx' but not with 'Handler.aspx'
Hi. I'm trying to make a regex pattern that will match all file names ending with .aspx, excluding any that end with Handler.aspx. So given these inputs: Login.aspx Login.aspx.vb Logo.png Default.aspx Default.aspx.vb MyHandler.aspx MyHandler.aspx.vb Global.asax Global.asax.vb I only want to match these: Login.aspx Default.aspx I've been trying to workout whether I need to use negative lookaheads or something, but I'm not following how to use them. Am I on the right track, or not Any thoughts, anyone Thanks, Scott i'd use ^\w+( <!handler)\.aspx$ w/ IgnoreCase ON assuming that u r validating the filenames one-by-one on a separate line: {^.......$} ...Show All
Visual Studio Express Editions ok...it,s done
hi guys with a little help from one or two of you guys, I have finished my first program, I think. my personal web browser..... I have published and installed it on my pc..... and I like it. I tried to publish to my web site.....and it seems you need to have frontpage.....which I dont have. I use coffeecup ftp to upload my stuff.......... so I published to my pc and then uploaded the published program to my site....ok but it wont install from my site......WHAT CAN i DO........help....please thanks cheyenne The following is required to make a publish work from your site. If you dont setup the MIME types - then the installation wont work. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Changing sprite origin from top-left to center
In the XNA help I see the following: The origin is a specific point on the sprite—by default the top left of the sprite (0,0). How do I change the origin to the center of the sprite Is this something that is done in the DirectX Texture Tool Thanks in advance! Here's an example of using Vector2's in a Rectangle... don't know if you are supposed to use them like this as Vector2's don't really have the properties to deal with it... just shows though that things can be done, if you really need them to be partial class Game1 : Microsoft.Xna.Framework. Game { Vector2 myRectPos; Vector2 myRectSize; SpriteBatch mySprites; Texture2D myTexture; public Game1() { ...Show All
