Ramyakeerthi's Q&A profile
Visual C# Problem about Control's SetStyle
I create a component inherit from UserControl,now,when i use SetStyle in initializing instance,code like this: SetStyle(ControlStyles.DoubleBuffer,true); SetStyle(ControlStyles.ResizeRedraw,true); SetStyle(ControlStyles.UserPaint,true); SetStyle(ControlStyles.AllPaintingInWmPaint,true); but,when use this component,it seem work well when set this small size,when i set size as 30000,30000,it contains a error:System.ComponentModel.Win32Exception ...Show All
Smart Device Development TextBox OnClick
(Compact .Net 1.0) TextBox does not have a OnClick EventHandler to use. So I created my own TextBox class and subclassed TextBox and I override OnClick. This compiles but when clicking on the TextBox the method never gets called. Is there any way to get notified when the TextBox is clicked or selected I tried catching the OnGotFocus event, that works great except if the focus is already on the TextBox and the user click on the box again. I ...Show All
Visual C# Form Count
Is it possible to get a total count of all of the forms which are part of a VC# solution along with their respective object names. You can iterate over all types in a Assembly: public Type[] GetAllForms() { Assembly asm = Assembly.GetExecutingAssembly(); ArrayList result = new ArrayList(); foreach ( Type type in asm.GetTypes() ) { if ( type.IsSubclassOf( typeof (Form) ) ) { result.Ad ...Show All
SQL Server Schema changes and Merge replication
Hi there, I wonder if I can ask for some advise I wish to use SQL 2005 and merge replication but I have a few concerns over the schema changes that I am allowed to do on the publisher. Ideally I want sql replication to push all my schema changes from the publisher to the subscribers but I don't know if it can. or even if it is recommended. I see the BOL suggesting that schema repl. was mainly intended for ALTER type of statemenets, but ...Show All
Visual Studio Team System Problems with users/group security on TFS projects.
I can find no information in the administrators guide on how to add users or groups to a project but have observed the following behavior. I have created a project in TFS Beta 3. I go to Team/Team Project Settings/Security... and bring up the Project Security Dialog box. The first problem I found is that I do not see anyway to associate users and passwords with the Team Foundation Server groups. Next I tried to add a ...Show All
.NET Development DateTime Sql Query problem
I always get error from this piece of code that saying: An unhandled exception of type 'System.Data.SqlClient.SqlException' occurred in system.data.dll Additional information: System error. CODE: public DataTable load_job(DateTime date) { SqlConnection connection = create_Conn("True","(local)","pubs"); string selectString = "SELECT * FROM job WHERE deadline = ...Show All
Visual C# Forum for MCSD/MCAD Certifications
What Forum do you go to, to talk about stuff like MCSD, MCAD preparation or talk to people who obtained and ask what steps they took to prepare along with what will be new features in . Net 2005 and stuff like a that Hi Dpowers, Certification is closely related to technology and so can post questions in the C# forum itself as long as it is regarding a technology. However there is dedicated newsgroup for mcsd here: http://www.mic ...Show All
SQL Server Column Grand Totals
Is there a slick way to add grand totals to my report so far, in my report table I have the following sections TableHeader1 TableHeader2 Group1 Footer1 I added one of the same fields from my Group1 to Footer1....but it's not summing correctly. I have this in my footer right below one of my Group Fields: =SUM(Round(((Fields!FeeGoal_AZ.Value) / Fields!FeeSchedule.Value) * 100)) From the expression it looks like yo ...Show All
Visual Studio Team System I can't run "Work Items" queries.
Hi all, I'm having problems running queries under "Work Items" like "Active Bugs". I am able to run any of the "Reports", access the "Documents" and the "Team Builds" items. My setup is a bit unusual, because of beta issues I had to create a new domain and install the team system server as a domain controller in that new domain. I then trusted the new domain in my current domain and vice versa. My DNS servers handle both domain properl ...Show All
SQL Server How do I get the value of a column in the last row of a table?
With out using @@identity or count(*) how do i retrieve a value in a column in the last row of my table. here is the situation. ASP.net project has several sessions open. a user needs to get the value of a column in the last row inserted in a particular table. Select CallID from Calls where 'it is the last row inserted' thanks in advance. you can email me at ! cbmorton!@!gmail.com ! Chris Morton ...Show All
Windows Forms StatusStripPanel
Does the StatusStripPanel control exist in 2005, as included by a number of books on the subject (such as http://codeguru.earthweb.com/csharp/sample_chapter/article.php/c11213__7/ ). If it exists, where is the reference for this According to the URL, http://www.c-sharpcorner.com/UploadFile/mahesh/StatusStrip11102005020309AM/StatusStrip.aspx ArticleID=831fd7da-6918-4729-a176-ef3a3330f9eb the screen shots don't look like the final release of 2005, ...Show All
Windows Forms A version of Terrarium is already running.
Hi, I recently installed Terrarium. When I run the exe file, I get this error, and the program exits. "A version of Terrarium is already running. If you are connected via Terminal Server you can shut down any instances of Terrarium by using&nb ...Show All
Windows Live Developer Forums Gwaam Concept - Need help!
Good day We have developed a new concept in multi user gaming called Gwaam. We need help from someone with the MSN API to produce a Gwaam for MSN version. Desktop demo and instructions can be seen at www.gwaam.com if you can help or know anyone please let us know - understand there is time involved so we can be flexible about payments/shares/recognition Hi, I haven't downloaded Gwaam ...Show All
Visual C# txtbox
hi, i want to enable my 2nd textbox and button after the input on my 1st textbox. i am doing it in C# and ASP .NET. i tried this code but it didn't work. private void textbox1_TextChanged(object sender, System.EventArgs e) { textbox2.Enabled=true; button.Enabled=true; } No worries - intellisense will only show you the ASP.NET server side stuff. Anything else you add will just be ignored by AS ...Show All
Windows Forms Staus bar not visible in MDI Frame
Hi, I am writing a MDI frame window , status bar seems to be invisible for some reason. I checked the Visible property of the status bar it is set to true. what might be wrong here. Thanks Jay Hi Jay This has happened to me&nb ...Show All
