IlkerTunca's Q&A profile
Visual Studio Team System Help with a query - all WI that have been built.
Hi! The problem: How can you tell which Work Items (for example a bug) have been integrated into a build As a tester you would like to create a query that gives you a list of all Work Items with these statements: Type = Bug State= Resolved Integrated in build: <not blank> I have not been able to create a query like this... any ideas I simply want a list of all Work Items that have a value in the "Integrated in build". So.... the query would be: Integrated into build != <blank> But that query does not work as expected. ...Show All
.NET Development problem with export data from datagrid to excel
hello I have a problem, I want to make button,when i click them all my data in datagrid will be exported to xls file I want it in vc# I have found this article http://www.codersource.net/published/view/283/exporting_data_grid_to_excel.aspx private void button1_Click(object sender, EventArgs e) { Response.Clear(); Response.AddHeader("content-disposition", "attachment;filename=FileName.xls"); Response.Charset = ""; Response.Cache.SetCacheability(HttpCacheability.NoCache); Response.ContentType = "application/vnd.xls"; System.IO.StringWriter stringWrite = new System.IO.StringWriter(); System.Web.UI.HtmlTextWriter htmlWrite = new HtmlTextWriter(stringWrite); ...Show All
SQL Server Default Backup Location
Hi I am almost ashamed to ask but I cannot find the setting Is there a way to set the default backup location in sql 2005 I dont want to change the folder every time I specify a new media. Thanks Alex Hi Alex, I don't think you can do it with the SSMS. Here's a registry key you can modify, however: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL.1\MSSQLServer\BackupDirectory Regards, Jake Marx ...Show All
Software Development for Windows Vista Video "pixelisation" using Video Mixing Renderer 9
Hi, I'm working on a mpeg2 ts file video player relying on existing directshow decoder filters. This works great under XP SP2 with for example NVidia puredecoder, or any other mpeg2 decoders. Running my application under Vista RC2 Ultimate Edition, the video is pixelized as if the video was zoomed in. If I play the same file with Windows Media Player, video is perfect. This test has been done with default Microsoft MPEG2 decoder filter, and it seems to be the same with any other decoders. Does this have something to do with the Video Mixer Renderer 9 Did I miss something with it under Vista I also made a quick test with Video Mixer Renderer 7, unfortunately, it is the same result. If anyone can point me on the right way to ...Show All
Visual Studio Tools for Office How to deploy XML Schemas for word 2007?
Anyone knows how to deploy XML Schemas on user's desktop I tried using API (Application.XMLNamespaces.add()), but when I select that schema in word its not picking up (Throws error somthing like "invalid schema or need more schemas"). Although, the same schema works fine if manually added. Have you tried recording a macro in the Word application when manually adding a schema That should give you the basic syntax. Basically, you should be able to put the schema anywhere. When you add it to the Schema Library Word will usually copy it to the user's (or users') invidual user profile. ...Show All
Visual Studio 2008 (Pre-release) Best Way To Animate Image Sequence
What is the best way to animate a sequence of PNGs so that it plays consistently smooth Currently I am preloading the images into a BitmapImage array during app startup and I am also both applying caching and setting scale quality to low: //inside a loop bitmap = new BitmapImage(); bitmap.BeginInit(); bitmap.UriSource = new Uri(@"pack://application:,,/Images/img" + i + ".png"); bitmap.CacheOption = BitmapCacheOption.OnLoad; bitmap.EndInit(); BitmapImageArray[ i ] = bitmap; RenderOptions.SetBitmapScalingMode(BitmapImageArray[ i ], BitmapScalingMode.LowQuality); I set the Source proprty of an Image object to the desired BitmapImage within a CompositionTarget.Rendering callback. On Vista RTM the animation doesn't ...Show All
Windows Live Developer Forums Options for sending (Windows Live) Alerts
Hi, I’d like to know the options for sending (Windows Live) Alerts. A quick look around I’ve found: http://signup.alerts.live.com/brochure/index.jsp - This looks like the most current approach, but it doesn’t fit well our model. MSN Alerts SDK and Integration Specification ( http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnlive/html/winliveidserv.asp ) looks promising, but it seems to be phasing out since the test links don’t work, only the production ones. At last, there is the Microsoft Alerts Version 6.0 Software Development Kit ( http://www.microsoft.com/downloads/details.aspx FamilyID=6257ad22-8d67-4cf0-b2d2-08e0cfe6c8ce&DisplayLang=en ). Per the documentation, this loo ...Show All
Visual C# Rotating Two Dimensional Arrays
I am using two dimensional arrays to create Tetris style blocks that need to be rotated. I've thought of a number of things, but nothing has worked. I am now asking for help. Since rotation of two dimensional arrays sounds odd, I'll try to make some ASCII text for visualization. Each number represents an element in the array. I'll give two examples. Before rotation: After rotation: 0 1 2 6 3 0 3 4 5 7 4 1 6 7 8 8 5 2 Before rotation: After rotation: 0 1 2 3 0 3 4 5 4 1 5 2 Can someone please explain to me how to get from the before to the after After reviewing my notes from before my post I'm come to the c ...Show All
Visual Studio 2008 (Pre-release) Providing alternate styles for a control
involved_Mike_Brown wrote (at http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=490249&SiteID=1 ): "What you want to do is create two named styles within your control's generic.xaml. After your control is initialized, set its template to one of the styles. If you want to change the style, load it from the resource dictionary and set the control's template to the new style." Hi Mike, Could you explain this step a little more fully Practically all of the examples I have seen relate to themes rather than skins. The only skin example I have seen is the format outlined in the Programming Windows Presentation Foundation book, but it seems like having default visuals and multiple skins for a custom control ...Show All
Windows Forms Using a Form app's classes in another app
I have a Forms app and want to use some of the classes from it in another app. I created a Solution file with both apps as projects, added the source for the shared classes to both projects, and compiled both. The original app runs, but the new app throws a "Cannot find the assembly MyOriginalProjectName " exception. Wassup The source files should be stand-alone, without any dependency on either app. The original app is a .exe and the Add References dialog only accepts .dll files. How do I use the same source in two different apps When you add a reference, there are 5 tabs at the top, with .NET selected. Select Projects, and try adding the reference to the other project. -Scott ...Show All
Software Development for Windows Vista some problem with sideshow?????
When I set sideshow on my system it becomes slow. can anyabody give me an advice If this is a problem with Windows SideShow, can you please provide more information on what you're doing Otherwise, you may find better help in a different forum. Dan ...Show All
Windows Live Developer Forums Saving maps
Hi, Is there a way to save a map (along with pushpins) as a pdf or a image file My client really will like if we could save a map as an image or a pdf file so it can be emailed to other users. Thanks, Sanjeev Other way is to use HTTPWatch kind of application which will capture all the request being posted by browser. Start this tool. Add a filter to it so that it only shows gif and jpeg files (Though the map files are only gif files). Now go to the page. See the request related to the map in HTTPWatch. There will be around 6+ image files depending on the size of the map. Hit those urls again. (Note - these urls are short lived). And then save the image as a local image. enjoy ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Starting 3D from 2D
I come from a 2D background and figure that XNA is a perfect chance to start making some 3D programs, one problem: the math and terms involved are becoming too much for me. I'm looking for a resource to simplifiy the 3D process, I went through the nice video tutorials and got my ships moving and rotating; even got them rotating/moving on all three axis (axi ), albeit with some weird behavior. Terrain terrorifies me, I have no idea on any of it. I'm looking more so for explanation rather then code, I followed reimer's tutorials but I found them incredibly confusing; they seem more angled towards someone to play with the code rather then learn from the explanations. Anyway, please if you have any resources share'em with me because I'm con ...Show All
Visual Studio Team System Interdev - TFS integration
We have migrated ASP project from VSS to TFS. We are unable to bind the source code to TFS from visual interdev IDE even after installing the MSSCCI interface. We were unable to connect to the webdev server to get the source code Can anybody suggest a solution for this. Alternatively we tried opening the asp application from visual studio 2003 IDE. Hi Michal Malecki Thanks for the reply. The problem what we are facing is, after the migration from VSS to TFS i created a new web project in VS2003 and added the ASP files to the web proejct and bind the solution to TFS. After I do that, the history for the files will be lost and it would be considerd as a newly added files. I agree that should be ...Show All
SQL Server Proclarity
I log into a terminal services machine using domain\userid. When I try to connect to Proclarity it prompts me to log in again. I re-enter domain\userid and Proclarity connects to the AS cubes. Is there an authentication problem with terminal services and the Proclarity client It think it can also depend if you have proclarity and AS on two machines, I'm required to logon to both proclarity and the AS cubes when using the professional product, although this is the web prefessional product. ...Show All
