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

Software Development Network >> Visual C#

Visual C#

New Question

Conditional not working, C# Express beta 2
Obtaining the Messages of Another Application in .NET
SIMPLE instructions to REMOVE Windows Desktop Search
Compiler Error CS1583 (CSC583.tmp is not a vaild Win32 resource file)
Print Preview
Dynamic Fields
Change folder permission.
C# Webmail
How to Read XP_Sendmail output
EventHandler gets called multiple time :(

Top Answerers

Poofy
yingfeng
sweds2135
kalypsys_jw
Krixna
msibm
Don Stuber -- Pedifix
Ian123
GordonBJ
katarn85
Borland Software Corp. - Codegear
Only Title

Answer Questions

  • okaban live syntax error highlighting?

    hello, i installed VS2005 and readed on the installing text about the following feature: the code editor highlights syntax errors imidiately without compiling (like eclipse for java). - how can i activate this feature - is this feature for all languages avelable (i want use this with C++) I don't think that feature supports C++. Background syntax checking is not available for all languages. Currently thi ...Show All

  • Charger How do I change the default language in Visual Studio 2005?

    How do I change default language in Visual Studio 2005     When Visual Studio starts it display information about C++, but I would like to change this to C# Thanks David I was spent a day to do this reset operation. Thanks Madhav David M. Kean - MSFT wrote: Use the Import and Export Setting Wizard: 1. Choose Tools -> Import and Export Settings ... 2. Select Reset All Se ...Show All

  • Michael Adamson Math.Round issue

    I am trying to do some simple rounding with a precision of 1. For some reason, the only way I found that I was able to do this, is by using the following lines: double temp = tbJointServo.Value / 10.0; string tempS = temp.ToString(".#"); temp = Convert.ToDouble(tempS); txtJointServo.Text = tempS; Where "tbJointServo" has a minimum value of 0 and a maximum value of 3600. Is there any better way to accomp ...Show All

  • ralphos Forms.. And Threading! >.<

    Ah, hello! I need a little help. Im trying to write an IRC (Internet Relay Chat) client in C#, and I need to make a while loop on another thread, and the while loop has to change the text in a textbox on the main thread, But I get an runtime error when I run my program. The while loop would be this: string tempServerText; while ( true ) { tempServerText = ircReader.ReadLine(); mainTextBox.Text += tempServerText + "\n"; }   the m ...Show All

  • Kutlu Arasl&amp;#305; AccessViolationError, how to fix?

    Using C# express beta 2, I'm getting an AccessViolationError on even very simple forms. It was working fine last night, now I can't get any new form to work. IE, I go to New Project, Windows Application. Add a single Label and click debug. It builds with no problem, but when it goes to debug I instantly get the exception. However, if I open a project I created last night, it works perfectly. I have restarted the IDE and restarted Windo ...Show All

  • jdn Writing to File Properties (Like from Windows Explorer Properties)

    I am trying to write a property (specifically the "Comment" property) of a file programmatically.  This would be the same as opening the file properties in Windows Explorer, and changing the field. If I reference the shell32.dll, I can read the properties using objFolder.GetDetailsOf(objFileItem,14), but I cannot figure out how to write to it.  Any help is appreciated. James This is stored in th ...Show All

  • Thomas Roethlisberger Which data structure should I use?

    I want to use a data structure in memory that models a many-to-many relationship. For example, one URL links to many other URLs and is linked from many other URLs. I envision this like a database table with two columns, linksto and linksfrom , with a compound PK on both columns. This allows me to get all the URLs a page links to by querying the linksto column, as well as all the pages linking to it by querying the linksf ...Show All

  • ScoobyBlue Help! How to write 'get''set' property for an array of structs?

    Hi, i'm hoping somebody can help me out with this problem which has got me stumped (still new to C#) In my console application, ive created a class called Map which contains an array of structs. To access this array from the main class which contains main(), i attempted to write 'get/set properties' for the array, but it seems to have gone horribly wrong ==================================================================== Here is t ...Show All

  • shorinsamurai ExecuteReader error

    Hi all, apologies if this thread or a similar one has been covered in this forum already. I am a problem with my program and I need some urgent help. I have datagrid which read from a database. It worked very well the first time I created it and I tried to use the same code in another form then I started having problems. even though i have comment the codes in the other form out I still get this error "ExecuteReader requires an open and availa ...Show All

  • Charles Trindade String.LastIndexOfAny throwing an odd exception

    I am running into an unexpected (on my behalf) exception using String.LastIndexOfAny(char[], int, int) that I can't seem to figure out. The following code will replicate this by throwing an ArgumentOutOfRangeException, "Count [3rd variable] must be positive and count must refer to a location within the string/array/collection.", when I call test.LastIndexOfAny(anyOf, start, count) even though "count" will pass if I test for boundaries (0, ...Show All

  • cwang733t (INTEGRATE) Convert a string to a Function

    I am trying to integrate a math function 'func' which will be entered(typed) by the user, but I cannot figure out how to convert the string to a function which would be called by the integtal function. double integral(double xLeft, double xRight, double func(double), int nDivs) { int i; double area = 0.0; double deltaX = (xRight - xLeft)/nDivs; double midpointX; midpointX = xLeft + deltaX/2.0; ...Show All

  • spidey_witnesssss Creating objects at runtime

    Ok. On the menustrip, I have a control called "new doc". I want when the user clicks that control to creat 3 tab controls, with a richtextbox in tabcontrol1, and a web browser in tabcontrol3. Any suggestions Form controls are classes just like any other. You create them with the new keyword. Once the control is instantiated, set the appropriate properties (location, size, text, etc.) and add it to the form's Controls collection: // form- ...Show All

  • technoTABLET Checking for internet connection!

    Hi, Can someone help me with this problem. I need to check if my system is connected to the internet or not. I have implemented the code in http://www.developerfusion.co.uk/show/5346 . But the problem is that there is a situation say "I have been connected to the LAN but there is no internet". I'm not able to trap this situation. My requirement is just to know if my system has a valid internet connection. Can someone provide me a ...Show All

  • Laurentiu Nicolae Serializing Derived Classes

    Ok, I posted this in the wrong forum, so I'm trying again... I'm trying to create a class that inherits from the System.Windows.Forms.TreeNode class.  I'm basically doing this to add a few properties to the class.  My question is how can I ensure that these properties are properly serialized.  If I was inheriting from one of my controls, I'd just do something like this: public SCNNode(SerializationInfo si, StreamingContext cont ...Show All

  • Thomas Kurek How can I cover the menu item's shortcut?

    Supposed I have a form with KeyPreview=true and a menu item whose shortcut is CTRL+C. Add a Textbox on the form. When I select some text in the Textbox and press CTRL+C, the selected text just can not be copied because system just call the menu item's OnClick event handler. And then how can I copy the selected text via CTRL+C, that is to say, how can I cover the menu item's shortcut Onclick event handler in some particular situations Your& ...Show All

808182838485868788899091929394959697

©2008 Software Development Network

powered by phorum