deen's Q&A profile
Visual Studio Team System Use The TFS Object Model API To Set CreatedBy And Other Restricted Fields
Hi, I am trying to write a tool to migrate all of our current bug tracking system data across to TFS and am trying to find a way of setting the CreatedBy/CreatedDate fields via the API and also set the State/Reason fields without having to follow the transition rules. I have read in a previous thread that there is meant to be some sort of way of bypassing these restrictions (although the thread is now a year old and wasn't very clear on how it can be done). Could someone please shed some light on how/if this can be done via the object model or even some other way if necessary Also, I have also read that there is meant to be some XML format that can be used to import work items into TFS, if someone could elaborate on this it would be a lot ...Show All
Visual Basic Flash Controls Work Only Once In My WebBrowser
I've created a windows applications with a Flash file embedded into the WebBrowser. Stand-alone, the Flash file works fine but my application allows only one button click to invoke an action. After that, the buttons become useless. My click event>>> Private Sub ProjectDefinitionToolStripMenuItem_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ProjectDefinitionToolStripMenuItem.Click Me .Panel2.Controls.Clear() My .Forms.Animation.TopLevel = False My .Forms.Animation.Top = MenuStrip1.Height My .Forms.Animation.Visible = True Me .Panel2.Controls.Add(Animation) My .Forms.Animation.Visible = True End Sub How can I resolve this Thanks, Mike Rice ...Show All
SQL Server SSRS and Teradata
Is anyone out there using SSRS with a Teradata data source R I am using the .NET Teradata provider. I have the provider registered and it is working. I am just trying to work out the syntax when using parameters. R ...Show All
Visual Studio Team System Team Build extensions
Hello! I need a perform some custom operations if build solutions in my Team Build Type completed succesfully and all tests was succseeded. How can i do this What variables or build properties should I use in the choose conditions Thank you in advance, Olga Ouch - sorry about that. I was mistaken about this - the GoodBuild property was added to the BuildData class subsequent to RTM and is not available in Team Build v1. There is, in fact, no way to retrieve the GoodBuild flag from Team Build in v1... We will certainly address this issue in a future release. For now, however, there is a workaround for this particular problem (i.e. programmatically determining whether tests have passed for a par ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Trouble using Asteroid Models
I'm trying to use the asteroid model from the SpaceWar template, but when I try and render the model, it comes out being mostly transparent. I've copied all the content over from SpaceWar, but it still doesn't work. I used almost the exact same code on one of the spaceships, and it worked fine. Can someone tell me what I'm doing wrong Here's all of unfinished code for the asteroid... #region Using Statements using System; using System.Collections.Generic; using System.Text; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Audio; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; using Microsoft.Xna ...Show All
SQL Server SSIS Package XML Configuration
1) We are doing data migration from SQL Server 2000 OLTP design to SQL Server 2005 OLAP design. 2) We have used SSIS packages and data flow tasks in which we mentioned connection strings for source and target containers. 3) We have a master execute package which contains series of execute packages in relational order. 4) When we execute this master package, we should be able to dynamically specify different source and connection strings for all packages. 5) In master execute package, we generate an XML configuration file using SSIS -> Package Configurations... using Connection Managers -> Particular connection 6) Now, we change connection string to point to another database after adding this new OLE DB connection in Con ...Show All
Windows Forms Cannot restore from taskbar
I've recently taken over development of a previous programmer's project. I'm in the process of debugging and have most of the issues ironed out except for this pesky little bugger. The program is an SDI app. There is one panel located on the main form. If I minimize the program with no forms loaded onto the panel then the program will "restore to normal" from the taskbar. If a form is loaded onto the panel, the app will minimize to the task bar but will not restore by clicking on the tray icon. I have to right-click and select "restore" from the pop up menu. App is written in VB.NET 2003. Thanks!! I could try to debug the consequences of using an API function. But, what would ...Show All
Visual Studio Crystal Report Printing Extra Blank page
Hey Guys Yet another Crystal Reports Problem I got this application that creates and prints out Policies The problem is that on one users machine the Report Prints out 10 Pages with the extra Page being a blank page in the middle of no where.... it should normally print out 9 pages. There is only one version of Crystal Reports being used. They all using the same Report. I export the report to PDF automatically. so when it opens it has the 10 pages in there already. Dont know what it is. it seems that its only on this machine that is prints out 10 pages. Every other machine prints out 9. its a new machine so i only have what it needs installed. Please Help. Thanks for your reply. But that is not the p ...Show All
.NET Development MSMQ public queue
Hi, recently i was trying to create public queues on a workgroup machine but i realised that i cannot create public queues on a workgroup. Only on domain but i am still not sure about this. And can i create a public queue remotely on another computer Say Machine A creates a public queue on machine B Can i add triggers programmatically Thanks I have a follow up question to this. I understand that cannot create a public queue within a workgroup, but you can create a private queue and allow applications to access it, provided they provide the IP address or the name of the computer. In the MessageQueue constructor documentation there are some hints on how to do this; however I am running ...Show All
Smart Device Development Bluetooth device search
Hello! I have one problem: I wrote an application that recieves some information via Bluetooth. I use SerialPort profile to connect to the device. It worked at Qtek 8300 and O2 Atom. But when I bought my own PocketPC HP hx2490, I noticed that I can't change serial port numbers. And I want my program to work at all WinMobile-devices. How I can connect to the device form my application if I can't define what COM port is for Bluetooth I know the name and passkey of the device.... (or it is stored in the settings file). Please, help me. Thank you! I'm not quite sure what you asking... Do you have hard coded COM number in your application If so, change your code so COM can be configured by the user. Or, ...Show All
Visual C++ Problem with sample code from MSDN
Can you please explain to me why the program below doesn't work The program compiles fine, but I get "WINVER not defined. Defaulting to 0x0502 (Windows Server 2003)" during the compile. I am using MS Visual Studio Prof 2005. Thank you. #include "stdafx.h" #include <afxinet.h> int _tmain(int argc, _TCHAR* argv[]) { //assumes server, port, and URL names have been initialized CInternetSession session("My Session"); CHttpConnection* pServer = NULL; CHttpFile* pFile = NULL; DWORD dwRet; char szBuff[1024]; try { CString strServerName = "www.cnn.com"; INTERNET_PORT nPort = 80; pServer = session.GetHttpConnection(strServerName, nPort); pFile = pServer->OpenRequest(CHtt ...Show All
SQL Server How to specify datatypes for Excel columns?
So I have Excel Source in my dataflow - so I do a simple transform and try to save it to db and guess what - a freaking error message: Columns blahblah and BlahBlah cannot convert between unicode and non-unicode datatype. I cant figure this MS stuff out - why the heck is this data from excel unicode to begin with & I just dont feel it is right to always use the derived columns to convert datatypes when dealing with Excel data. Am I missing something again or is it another one of those MS gotchas -- Note - all profanity in this post is replaced with words like freaking, stuff, gotcha and so on by the author TheViewMaster wrote: I've overlooked "Data Conversion" transformation - still - it adds it as new columns. ...Show All
Visual C# Replace string using wildcard
Hi, This is probably easy but I haven't been able to find help on it. Basically, I want to replace/delete the contents of a string up to the occurence of a backslash. So, newString = aCertainValue.ToString().Replace("wildcard\",""); Any ideas Thanks. try this: string newString = oldString.SubString(0, oldString.IndexOf("\\")); //gets the string up until the first backslash oldString = oldString.Replace(newString, newStringHere ); does this help is this what you are after ...Show All
Visual Studio Express Editions SerialPort 101 for a beginner
Hello, I have spent a lot of time trying to use the serial port command in the toolbox but i was unsucessful. I looked at the samples posted online but i always get errrors. Can anyone explains what are the steps needed to have a sucessful communication (read and write) from and to a serialport.If you can post the code it would be great...Please help Thank you StoreReceived should store whatever string value captured from the StoreReceived = SerialPort1.ReadExisting. Also do i need to open/close the connection or it's done when i use the readExisting command. Please explain Thanks ...Show All
Visual Studio 2008 (Pre-release) Textblock animation in RC1
I have a textblock in a viewbox that I animate width and height to get a "zoom in" function. Using Tahoma 11 in June CTP it animated smoothly to the required size and looked nice. With RC1 it animates to required size then seems to "pop" as the text adjusts. It seems to adjust to a sharper font but the "pop" is annoying. Any ideas Thanks, John Its likely that the pop in the font sharpness is a result of perf optimization ... Someone from the animation side could confirm that... ...Show All
