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

Software Development Network >> Ananda Ganesh's Q&A profile

Ananda Ganesh

Member List

Hoopla
Ronaldlee Ejalu
Binary
calavera2043
Tommy.Le
WilliamStacey
thegooner
Bule
FLawlor
hazz
John Woodiwiss
I LIKE VB.NET
Vinodonly
sedso
santhony7
daname
Han Qiao
kennm
CSharpShooter
TruePsion
Only Title

Ananda Ganesh's Q&A profile

  • Visual C++ Text Box String

    Is the data in a text box  a System String How would you save / store the data that is currently in a text box.  Say, if the data was typed to a text box from a keyboard - how would you save this In an array - how Is there a scanf function in C++ 2005, its been a while since I used C++. Would scanf do the job   The Text property returns a String^. You don't need to allocate memory for that - the TextBox will do that on its own (internally it's the Win32 EDIT control). And you do not need to use scanf or anything of the sort. A Win32 EDIT control has built-in functionality to let you type into it. ...Show All

  • Windows Forms Selecting items in listbox with keystroke

    Say I have a listbox with these items: ...50, 51, 52, 53, 54, 55, 56... Currently, the user can pick '53' by entering '5' four times. Is there a feature/functionality that enables them to pick '53' by entering '5' '3' within a specific timeframe. Or would I have to implement this, myself Thanks, Mike (Moderator: Thread moved to this forum for better responses) Hi, You probably want to implement this useful which would be to override the keydown event and then run the search yourself and scroll to the correct item. Would be my guess off the top of my head. James ...Show All

  • Visual Studio Team System How to solve this problerm!

    Good afternoon everyone: I use own rules to check a website project.there are some unknown warning by the compiler,Such as VB$t_ref$L0,VB$t_i4$L0,VB$t_array$S0,VB$t_struct$N0.I don't known how to generate them.Is there any one  can tell me the reason --Tiny Have a look at this blog post: http://blogs.msdn.com/fxcop/archive/2007/01/26/faq-when-looking-at-the-names-of-locals-in-a-custom-rule-why-do-i-see-strange-names-such-as-cs-1-0000-and-vb-1-0000.aspx Regards David ...Show All

  • Windows Forms DataBound DateTimePicker/ComboBox Events

    Events on Databound controls that have their Visible Property set to false at DesignTime do not fire events. I was told this was part of their design. I accept that fact. But controls that have Visible set to true at design time and then Visible gets set to false at runtime, will fire events even though Visible is false. Question 1: Why does having Visible = false at Runtime and Design time behave differently Question 2: What internal happenings occur that make the control start firing events and can I trigger this internal change (i.e Can I force a Control with Visible = false at Design fire its events or visa versa can I make a control with Visible = false at runtime not fire events) How to Repeat: I attached a simple ...Show All

  • Software Development for Windows Vista Composing "Meta" Workflows using both standalone WF and SharePoint 2007

    I am interested in leveraging the WF capability of SharePoint but the requirements of the project I am working on are such that the notion of a workflow spans beyond a particular item or list. I have read through this post, http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=719102&SiteID=1 , which touches on this subject, but have not seen anything definitive. What is the recommended approach for building an overarching workflow that, say, tracks some product manufacture, and, at various activity stages, leverages workflows, custom or otherwise, associated with SharePoint lists The two main things I think I need to know right now are: Can the overarching "meta" workflow be hosted in SharePoint rather than ou ...Show All

  • Visual Studio 2008 (Pre-release) Change order

    Hello, When my control got focus, I want to bring it to front. Can I do this with xaml Thanks M. MEZIL Hi there, yes you can. Look at the following link: http://blogs.msdn.com/wpfsdk/archive/2006/06/13/Controlling_zOrder_using_the_ZIndex_Property.aspx ...Show All

  • Windows Forms Small accounting application Big headache (SAAB-H)

    Hello, This is part of a small database EntryForm. 9 TextBoxes: 1,2,3,Sum1 (all decimal(6,1), -- V1, V2, V3, EA, VTotal (all smallmoney) , --- EA (smallmoney). Three calculations: Sum1=1+2+3, V1=EA*1, Vtotal=V1+V2+V3. The order of the TextBoxes is 1-EA-Value1, 2-Value2, 3-Value3, Sum1-ValueTotal. The Sum1 and ValueTotal should be always updated regardless in which field the user choose to start entering data. The reason for the If, Else or If ElseIf statements is to always have some values in the TextBoxes. Note: All the TextBoxes.Text was stripped away to see better (1 is 1TextBox.Text, etc) Questions: How to initialize the Form without Fill (it always brings up the first record -eve ...Show All

  • .NET Development xml if statement

    Hi, I am trying to use the IF statement logic inside xml. So came up with the line below: The logic that I am trying to achieve is: if there is a value for the field COMX_Field1 (i.e. if COMX_Field1 = TRUE) then show COMX_Field2, else do not show anything. Is this correct Thanks <LINE ID="02"> <VALUE X="1.00" FORMULA="true"><![CDATA[=("{COMX_Field1}"="1") "COMX_field2":""]]></VALUE> </LINE> A CDATA section simply contains text, allowing you to use characters like the ampersand '&' or the less than sign '<' unescaped if needed. XML itself does not have any statements like an if statement. So un ...Show All

  • .NET Development high performance ADO.NET

    Hi there, I plan to implement an application requiring very high performance access to a Ms-SQL 2005 database. More precisely, I will have about 10 millions of rows in a table to update. They will be retrived by the application by blocks (say 1000 at a time), and, after computing on application side, will be returned back to the database, through UPDATE commands (in stored proc). For sure, there are lots of topics to address to achieve high performance (size of data in rows, network impact, table and indexes design, application performance, etc.). My question here concerns the ADO.NET layer and the dialog with MS-SQL. I'm looking for documentation, technical articles, advices, etc, to design high performance&nb ...Show All

  • Visual Studio Team System Code Analysis in Team Build giving error: No Rules Selected

    I've got a Team Build project setup with the <RunCodeAnalysis> set to Always. However, it is giving me an error CA0051: No Rules were selected. How do I inform Team Build which rules to use Do I have to specify this in the build project file I have Code Analysis Rules setup for the Check-In policy in Source Control, I guess I had assumed/hoped it would pull them from there. If I do have to set them up in the proj file for the Team Build, is there a sample somewhere I can look at You are probably right. When I was having the error message the first thing I did was change it to Default, and then I think I noticed that a couple of my projects only had Code Analysis turned on and rules selected for th ...Show All

  • Smart Device Development Add CAB into ROM

    Hi, I am developing smart device applications by using CF1.0. I have a doubt. The question is "How to add my CAB file into ROM Why i am asking is if we make a hard reset the device, our installed applications will also be removed only default CABs will be installed. So I want to add my CAB file into ROM. Is there any software for adding my CAB into ROM Please send your suggestions or links. Thanx, M. GANESAN Only device manufacturer (OEM) can add files to ROM. That is done via Platform Builder while ROM image is created. Judging by your question you’re not device OEM which means there’s no way for you to add files to ROM. Some devices have persistent storage and might install CAB files automatically upo ...Show All

  • Visual Studio How many developers can use Visual Source Safe 2005 (Standard Edition) at the same time?

    Hello, Does Visual Source Safe 2005 support VS 2003 If it does, how many developers can use Visual Source Safe 2005 standard edition at the same time Visual Source Safe 2005 standard edition costs about $550. If I need to manage code for a team with no more than 5 developers, will Visual Source Safe 2005 standard edition do the job For the case mentioned above, will I need to purchase a license of each developer or will one license work for the entire team Thanks, Rilwan SourceSafe is licensed per user. If you have 5 developers, you need 5 licenses (regardless of the # of machines or simultaneous connections). It should work fine on a team that size. Teams of up to 5 people ...Show All

  • SQL Server Account lockout problem with sp_send_dbmail

    I am running this code in a job: EXEC msdb.[dbo].sp_send_dbmail @profile_name = 'Blah Blah', @recipients = 'blah@blah.com' , @subject = 'Server Report 1', @body = '', @execute_query_database = 'DBInfo', @query = 'EXEC dbo.usp_SvrRpt1;', @query_result_header = 0, @query_result_width = 300, --@attach_query_result_as_file = 1, @query_result_separator = ''; GO Because I am creating a total of 6 server reports, I alter the subject and query like so: @subject = 'Server Report X' --where X is replaced with values 1 to 6 @query = 'EXEC dbo.usp_SvrRptX' --where X is replaced with values 1 to 6 I can run 4 reports without any problems. If I run more than 4 reports in the same batch, my network account under Windows 2000 Activity Direc ...Show All

  • Visual Studio Team System What are all these counters?

    Is there a resource anywhere that defines exactly what any of the counters available in VSTS 2005 are Something that would help me understand for example, the difference between Avg. Response Time (LoadTest:Request) and Avg. Page Time (LoadTest:Page) In other words, what kind of response does the first counter refer to if not a page load response Perhaps it's an average of the response times of every page, gif, style sheet and tab slice... But I'm speculating. Is it Some others, Avg. Test Time (LoadTest:Test), Tests Running (LoadTest:Scenario), Failed Tests (LoadTest:Test), and Tests/Sec (LoadTest:Test) What exactly is meant by "test" here A webtest or coded test An ordered test A load test One user/iteration of any ...Show All

  • Visual Studio 2008 (Pre-release) Show System.Windows.Forms.UserControl in XAML-Window

    I try to show a (Custom) Forms.UserControl in a XAML-Window. The Control is in a external Project. Trying to show the UserControl in the XAML-Window generates the follow ArgumentException-Message: "Cannot add instance of type 'MyFormsUserControl' to a collection of type 'UIElementCollection'. Only items of type 'UIElement' are allowed." Is there a Way to use and show our CustomControls in a XAML-Window   Code in XAML-Window: < Window x:Class = " Window1 " xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x = " http://schemas.microsoft.com/winfx/2006/xaml " xmlns:ccl = " clr-namespace:MyControls;assembly=MyControls " Title = " TestForm " Height = " 300 " Width = " 300 " > &l ...Show All

©2008 Software Development Network