Software Development Network Logo
  • VS Team System
  • Smart Devicet
  • Windows Forms
  • SQL Server
  • Microsoft ISV
  • Visual C#
  • Visual FoxPro
  • Visual Basic
  • .NET Development
  • Windows Vista
  • IE Development
  • Visual Studio
  • Game Technologies
  • Audio and Video
  • Visual C++

Software Development Network >> Kanagal Raj's Q&A profile

Kanagal Raj

Member List

GTrz
PedroCGD
Jacobeo
Mega_x
.net sukbir
stevieT01
dontknow
Odin Thomas
Sudheer Kandali
2V.
pvulcan
memodude
Deco
David Mc Dermid
sniwas24x7
gteddy
pdianne
dragoncells
Saravanan.Chinnusamy
Patrick Sears
Only Title

Kanagal Raj's Q&A profile

  • Visual Studio Team System Access to raw data of performance analysis ?

    Hi, I am wondering if there is any documentation of the data format (of the vsp files) produced by the performance analyzer. As the files are pretty big (depending on the application complexity and the analysis mode) they might actually store the raw data of the analyzing process. Neither, the IDE nor the command line tools (VSPerfReport.exe) allow a dump of the real data. Although, it is nice to know min, max and average I would like to have the raw data for a deeper statistical analysis (histogram generation etc.). One could of course fight his way through the generated binary-like vsp files but it would be much easier with a documentation (which surely exists somewhere) on how the structure of the file is. Having this information would ...Show All

  • Visual C++ Strange problem with a c file with subroutines

    Hi everyone, I have a very weird problem with this program: with Visual C++ compiler it isn't compiled (the compiler says " missing ';' before 'type'" ) and with another IDE it works, but the return value is always 0.0. Could anyone help me Thanks #include <stdio.h> #include <stdlib.h> #include <math.h> int inCylinder_1( double , double , double ); double distance( double , double , double , double , double , double , double , double , double ); int main() { double x,y,z; printf( "%s" , "Insert point coordinates: " ); //scanf("%f%f%f",&x,&y,&z); x = 1.0 ; y = 1.5 ; z = 0.5 ; int inCylinder = inCyl ...Show All

  • SQL Server Problem exporting data using Excel destination (wrong format)

    Hi there, I have designed a package that works perfectly well, exporting data to an excel file from an ole db source. The problem is that in the excel destination file, columns of data that originally were numbers, are formatted as text. It would be just annoying if it weren't because I use those figures in a pivot table that operates with them. Any idea on how to tell Excel that those columns are numbers Thx in advance I'm beginning to fight in that front since I don't see any problem in the package. Thx a lot for your time Rafael ...Show All

  • SQL Server Linked View from SQL2005 timeout in Access database

    We have a process that inserts aggregated rows from many primary SQL 2005 databases into rows in a local Access 2000 database.  The view from each SQL database is linked in Access, and some VBA code loops through the views running sql statements to insert the rows from the linked view to a local table. Only the largest databse presents a problem, and it only fails occassionaly.  When it does fail, it is a timeout error. I know there is the OLE/DDE timeout setting in Access, but I don't think that is where the problem is.  Because I'm using DoCmd.RunSQL, I don't have the standard connection timeout settings for the individual connection. I know I can do something like push out the results from SQL side to t ...Show All

  • Visual C# Disabling #if directive pre-processing/intellisense

    New to VS2005. When I start typing a pre-processor directive (e.g. a #if..#else..#endif set of lines) in an existing cs file, the IDE goes into wait cursor mode for many seconds if not minutes pre-processing the impact of the #if on the existing lines of code (e.g. below the insertion point). How can this be disabled I have many files to update... Neil T. Neil, This (obviously) sounds like a bug.  If possible, I'd appreciate it if you could either enter a reproduction into http://connect.microsoft.com/site/sitehome.aspx SiteID=210  or shoot me a mail at ansonh@microsoft.com .  A workaround may be to use the surround-with functionality to insert the #if directive (it inserts the #endif at the same time), t ...Show All

  • SQL Server Can't Attach sqlexpress db

    Hi, After having published the timetracker starterkit from visual studio 2005 to local wwwroot, I try to access my homepage with ie. But still get the same error message : An attempt to attach an auto-named database for file C:\Documents and Settings\Emmanuel\My Documents\Visual Studio 2005\WebSites\GestWares\App_Data\TimeTracker.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share. This is how i configure my web.config : < connectionStrings > < remove name = " LocalSqlServer " /> < add name = " LocalSqlServer " connectionString = " Data Source=.\SQLExpress;Integrated Security=True;AttachDBFilename=|DataDir ...Show All

  • SQL Server fixed point arithmetic for price calculations

    I've got a price in euro as a string, which I can easily cast to a numeric SSIS data type e.g. R4, R8, DECIMAL, NUMERIC. And I've got the dollar/euro exchange rate stored in an SSIS variable of type DOUBLE, set to 1.28 for testing purposes. I want to multiply the two values and return the (dollar) result, rounded (not truncated) to 2 decimal places, as a string. Here are some experiments I did in an SSIS expression editor: (DT_WSTR, 10) (1.28 * 31.10) evaluates to "39.8080" (DT_WSTR, 10) (1.28 * (DT_R8) "31.10") evaluates to "39.808" (DT_WSTR, 10) (1.28 * (DT_DECIMAL, 0) "31.10") evaluates to "39.68" (DT_WSTR, 10) (1.28 * (DT_DECIM ...Show All

  • SQL Server NEWSEQUENTIALID()

    I'm trying to modify my default value for GUIDs in DB, currently using newid() for default. In management studio, click on modify and in the table designer for the default value I entered newsequentialid() and got the following error. Error validating the default for column "xxxx". I would like to have my tables that are using guids, have newsequentialid as the default value. When read on this new function it says can only be used with default value, but can't get that to work. Any ideas thanks If we cannot answer a question in the forums in the first month, it generally gets ignored and we do not go back and try to answer it later. Whenever there is a problem with our pr ...Show All

  • Software Development for Windows Vista Support for cross validations (Validations across activities)

    Hi All, Currently WF supports validations on activity using activityvalidator. From my understanding, I think that ActivityValidator validates one activity. This is fine. My question is can we do cross validations across activities. Suppose there are two activities named A and B. activity A contains one property named 'prop1' and activity B contains a property named 'prop2'. For example validation conditions are like this: 1)prop1 should be between 1 to 10, when prop2 is 1 2)prop2 should be between 11 to 100, when prop2 is 2 Is it possible to provide these type of cross validation across activities Regards, Chakri. The thing that you need is writing your own custom validator. He ...Show All

  • Visual Studio Question about VSIP

    Hi All, Can we track the active project in the active solution with VSIP Probably with IVsSolution Or IVsProject But I dont want to do it with Com interface. Any idea will be appreciated. TIA. Regards, Hi Ed! I was completely misunderstood and confused about those interfaces before. But now I understand. I thought every IVs... is outside of DTE automation. Silly, indeed. Thank you very much, it helps alot! Regards, ...Show All

  • Windows Live Developer Forums IRC-Channel for VE?

    he, what about an IRC-Channel about Virtual Earth, to share ideas, and get help a bit more quickly than just thru the forum If somebody wants to setup a channel on any network, post the network name and channel name, i definitely will be there. Well my website is soulsolutions.com.au and my name is John@ If you want to setup the IRC channel and let us know how it works / how to login etc I'm happy to join in. John. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Stop Sound

    I'm using this simple code to play a sound: http://xbox360homebrew.com/blogs/audio/archive/2006/09/01/119.aspx I know the asnwer to this must be very simple, but how do I stop a sound I'm guessing I got to use something like : Sound.Stop(xxx); but I do not know what is it that I am supposed to provide. Thanks in advance. I understood the whole concept of playing, stopping, pausing, resuming, etc. sounds. I had forgotten that the Sound.Play() in the code from that webpage returned a value, then George reminded me of that. I kept on trying and couldnt figure it out, but now I got everything fixed. Thanks for all our help. ...Show All

  • SQL Server Description: String cannot have zero length. Event ID: 6003

    When i add a new document to the queue, I receive this error in the event log. I used the example from the book in chapter 5 but i left out the scheduled piece. I am unable to find anything via searches on google etc. Your help would be appreciated. Thank you! XSLT File < xml version = " 1.0 " encoding = " UTF-8 " > < xsl:stylesheet version = " 1.0 " xmlns:xsl = " http://www.w3.org/1999/XSL/Transform " > < xsl:output method = " text " /> < xsl:template match = " notifications " > There is a new Test Document! < xsl:apply-templates /> </ xsl:template > < xsl:template match = " notification & ...Show All

  • Visual Studio Express Editions Create a UserControl

    I am following a tutorial on how to open a directory and show all the pictures inside as thumbnails. Below is the last paragraph so I thought, for my purposes, I would try to create a control so that I can use it in other programs in the future. I have now done everything I need, what I don't know is how to make it a dll so can someone show me how I compile it to a dll please You can use this control in any of your projects by adding the Thumbnail control source code to it. Alternatively you can create a UserControl project that contains the finished thumbnail control and compile it to a DLL. You may then either add the compiled user control to any of your projects as a reference or add it to your toolbox and use it in the Visual ...Show All

  • Visual Studio Menu items disappear on first use

    Following the model suggested in sample code, I've been able to add to the main menus in the Visual Studio development environment with my Add-In. Curiously, however, my menu items disappear after my first attempt to use any of them. The menus don't, nor do submenus. Only the menu items do. Here's how I am creating them: IdeCommand = IdeCommands.AddNamedCommand2( _ _addInInstance, UniqueName, MenuCaption, Description, True, 0, Nothing, _ CType(vsCommandStatus.vsCommandStatusSupported, Integer) + _ CType(vsCommandStatus.vsCommandStatusEnabled, Integer), _ vsCommandStyle.vsCommandStylePictAndText, _ vsCommandControlType.vsCommandControlTypeButton _ ) IdeCommand.AddControl( _ ParentMenu.CommandBar, _ ParentMenu.CommandBar.C ...Show All

©2008 Software Development Network