Sumith Koshy's Q&A profile
SQL Server Row and column count in SSMS
When you execute an MDX query the Messages tab displays the number of rows and columns returned. However, that includes the rows and columns used to hold the member names. Personally I would prefer it only returned the rows and columns in the cellset. Anyone agree/disagree Discuss!!! Also, a minor point. I'd like it if the rows and columns were displayed on the results tab like the number of rows are in a SQL query. Anyone agr ...Show All
Visual C++ VC++ 2005 redistributable (vcredist_x86.exe etc.)
Hi there, I noticed that the Beta 2 redistributable is hosted on the Microsoft download library, but the final ones seems not to be. Will it be hosted on microsoft.com (or is it already somewhere ). Also, it has been reported to me that on Windows 2000 the (RTM) redistributal gives an unuseful error message if Windows Installer 3.1 is not installed. The message is error 1723. "A DLL required for this install to complete could not be run." ...Show All
Visual C++ collate in C++
I am trying to generate hashes for a set of strings (that I store within a class) using the hash() method in collate class in <locale>. Suppose the class SetOfStrings has a list of strings and it has a method getNextString which returns a const char *. When I pass this to collate as follows: SetOfStrings ss; // Assuming ss is set up with all the strings const char* beg = ss.getNextString(); collate<const char *&g ...Show All
Visual Studio Fail clearing directory
I fail in doing a very simple task. In the beginning of a target I would like to make sure that the output directory is empty. I do this with the below 2 lines that removes and creates the directory. < RemoveDir Directories = " $(OutputPath) " Condition = " Exists('$(OutputPath)') " /> < MakeDir Directories = " $(OutputPath) " /> In some rare cases it only removes the directory, but seems to forget to create it again. By T ...Show All
.NET Development Nested queries to populate a DataSet using OdbcDataAdapter
The class listed below uses a CSV file and OdbcDataAdapter object to populate a DataSet using a nested query BUT I keep getting an Access Violation exception when I call OdbcDataAdapter.Fill(). The message is: "Attempted to read or write protected memory. This is often an indication that other memory is corrupt." This is written in VS 2005 (.NET Framework 2.0). Are nested queries in the SelectCommand() method of the OdbcDataAdapter object not ...Show All
Visual Studio Tools for Office Add-In won't run with .net 2.0
Hi; I have an Add-In that runs fine under .net 1.1 w/ Word 2000/2002/2003. I just tried running it since installing VS 2005 & .net 2.0. It now tells me "AutoTag2003.dll is not a valid Office Add-in." I have tried this with both the version built under VS 2003/.net 1.1 and the version built under VS 2005/.net 2.0 - same problem with both. Any suggestions thanks - dave ps - I have the release version of VS 2005 installed. Hi; First off, ...Show All
Visual Studio Tools for Office How to Develop a Com Addin that works for all versions of Office.
We have Developed a com addin for outlook and this is specific to only office xp but i want to target it for all versions of office. Can we develop a com addin for outlook that works for all versions of Office.If this is possible plese give me some details of how to do this. Regards mohsin There are 2 different types of managed COM add-in that you can build: IDTExtensibility2-based "shared" a ...Show All
Visual Studio Logon failed with Dataset pushed to Crystal Report
I am using the Crystal Report libraries(9.1.5 dated Sept-Oct 2002) bundled with Visual Studio .NET 2003 to export reports as PDFs or to print directly to network printers from the web server. I am using strongly types datasets as the datasource. After re-installing my application on the web server, my crystal reports throw 'Logon Failed' exceptions for all reports whether exporting to PDF or printing. I have other web applications on the web ser ...Show All
Visual Studio Team System Microsoft Solutions Framework: A Pocket Guide - Recommendations?
Does anyone recommend reading this book Microsoft Solutions Framework: A Pocket Guide http://www.amazon.com/exec/obidos/tg/detail/-/9077212167/qid=1123079139/sr=8-2/ref=pd_bbs_2/103-0091651-7011831 v=glance&s=books&n=507846 I have/read both pocket guides (MSF and MOF). My opinions about MSF Pocket Guide: - useful just as reference – they do not go far from white papers - as Bindiah said MSF v3 is covered ...Show All
Visual Studio Team System Error migrating clearquest to team foundation
Hi, I'm using Team foundation beta 3 and want to migrate clearquest defects to team foundation. When i try to execute the cqconverter for analyse i receive this error: " Analysis failed due to "Retrieving the COM class factory for component with CLSID {94773112-72E8-11D0-A42E-00A024DED613} failed due to the following error: 8007007e." ". I have no idea what it can be. The clearquest version I'm using is: 2003.06.00.436.000 Some ...Show All
Visual Studio Team System GetLatest "Force" option in the object model?
I've read James Manning's comments in this post: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=236346&SiteID=1 I would like to be able to offer a force behavior, but this code doesn't give me the results I want: GetRequest request = new GetRequest(localPath, RecursionType.Full, VersionSpec.Latest); GetStatus status = this.workSpace.Get(request, GetOptions.Overwrite); Anybody know a better way You're passing the right paramet ...Show All
SQL Server Problems installing SQL Server 2005 SP 1
SQL Server installation fails with the message: "A recently applied update, KB913090 failed to install" The last executed task was: Integration Service The last installation message was: Checking for lock files via Windows installer sqlrun_tolls.msp It's not immediately obvious what went wrong. Please post a description of your configuration and a link to your SQL Server install logs. Thanks, Paul ...Show All
Visual C++ How to decide the errors
hoh to decide the error C2039 a exist... i have 2 forms, form1 and form2. in form1 i have a button, and when i click in this button, will open form2. whats the code to do this ...Show All
Visual Studio Setup freezes when it "installs components".
Trying tor install vs05b2 , the "setup is loading installation components" bar freezes at 100%. CPU usage is 0%. I must reboot machine to stop setup. I had instated the Feb CTP but I think I uninstalled it. I hoped installing the b2 framework would solve the problem. It did not. I had a successful install on another machine with the same media. I get the same problem when I try to install Web Express 05b2 . The log file ends with ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Send data to a Network
i making a game app, but i dont know how to send data to another computer, using a home network and the internet. thanks.. Luis Ed xinpis@hotmail.com Look in the System.Net namespace http://msdn2.microsoft.com/system.net.aspx Depending on what kind of game you want web services may be useful or if you need more speed and control you will need to go down to a lower level and use sockets. http://msdn2.microsoft.com/system. ...Show All
