Đonny's Q&A profile
Visual Studio Team System How do you suppress work item creation on build failure?
My client doesn't want to have new work items created when a build fails. I have looked all over the web and can't find a place in the project build file to tell it to suppress creation of work items. You can do this by setting the <SkipWorkitemCreation> property in Microsoft.TeamFoundation.Build.targets file to 'True'. By default this flag is set to 'False'. See http://blogs.msdn.com/nagarajp/archive/2005/10/27/485980.aspx for list of overridable properties ...Show All
Smart Device Development CCommandBar: yet another problem
Hello, I developed MFC dialog-based application with eVC 4.0. Now I'm trying to make it work on MSVS 2005 beta 2. I replaced CCeCommandBar with CCommandBar, but its functionality not the same. Really, I can't understand why should Microsoft replace working class with another one, which has more bugs :) The problem is that after inserting menu bar (InsertMenuBar) previously loaded toolbar gets invisible. If I change the order of these functions' calls (first, InsertMenuBar, then - Loadtoolbar) everything works well. But I need my toolbar to be on the left... so help me please :-) Please check my blog link at the following location. I havedescribed about 4 possible options here http:// ...Show All
Visual Basic Error whilst using Visual Basic 6 to read from an Access 97 database.
Hy, I am new to VB6 and am hoping that someone may be able to help me with the following problem i am experiencing. I have a form where a user can log in using their number (RUNUS.text) and password (RUPasswd.text). The form is linked to an Access 97 database which holds a number of columns including those called nus and password. The program should check that the user exists on the database before allowing entry to any further forms. In summary then i am just trying to read from the db. The problem is when running the application i am receiving an error message stating: "Compile Error: Argument not optional", and the word ".FindFirst" is highlighted as the problem. Can anyone advise where i am g ...Show All
Windows Forms Combobox databind
Hi I'm new to using C# databing. So i'm not sure of it's limitations. First i would like to show the piece of code i use and please let me know if it is the most efficient way String Sql = "select GLAccountName from DHACT where AccountOrder=1 order by AccountType,AccountOrder" ; SqlDataAdapter da = new SqlDataAdapter (Sql, conn.ConnectionString); DataTable dt = new DataTable (); da.Fill(dt); cmbAddActType.DataSource = dt; cmbAddActType.DisplayMember = "GLAccountName" ; so is the above the best way Then what i would like to know. Is it possible to bind a combobox dependent on another combo box selection Example, if combo X selection changes then combo Y selection changes, data will ...Show All
Visual Studio Express Editions count of files in a directory
OK - I have the path of a directory save to a string variable. I want to go to the directory and count the number of files located in that directory. I do not know how to get started. Please help. thank you Give me some idea of your level with C#. These are very basic questions. If this is not course work for a class you are taking, you need to get some kind of training. At the very least, get one of the beginning books that is available and read the beginning chapters and work their exercises. To answer your direct question, each array has a Length property that tells you how many elements it has. So returnFiles.Length is the count. ...Show All
SQL Server Help Needed in writing a function to help daily nightmare with Debugging.
I debug SPS on a daily basis and I use SQL profiler to help me trace where the problem is. Once I have established which SP is the main problem I need to debug the line of code. What I do is Cut and Paste the SQL Profiler details and populate all the parameters,sometimes that can be 30 and more.. Now what i thought is to write an SP or Function where I pass : SP name and Parameters that profiler genererates and returns me Declare Statements and Set Statements with parameters filled. EG Profiler Returns Customer_INSERT,20,'JO',BLOGG','5 LONDON ROAD' I would call my new SP =PopulateSPParams and cut and paste the profiler's string PopulateSPParams 'Customer_Insert,20,'JO',BLOGG','5 LONDON ROAD' this will RETURN THE FOLLOW ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Model animation
Hi, I'm working with XNA gamestudio for a while now, it's really great but there's no support for model animations I already searched the entire internet for some good tutorial or example but there isn't any. I just can't believe model animation isn't supported by standard Because...what is a game without animated models Also if anyone has some information about loading bones it would be welcome. I really hope that there's someone out here who can help me with this. I really enjoy using XNA gamestudio and I wan't to start writing games! Thanks for any help, jeroen there's a codeplex project here: http://www.codeplex.com/animationcomponents ...Show All
SQL Server Non significant '0' removed from alphanumeric code
Hi all, I have a problem with alphanumeric codes in SSIS. I have a sql table with a varchar column which contains codes like '080101000', in my SSIS dataflow I have a lookup against this table and the column whith the code is used as output column for my lookup transformation. In the advance editor the output column datatype is DT_WSTR, but when the code contains only numbers like the code '080101000' the first '0' is removed! It's like the code is at some point transformed to numeric and then inserted in the output column as a string. This in nonsense!! Does anyone have an idea how to avoid this Hi, No it's not resolved. Yes I tried using Data Viewers, the column where the 0 is removed is ...Show All
SQL Server Dropdown won't show values if only one item is available
I have a report that has 2 dropdowns, selecting from the first dropdown populates the second one. This works fine in the BI Studio. When I deploy this report to the 'Report Manager' and make a selection from the first dropdown, the second dropdown loads (as expected). I tried to select from the second dropdown (which has only 1 item - which is correct), the dropdown does not appear correctly - as in, I can't see that item. Since we can't attach anything here, below is the link to a screenshot of my issue: http://docs.google.com/View docid=ddd6j2xn_52c5qd5 If you look closely at the screenshot from the link above, you'll see that there is a value in the second dropdown - it just won't show completely - as if the dropdown is not re ...Show All
Software Development for Windows Vista Windows SDK Installation Issue
Hi,I'm getting following error message while installing Windows SDK. SDKSetup encountered an error: Failed to download the file http://download.microsoft.com/download/3/B/C/3BC8831B-75D4-43F0-BAC5-4574DBEBC332\SDKSetup.xml. Error - The remote server returned an error: (407) Proxy Authentication Required. 1. I'm able to browse this xml file 2. My proxy setting are fine. Could you please help me out RgsVasu If you're reproing the error with other machines on your corporate network, it seems that it almost certainly is a proxy configuration issue that is causing your failures. Do you have any problems with other downloads ...Show All
Visual Studio installation stays at setup when trying to install microsoft c# ?
i downloaded the free c# complier from the official website and when i click to install it gets stuck at the setup...the box says "this will take several minutes" but after 1 night it's sitll at the same position. How do i remedy it Restart and try again Make sure you have enough disk space, etc. The installer for VS 2003 seemed to take unusually long for me...somewhere around 1.5 hours. Sorry I can't be of more help. ...Show All
Visual Studio File versions related to a label
I am trying to get the numeric version number (number of times the file has been modified) of the files associated with a particular label. A requirement of our project is to know the numeric version number of all source files in a particular "Version". We used to use CMS on a VAX Station and the output looked like this Files in version "1.3": file1.c (3) , file2.c (12), file3.c (1) This information is what we still need. The numbers in the parethesis are the numeric count for the number of times the file has been modified. I can see the data (would have to parse the text file output and pull out what I need) on each file under the history option using the FROM and TO fields, but I have > 900 source files, ...Show All
Visual Studio Express Editions Math
Hi, I am making a homework helper for my friend, and I am making a Area tab for part of it. When calculating a trapazoid, I have 3 textbox's (input1, input2...). 1 is base 1, 2 is base 2, 3 is height. My code looks like this: If ashape.SelectedItem = "Trapazoid" Then Answer.Text = (input1.Text + input2.Text) * input3.Text / 2 End If I try b1 as 10, b2 as 20, and h as 10 and I get 5100 when it should be 150! Please help! ItsMe!!! I did Its very simply that you are not specifically doing arithmetic as you are using text and hence the + operator is overloaded to do concatenation . ...Show All
SQL Server problem with calculated member
i have the following tables: a membership fact table: id (PK), date (datetime), clubFK, level (integer), fee(money) a time dimension table populated by the server: date(PK), month, year etc, a club dimension table: id(PK), etc. there are three dimensions based on these tables. the default measure group is called 'Basic' and contains [Price] which corresponds to the fee column. i created a calculated member [Median Price] to calculate the median fee for a particular club at particular level: median ( exists ([Membership].[Id].[All]. children , [Time].[Time]. currentmember . children*[Membership].[Level].currentmember*[Club].[Id].currentmember , 'Basic' ), [Measures].[Price]) the MDX query i use is som ...Show All
Visual C++ error C2065: 'PCACTCTXW' : undeclared identifier
I did convert an application from vs6 to vs8 and then i got this error (seems a little like the DWORD_PTR thing...) Where could be the problem ------ Build started: Project: HydrotelKernel, Configuration: Debug Win32 ------ Compiling... [ ... ] // i'm skipping this part of the building... way too long AdoDatabase.cpp WINVER not defined. Defaulting to 0x0502 (Windows Server 2003) AdoRecordset.cpp d:\program files\microsoft visual studio 8\vc\atlmfc\include\afxcomctl32.h(32) : error C2065: 'PCACTCTXW' : undeclared identifier d:\program files\microsoft visual studio 8\vc\atlmfc\include\afxcomctl32.h(32) : error C2146: syntax error : missing ')' before identifier 'pActCtx' d:\program files\microsoft visual studio 8\vc\atlmfc\include\ ...Show All
