Software Development Network Logo
  • Visual Studio
  • .NET Development
  • Visual C#
  • Game Technologies
  • VS Team System
  • Smart Device
  • SQL Server
  • Visual Basic
  • Microsoft ISV
  • Architecture
  • Visual J#
  • Visual C++
  • Visual FoxPro
  • VS Express Editions
  • Windows Live

Software Development Network >> Visual C#

Visual C#

New Question

Memory usage Help!
simple multi thread in c#
How to handle events of Buttons created at run time
XMLSchema Designer missing
what is #if used for?
Threads problem
STA MTA issue: handle returned is IntPtr.Zero when in MTA mode
Runtime Property Value Changed Delegate
Mid statement in C#
Using an Array in a Property

Top Answerers

Andy H.
yazoox
Jeff Schindler
Jetto
Manisekaran
Kanaan
Noah Hambayi
CrispinH
Kolchak
Bartleby1
eZiners Web Solutions Inc.
Only Title

Answer Questions

  • neener Outlook 2007 Beta 2 and EntryID Futures?

    HI, Which version of WDS does Outlook 2007 use - I think the Office installer asks you to download a WDS and I wondered what version it was What's the roadmap for this, as in in there another point release of WDS planned for the retail launch of Office 2007 Also, are there any more changes planned to the mailtem EntryId new encoding, or put another way, what's the best/recommended way of being able to display an Outlook Item once it is ...Show All

  • BrandonTurner Problem Accessing Member Class?

    I'm getting an error when I try to access a member class.   Here's the class: class person { public class fullname { public string firstname; public string lastname; } public double age; public string interests; public static int totalpeople; public void greet() { Console .WriteLine( "Hello, " + person . fullname .firstname + person . fullname .lastname); Console .Write ...Show All

  • Andrew34Fisher Visual C# Express Edition Beta 2 and SQL Server Express Beta 2

    I tried to connect the SQL server express from C# Express beta 2 and got some error. In the "Add Connection" Dialog the options I gave are: Data source: SQL server Database Database file name: C:\Program Files\Microsoft Sql Server\MSSQL.1\MSSQL\Data\tempdb.mdf  Is it right else What to give here Used Windows Authentication and Data Source  .\SQLEXPRESS. Got the Error Message as: Unable to open the p ...Show All

  • Rich John "taskbar notification"

    I'd like to use a "taskbar notification" in one of my apps. What I mean is that I'd like to have one of those little message boxes that look like tooltips (yellow background) slide up from the taskbar, stay up for a few seconds, then slide back down. I've seen them referred to as taskbar notifications, but they probably have a different name in the VC#/.NET. If anyone knows what they are called and how to use them, I'd appreciate knowi ...Show All

  • lmaster "Unable to handle exeption"

    My application has a login form, after the credentials are sent it communicates with web service to verify them and receive the collection if succeded. In one of the updates the program only worked on my computer but in my co-workers' computer it didnt, I started receiving an "Unable to handle exception" error message. Since the code worked on my pc it was harder to debug, I created a log and found the error was close to the web ser ...Show All

  • Jeren a value simplified? etc. 27 -> 30, 54 -> 60

    Hi, I need a value raised up to the next zero, like in the following example: 35 > 40 67 > 70 143 > 150 and so on. Does anyone know a good way to archeave this Please let me know Thank you very much it is working now n = (n+9)/10; public static double Simplify( double dValue, int iPlaces ) { return Math.Round( dValue / (iPlaces * 10) ) * iPlaces * 10 // Simplify( 32, 1 ) -> 4 ...Show All

  • username199 How can I get the selected value of a dropdownlist box in javascript function?

    I was looking to get a selected value from a dropdownlist box and assigne it to a hidden text.here is the line code of code in my javascript function but it return the value 'undifined'. document.Form1.elements['cPIsNameHidden'].value = document.Form1.elements['cPIs'].selectedIndex.value; Thank you in advance.   selectedIndex does not have a Value property. and, incidentally, this is not a C# question. You will get more ...Show All

  • Dr_Cuddles How get inner class info by Reflection

    public abstract class ClassBase { public abstract class InnerClassBase { } public void CheckInfo() { Type currentType = this.GetType(); //How to get method info of this inner Class } } public class TestClass:ClassBase { public new class InnerClassBase { public void Test() { } } } //Testing code TestClass test = new TestClass(); test.CheckInfo(); Jaison LB wrote: if (memberinfo.Length > 0) { Type ...Show All

  • Kawarjit conditional casting to generic type for value types

    Hey, I have the following code for reference types that works perfectly and does what I would like to: public T GetAttribute<T>(string attributeName) where T : class { if (attributeName == null) throw new ArgumentNullException("attributeName"); if (typeof(T) == typeof(string)) return this[attributeName] as T; // this[string attributeName] returns string return null; } Of course, the as operator I can ...Show All

  • adepumadhu Options with custom build tools

    I'm using the new VisualStudio 2005 feature that allows you to add a resource file (resx) to your project and it uses a custom tool to autogenerate a corresponding C# class with accessors to get the resource strings.  However, the default seems to be to create the C# class with an access modifier of "internal".  I know that the ResGen tool supports the /publicClass options, but I don't see a way to tell VisualStudio to use this option ...Show All

  • mdegi Find End of DataRow[]

    I am getting an exception because I am running past end of file. How do I check for this Here is a code snippet: DataRow [] myRows1; DataTable myTable; myTable = dataSet21.Tables[ "Table" ]; myRows1 = myTable.Select( "ID > 1" , "ID ASC" ); Do {...stuff } While MyRows Thanks in advance - Dan Works Great! Thanks for helping a new ...Show All

  • Zantac I can't check if my object is equal to null.

    I'm having a problem checking an object for null -- I don't understand why.  The object is null but it passes my if statement. My code looks like this. CustomObject o = CreatedObject.GetCustomObject(); if (null != o)    string s = o.MyProperty; The GetCustomObject function returns null (in my case).  In the debugger I see the "o" is null.  However the if statement results in true.  My "o.MyProperty" line ...Show All

  • ZMAN&amp;#33;&amp;#33; Object reference not set to an instance of an object. - pulling my hair out, please help.

    Hi everyone,    I'm doing some work with structures, the following is an extract:    public struct sectionScore  {   public int sToScore;   public ArrayList qInSection;  }  public struct questionScore  {   public int qToScore;   public int qScore;  } as you can see, quite simple. The question to score struct stores a couple of ints, the values from these int's ...Show All

  • BartonFinkle How can I use the timer properly??

    To decorate my WinForm App,I used a timer to make the opacity of the form graduately transform when closing...but it did not work.,.wy Some one can help me May you made some mistake :) What timer control are you using to do the work, try not to use the windows forms timer. Have a look at the following sample from the Quickstarts on GotdotNet. http://samples.gotdotnet.com/quickstart/util/srcview.aspx path=/quickstart/howto/samples/ ...Show All

  • Handy Mulia Find width of character of a font

    Hello, Problem Faced: I'm working on a code to convert a richtextbox control with its contents to an image, im drawing each character and finding the background color of the character and drawing a filled rectangle at the back. Now my problem is i need to find the width of a character, of that specific font size/style so that i can draw the background exactly as the width of the font, else my background for a single character tends to extend mo ...Show All

707172737475767778798081828384858687

©2008 Software Development Network

powered by phorum