vinutha's Q&A profile
SQL Server Is this possible? How
hello guys, I want to create a report using a bar chart data region from a cube. The cube contains Date and Time dimentions. Here is my question: The catagory field (x-axis) value of the bar chart is dependent on the paramaters value(i.e.StartDate and EndDate). For instance if the difference between StartDate and EndDate is greater than 1 year, the x-axis value for the bar chart should come from the Date dimention and display the year value. Similarly, if the difference between StartDate and EndDate is less than a day, the x-axis value for the bar chart will come from the Time dimention and display the hours value. Does any body came a ...Show All
Visual Studio Team System MSBUILD with Unit Tests
I have a build type that is working just fine. I updated it by setting the RunTest key to true and now my builds are failing. The log contains the following that seems to be applicable. MSBUILD : warning : Please specify the results file to publish using the /PublishResultsFile switch, or specify tests to run to have those results published. I have added the following to the TFSBuild.rsp file /PublishResultsFile:"C:\Temp\BuildResults.trx" But now the build fails immediately and gives me not indication as to why. I have tried various combinations of the parameter in the TFSBuild.rsp file but to no avail. I am obviously m ...Show All
Windows Forms Format a DataGrid row based on value of column
Hi all, I have a datagrid displaying trivial information, however, I need to color the row of the DataGrid dependant on the value of one column. I've figured out how to change the color of the column, but not the whole row. Any help appreicated. ie. if the column lastname contains 'jones' then make the entire row red. if it contains 'smith' make  ...Show All
Visual Studio Native C++ Inline Break Invokes JIT Debugger in vs8 and Fails
I'm using the standard method for stopping a C++ native program midstream (ie): ------------------------------------------------------------------------- #include <windows.h> INT WINAPI WinMain(HINSTANCE,HINSTANCE,LPSTR,INT) { DebugBreak(); return 0; } ------------------------------------------------------------------------- cl -ZI -D_DEBUG -DDEBUG joe.cpp user32.lib ... ------------------------------------------------------------------------- I get the following error: An exception 'Unhandled Win32 Exception' has occurred in joe.exe However, no debuggers are registered that can debug this exception. Unable to JIT debug. ...Show All
Visual Studio Team System Team Explorer : Need log to investigate an error
Hi, I have currently an issue with team explorer (RC builds). I've tried uninstalling all visual studio 2005 and TFC without success (deleting any application files, VS folder, registry entries). I'm having a simple VS crash when connecting to any project (when threads read work items folder / source control) : invalidcastexception. In order to investigate, I've tried to enable /log file for devenv, but the log is empty of any explanation. Reinstalling TFS didn't resolve anything, and it's not a server problem, since other users are still able to connect to the server. Is there any way to have a decent log file to follow TFS operations Or so ...Show All
Visual Basic COMTI and Server2003 in VB6?
Hi. I try to instansiate an COMTI-component in a VB6-application. It's the first time we try that in a server 2003, and we only get a error 424, Object required. We use this comti to reach anoter computer, so it's just installed with an export of .msi-file from the other one. We have don e this a lotsa times on other mashines with XP and server 2000, and never got this problem, so I guess it's 2003-related. Can anyone help us with this /Erik These forums are for VB.NET and there are better places to find answers for older versions of VB. Maybe the VB6 newgroups - http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.vb. ...Show All
Windows Forms DataGridView add new row WITHOUT typing
Hi, I've a databound DataGridView that contains 4 textbox column. Each textbox column has also has a button column that pops up a window to search. When the user types some text in one of the textbox columns, a new row is added automatically on the first keystroke. This DOESN'T happen when the users clicks on a button, and I fill in the value of the textbox column in code. If the users uses the buttons to fill all 4 textbox columns, there isn't a new row to continue... How can I add a row I tried Rows.Add() but got a message that's not supported when the DataGridView is databound... :-( Try to add new row directly to the table DataGrid ...Show All
Visual Basic How to Bind a part of an XML file
Hi what i want to do is to have two subsections within an XML file showing 2 or more different users. My problem is that i can only bind a DataGridView to an entire subsection for example take the xml file below: < xml version="1.0" encoding="utf-8" > <Debts> <User> <Name>Mike Franz</Name> <DebtMikeFranz> <DebtDiscription>Internet</DebtDiscription> <DebtAmount>3.14</DebtAmount> <DebtDiscription>Food</DebtDiscription> <DebtAmoun ...Show All
Visual Basic Weekly Tasks
Hi, I was wondering if it's possible to have an application perform a process on a weekly basis e.g. sending an email to an address every 7 days This would be intended to run in the background while the user uses the app on a daily basis. Thanks ...Show All
Visual Studio Express Editions my txt file
how do i make vb pop up with my txt file as a separate window without using the shell function cause u have to do C:\blahblahblah. what i want is (/bin/text.txt) if u c where i comin from Process.Start will open your file. Application .StartupPath will give you the directory your app is in, so you can append that with a local path to a file if you want to. ...Show All
Visual Basic Replacing microsoft.common.targets
How do I replace it (Lost my CD) ...Show All
.NET Development ProcessThread.ProcessorAffinity performance impact?
I am wondering about the quantitative impact of tuning ProcessThread.ProcessorAffinity property. What are the particular use cases of the such property In particular, I have a bi-processor machine that support an intensive CPU/Disk .Net application (scientific computing). In this application, I have sereval threads with distinct priorities (basically one thread with high priority, the few other with low priority). Should I manually assign the high priority thread to one processor and the other threads to the second processors I know that the only certain answer would be to do extensive mesurements. But I would rather have some insights ...Show All
Visual Studio Team System Another foreach with missing coverage
The FAQ said that we should mention code here which has 100% line coverage but < 100% block coverage. I'm showing 4 blocks uncovered in the following code, and 40 blocks covered. private static void ScaleControlProperties( float ratio, Control baseControl) { float smallFontSize = 6.5F ; if (baseControl.GetType() == typeof ( Button )) { Button scaledControl = ( Button )baseControl; scaledControl.FlatStyle = FlatStyle .System; } baseControl.Font = new Font (baseControl.Font.FontFamily, smallFontSize); if (baseControl.GetType() == typeof ( DataGridView )) { DataGridView scaledD ...Show All
SQL Server TSQL Code Checker
Is there a tool similar to FXCop that will check for TSQL ( or just SQL ) errors , ommissions etc and suggest code improvements Also, along the same lines, are there client-side JavaScript and VBScript tools similar to FXCop Thanks Short answer: no. Long answer: not really... For SQL Server 2000, there is a SQL Server Best Practices Analyzer that does some basic code-checking of T-SQL on objects in your database. http://www.microsoft.com/downloads/details.aspx FamilyID=B352EB1F-D3CA-44EE-893E-9E07339C1F22&displaylang=en For SQL Server 2005, there is nothing available at the moment. We are making a new version of SQL Server ...Show All
Visual Studio 2008 (Pre-release) Out of Topic: Merry Xmas, WPFeers!
And a happy 2006 year, the WPF and Vista year, for all the friends and visitors (more than 20 everyday) of our WPF site ( http://www.dmu.com ) ...Show All
