Olyx's Q&A profile
Visual Studio Team System List of Workspaces for a given Team Project
Hi, How to get list of all workspaces for a given Team Project irrespective of User Name Please provide some pointers. It is possible to view or search list of workspaces using Workspace Sidekick . Regards, Eugene ...Show All
Visual Studio Team System Access "Start Date" and "Finish Date" via TFS API
Hi, I'm integrating access to TFS in one of our internal development tools. So far I have successfully connected to the TFS, retrieved a WorkItem etc. I was also able to modify the "Completed Work" field programmatically. How could I access "Start Date" and "Finish Date" Those fields seem not to be part of the Fields collection. I haven't found any samples. Any help would be appreciated. Regards Uwe Thanks for your reply, but the problem lies in another area: I have found out that it is no problem to access (and modify) those fields. But those fields are initially not present in the fields collection. They are added somehow by Excel or Project when first ...Show All
.NET Development 2006
Could you please suggest a good book/resource which help me to master web services. Vin Dear Vin, If you're a beginner, "Microsoft .NET XML Web Services Step by Step" is a good choice. A little bit more advanced could be: "Programming .NET Web Services" and "XML Web Services in the Organization" Rgds, Rodrigo ...Show All
Windows Live Developer Forums push pins and background
Hi, with the help of this forum I have managed to get pins to display on the map > Change the background when clicked to indicate it has been selected - then when clicked again the backgound is removed to inicate is is not selected. Now I want to load the page with all the pins initially selected So i do :- AddClickablePin(1,-0.459610397815704,51.6549480199814,"./bcirclesm.png","Name 1","A3"); then I set the background using :- document.getElementById(1).style.backgroundColor="yellow"; When dipalyed they all have the right background. The thing is that when i now click on them the backgorund does not change even though the test for colour seems to work. Has anyone el ...Show All
Visual Studio Team System Copy FxCop rules from one project to all project in solution
We're using Team Suite (but not the Team Server) and would like to apply the same set of Code Analysis rules to all projects. If I update rules (enable or disable individual rules) for one project, is there a way (a script ) to apply changes to all project files Thanks! There is no built in way, however, Daniel Fisher has posted a macro that allowed this. For more information, see the following blog post: http://blogs.msdn.com/fxcop/archive/2006/08/11/tip-how-to-quickly-enable-code-analysis-on-multiple-projects-david-kean.aspx . ...Show All
.NET Development Exporting DataGrid to Excel
I have a windows form containing a datagrid. There are some buttons which i use to query a database and the results are loaded into the datagrid. I want to export the contents of this datagrid to an excel file. How can i do that in code Thanks. Hi: Everything works ok, but... What if i want to overwrite the excel archive How can i avoid the question of ( Do you want to replace it ) Thanks ...Show All
Visual Studio Tools for Office Efficient line walking
Hi, I need to implement efficient "line-walking" within word. Walking efficiently by paragraphs took a while to get right, but I was able to: after a few trials, I found out that the best way was to use Range.Next() with args (wdParagraph, 1), and use the returned range. Using the story range's paragraphs was really slow, where it seems every direct item access involved completely walking the range for every call. But Range.Next(wdParagraph) fixed. it. But no, for actual "visual" lines, this doesn't work. I'm using Range.Goto(wdGoToLine, wdGotoRelative, 1), but it's still very slow. Range.Next() ain't usable for lines. Any suggestions for a fast way to walk all lines in a document BTW, the goal is the underlying layer ...Show All
SQL Server Wrong totals in named sets
Hi In BI Development Studio I create a name set with this sintax: [CATALOGO].[CATALOGONIVEL3].[Tiempo Mantencion] [CATALOGO].[CATALOGONIVEL3] has another two members instead of [Tiempo Mantencion] After that I create a calculated member with this SUM ([SET Tiempo Mantencion] , [Measures].[HORAS JUSTIFICADAS]) It works fine in almost all cells in the cube, but when I ask for the others two members of [CATALOGO].[CATALOGONIVEL3] it does NOT returns NULL it returns the same total of [CATALOGO].[CATALOGONIVEL3].[Tiempo Mantencion]. When I open one this members (it exists a sub level named [CATALOGO].[CATALOGONIVEL4]) the cube show a null cell in the subitems (thats right) and the [CATALOGO].[CATALOGONIVEL3].[Tiempo Mante ...Show All
Windows Forms How to enable Ctrl+C, Ctrl+V, Ctrl+X in a text box?
Hi, I've already set the ShortcutsEnabled property to true but still cannot use keyboard shortcuts to do "copy", "cut", "paste" ,"select all", "undo" , "redo", etc. Did I miss anything Thanks in advance ps. i'm using VC# I think what he means is, when he focuses the text box and presses Ctrl+C on the keyboard, nothing happens. Nothing is copied to the clipboard. Im facing this problem myself now - Copy, Cut and Paste all work, but pressing Ctrl+A to seelct all does NOT, yet if i right click, i can choose SelectAll from the textbox's context menu In a VB.net program i'm writing, usiong Ctrl+C to copy, Ctrl+X to cut and Ctrl+V to paste dont work at all in th ...Show All
SQL Server SSIS Data Flow task fails to load all text from flat file
Hi Guys, I have a flat file which is loaded into the database on a daily basis. The file contains rows of strings which I load into a table, specifically to a column of length 8000. The string has a length of 690, but the format is like 'xxxxxx xx xx..' and so on, where 'xxxx' represents data. So there are spaces, etc present in the middle. Previously I used SQL 2000 DTS to load the files in, and it was just a Column Transformation with the Col001 from the text file loading straight to my table column. After the load, if I select len(col) it gives me 750 for all rows. Once I started to migrate this to SSIS, I allocated the Control Flow Task and specified the flat file source and the oledb destination, and gave the output column ...Show All
Visual Basic Copying Text from a webpage into a label
So what I need is to copy a number on a web page to a string variable inside my program. This variable will be displayed in a label. How do I copy the number from the internet ...Show All
Internet Explorer Development IE7 - File Not Found ieframe.dll\1
Hello, After upgrading to IE7, all of my programs with the "Microsoft Internet Controls" (i.e. Webbrowser) are breaking when I load them in code (compiled still works though). I get the following error: "File Not found 'C:\Windows\system32\ieframe.dll\1' However, if i look in my references, all I can find that is there is the reference to shdocvw.dll, no ieframe dll. If I open a new project and add the controls, then I get the same error. To me there is something broken between the two. The strange thing is, it worked fine yesterday. I don't have my computer set to do automatic updates and I didn't do any updates last night. Anyone else having this issue Regards, Ryan One ...Show All
SQL Server suggestions
I want to transform textfiles to sql server set based and not row based.what would be the best way to transfer. let me know. Actually i am new to this topic Ok i am trying to transfer data from text files to sql server. in the process in control flow i have execute sql task where i give connection.and then in the dataflow i transfer data what i feel is giving conection direcly is it safe. and in my data flow too i dont use any variables like global variable used earlier in sql 2000 Earlier in sql 2000 there were ways like we set a config file,global variable while passing data etc how can security be implemented any suggestion please let me know. I appreciate your help ...Show All
Windows Forms Using Animated Gif image in C++/CLI
Hi, I'm trying to use an animated gif image in a form within C++/CLI. I looked at picturebox control but the image stay still, no animation. I browsed the NET to find any clue to my problem and got a few articles stating the fact that I have to make somekind of class that would rather display one at a time each frame found in my GIF. Any clue or easier way, any example on how to do it Thanks in advance, Stephane Hi again, Just a little note. On another thread, someone made me realize that I was using the wrong property to specify image filename. Instead of using "BackGroundImage" property, I realized I should rather use "Image" property and then ajust size to pictureb ...Show All
Visual C++ MemoryStream & regasm.exe
I used regasm.exe on an assembly to use it by my legacy code. The .net assmebly contains a method that has an argument like this: MyMethod(MemoryStream^ %memStream, ...) The method now has an argument of type struct _MemoryStream * * memStream how can I convert my C++ types to this type !! I have an unsigned char* buffer which should be passed to this method!:( I think my problem is that I don't know what this struct _MemoryStream is!!! Any help is appreciated. Thanks a lot. You'd probably want to design your .NET assembly so that all its methods use simple types that have an equivalent C++ type. The MemoryStream argument doesn't pass that requirement, your legacy code wouldn' ...Show All
