Duncan McC's Q&A profile
Visual Studio Team System Viewing a list of WorkItems from a Project Portal Site
Hi, I know this question might sound somehow strange, but we have a case in which we need to access a work items list for a specific project particularly bugs from a project portal. I know that you can access a specific work item through its id from the browser through the url format: http:// <TFS Server Name> :8080/WorkItemTracking/WorkItem.aspx artifactMoniker= <WorkItem ID > I know also that you can access the project portal through the URL format:: http:// <TFS Server Name> :8080/sites/ <Project Name> /default.aspx The problem is that there is no way to access a list of work items (i.e. Work Item Query) for a particular project from the project portal site !!! Please advise. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Help, tutorials not working
Hello i will appoligise in advanced. Beacuse i am such a noob. I have been pulling my hair out trying to follow the tutorials listed in the 'help' 'contents' 'graphics' '2d graphics' i have been trying for a long time since i downloaded the beta on the 31st to get the basic sprite and animate sprite working but its not i have no idea why, i have beedn following it to the t, and even in doubt i will just cpoy paste code still won't work. please can some body show me how to create a sprite, animate it and use the keyboard to make it walk around source code and a "walkthrew" would be awesome i would need to the walk threw obviously since i don't get it due to the fact i even mess up tutorials. my main goal is to make a ...Show All
SQL Server percent computation
Hi, First of all I would like to mention that I am new to SSAS 2K5 and MDX and this may be a classical problem. I have a classical sales cube with DimProduct, DimCompany, DimDate and FactSales. I would like to create a New Measure where the percent of the sales is calculated like Percent = (Sales Price - Purchase Price) / (Sales Price) * 100. What is the best approach to display the Percent at any level of the hierarchy for the Product (Category, Subcategory) and Company geographical location in the cube browser What Aggregate Function should I use Thanks in advance, GiMi. Assuming all of your measure use the aggregate function sum the calculation above would work for any slice of the cu ...Show All
SQL Server Can't connect to Express Edition
I have a huge connectivity issue that I can't seem to solve. We're using SQL Express Edition as a local data store that is participating as a subscriber to SQL Server Enterprise Edition. Perfectly valid and supported. Now the issue. I have the Express Edition on one machine connected just fine, but the other one absolutely refuses. Here is what I did for the one that connected correctly: 1. Enable remote connections for the Express Edition instance and restart the instance 2. Added the SQL Agent service account on the server to the SQLServer2005MSSQLUser$machine$SQLEXPRESS group on the local machine (yes, I want it to have that level of authority) 3. Connected to the machine with Express Edition to the network via VPN. 4. ...Show All
Windows Forms detecting mouse clicks
I am trying to create a program that records your mouse movement and where you click (including the type of click - left or right button), I have managed to record and successfully playback the mouse movement and create virtual clicks, but how would I detect the mouse clicks Please could somebody post the code needed to detect a left mouse button click. Also the mouse clicks will not be occuring inside the form itself, I will be running another program. Thanks You can try MouseLeave event when leave the form, in the form use MouseMove. and use the mouseDown to catch the click event (catch the right click by if e.Button == System.Windows.Forms.MouseButtons.Right) Thank you ...Show All
Visual Studio LocalReport Export graph in Pdf
I use LocalReport for generate export in Excel et pdf with Framework V2.0.50727. When RDL contain graph ( bar or pie) the size of file ( render) in pdf is 16Mo. In excel is OK ( 41ko) or with no graph in pdf (89 ko) Parameter DeviceInfo is a empty string. any idea We're looking at using local reports exported to PDF as a replacement for Crystal Reports (ReportServer is NOT an option, not even the Express version!!), which have to be emailed. Obviously we cannot use this if the PDF is uncompressed. The fact that is is working in the Express Edition implies that it should be relatively easy to incorporate compression in a service pack, rather than waiting for the next release of SSRS. ...Show All
Visual Studio September CTP: pubstructure.gif background not transparent
In the September CTP, the pubstructure.gif image doesn't have a transparent background. This applies to both the VS2005 and Prototype icons. — Eric — hi, The SandcastleGUI application replaces the image with a transparent one. http://www.inchl.nl/SandcastleGUI Stephan ...Show All
.NET Development Service receiving parameters
Hi, i'm new in .net and most in C#. Have a Service, a windows services, developed but i need to upgrade it. The service must write a dinamic xml. Why dinamic , well because the service will read a configuration file from a external system like a cfg file or txt file or ini file. Anyone did something like this Exist something like standard process to do this Any info will help me thanks in adv Federico Botto Federico, When you say "write dynamic xml".... does it means returning a different xml format depending on the config file you read In that case.. your webmethod should return a System.Xml.XmlDocument instance and inside the webmethod you create this document based on t ...Show All
Visual Studio 2008 (Pre-release) ActiveDirectoryOperationException: Current security context is not associated with an Active Directory domain or forest
Hi, I have a very simple WCF service (hosted in a Windows Service) with the following bindings: < bindings > < netTcpBinding > < binding maxReceivedMessageSize = " 1000000 " transactionFlow = " true " maxConnections = " 10000 " name = " TransactedNetTcpAndMaxMsgSize " > < readerQuotas maxArrayLength = " 1000000 " /> </ binding > </ netTcpBinding > < wsHttpBinding > < binding maxReceivedMessageSize = " 1000000 " transactionFlow = " true " name = " TransactedwsHttpAndMaxMsgSize " /> </ wsHttpBinding > </ bindings > < behaviors > < serviceBeh ...Show All
Visual Studio Express Editions Unresolved token? Unresolved external symbol?
I am trying to build a simple application that creates a Shell Link. It compiles just fine (I can port source code if need be), but it will not link. The linker complains: wc3270wiz.obj : error LNK2020: unresolved token (0A00001F) IID_IPersistFile wc3270wiz.obj : error LNK2020: unresolved token (0A000023) IID_IShellLinkDataList wc3270wiz.obj : error LNK2020: unresolved token (0A000026) CLSID_ShellLink wc3270wiz.obj : error LNK2020: unresolved token (0A000027) IID_IShellLinkW wc3270wiz.obj : error LNK2001: unresolved external symbol IID_IPersistFile wc3270wiz.obj : error LNK2001: unresolved external symbol IID_IShellLinkDataList wc3270wiz.obj : error LNK2001: unresolved external symbol IID_IShellLinkW wc3270wiz.obj : error LNK2001: unr ...Show All
Visual Studio Team System Any TFS SP1 Success Stories?
I've only been reading all the bad install stories. Has anyone had success installing it Also, I can't find a list of new features in TFS SP1. I've only been able to find the list of bug fixes in VS SP1. Most of the glitches have been posted at this forum by now. For me at least it works great. All i had to do was temporarily delete a couple of licenced users which could be added back after install. ...Show All
Windows Forms Focus in a WinForm on a TouchScreen
Hi, This question is for a POS aplicattion running on TouchScreens. I want that when the user clicks on the Icon of the application the windowlogin (winform) always get the focus, so the user just have to write the user ant the password without use the mouse for to focus the window. The focus sometimes is lost because the user can click on the desktop before the WindowLogin is shown. I use this event : private void WindowLogin_Shown(object sender, EventArgs e) { this.Activate(); } And is OK in all machines but no for TouchScreens. In TouchScreens the WindowLogin shrink three times and lost the focus. Any Idea. Thanks. ...Show All
SQL Server How to pass values in Q Analyzer
I am using the Query analyzer and i have this stored procedure and i need to pass the ProductID and the OrderID and in query analyzer i call the " EXEC CustOrdersDetail 75 10347 " but i get a syntax error near 10374...so my question is how do i pass multiple paramters in the query anlyzer to see what the stored procedure will return.... SET QUOTED_IDENTIFIER ON GO SET ANSI_NULLS ON GO ALTER PROCEDURE CustOrdersDetail @OrderID int AS SELECT ProductName, UnitPrice=ROUND(Od.UnitPrice, 2), Quantity, Discount=CONVERT(int, Discount * 100), ExtendedPrice=ROUND(CONVERT(money, Quantity * (1 - Discount) * Od.UnitPrice), 2) FROM Products P, [Order Details] Od WHERE Od.ProductID = P.ProductID and Od.OrderID = @OrderID GO ...Show All
Visual Studio Express Editions Easy DataTable question
I have created a DataTable at run time with the following code. I now want to add another column and add data to it. If I follow the proceedure I used to populate the first column I only add rows to the end of the existing rows and add data in column 2. How do I add data to column 2 without adding rows (found in second if statement) Note: The print statements are being used to print data to a text file at the same time as populating the DataGridView. Thanks. Dim tempHolder If param1Select = 1 Then 'Code to add new data column column = New DataColumn column.DataType = Type.GetType( "System.String" ) column.ColumnName = "param1" table.Columns.Add(column) 'Prints array 'A ...Show All
Visual C++ Microsoft Visual C++ Runtime Library error question
I am new to this as of today. I am posting my concern because I nomally work on mac's. I have design software on windows xp and all of the sudden Dreamweaver wont work. I get this " Microsoft Visual C++ Runtime Library error ". I don't understand why! I have seen this error message all over the internet but I can't find a fix for dreamweaver. If you could help me I would really apprieciate it, thanks, Julie aka design girl I am having the same problem. If you find the cure let me know. I have uninstalled, defraged, reinstalled. I downloaded the XP Repair Pro software free trial and wouldnt you know after it found all sorts of errors on a long long long wait for the results it wante ...Show All
