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

Software Development Network >> Visual C#

Visual C#

New Question

Run an .exe from the build events
Form over Form
VS 2005: "Key not valid for use in specified state"
casting problem from SD.DbType to SD.SqlDbType
Transferring data from one form to another, is it possible?
Any help For Graduating Project .. Need Just The Idea
Passing array into Constructor
Retrieving from a DataRow
Conditional not working, C# Express beta 2
SortedList<> best conversion

Top Answerers

Xin Guo
Pamela.Clark
esp123
Philippe31
Jurg
FlashFan
Andrey Shur
mglowacki
Claudio Perrone
IanTP
Programming for Beginners
Only Title

Answer Questions

  • nlecren12 Thread | Invoke Issue

    I am stumped on this. Here is my scenerio. >> = creates >: = event kicked off Class A >> Class B >> Class C Class A >> Class D When Class C creates a graphic object , alert Class A to tell Class D to reset all its data. Class C >: Class B >: Class A Class A has this code: private void Feature_DataChanged( object sender, EventArgs e) { ImageHandler image = ( ImageHandler ) ...Show All

  • JesperChristensen Where's my Immediate window???

    I load up a web project or a win forms project, run it and get the debugger and the project loads. I put in a break point, it stops on the break point. I go down to my command window that in the past allowed me to do things like lblSomething.Text and it would spit out the value of the .Text property and it is now some sort of shell thing with a > beside it that doesn't allow me to do this anymore.  (Even RC1 allowed this and defaulted to ...Show All

  • Puneet Sarda Constructor Chaining in C#

    Dear All, I am actually new to Object Orientated Programming. I was just studing about Constructors  and I came across the concept of Constructor Chaining.Can some 1 explain me about what is this constructor chaining.I know it means that we can call one constructor from another constructor. I have tried 1 example which is as follows: class Class1 { private string e_name,e_JobTiltle,e_Address ; private Class1( string name ...Show All

  • GaryMcCan Switching off computer using C#

    Is it possible to switch off computer using c# I know that it is possible when using c/c++. There is a method called exitWindows or exitWindowsEx, but I can't find it in Visual C# Express Edition 2005 The .NET framework must by definition call Win32 functions, but it does not expose all the functions that exist. pInvoke fills this gap. The following is a C# class that deals with all the traps involved in s ...Show All

  • Michael Herman -Parallelspace- Reading an XML File, Changing some values

    Hi All - I have this XML Document here. What I want to do is loop through each item, possible with multiple for() loops but I'm having trouble referencing data. Perhaps it is the way I have the data structured < xml version="1.0" > - < Device Address =" 192.168.1.1 " Location =" San Francisco " xmlns =" Device " > - < ...Show All

  • Fred Morrison Showing Image from Memory in axWebBrowser

    hi everybody, I have a Image stream in memory and would like to show it in the webbrowser control. how can I do this, wihtout persisting the Image to disk .. is there any solution to my problem..please help me..   with my best regards.. Bassam Basamad not sure if you could look at mime embedding the image element which would take a lot more coding than simply persisting the image to disk and adding a element ...Show All

  • Tindy413 how to write Factory Interface Handlers

    Hi,          Anybody knows how to write factory interface handler that will call multiple handlers. I'm using Sharepoint Services in my application. In this sharepoint i can able to add only one event handler. But i'm in situation that my sharepoint has to communicate with multiple event handlers. I asked this question in Sharepoint forums. They suggested that "You can write a factory interface handler that calls multip ...Show All

  • Alexon What should be the best practice to check the object ?

    Hi, Normally we check a value by this format if ( obj == null ) { //do some code } I know it is good for readability. But for performance reason I am suggested by one of my coleagues that we shuold check the constant value first i.e. if ( null == obj ) { //do some code } What is the best possible way to check the object Could any body give the proper reason to use the later one. It is not really for performance but to catch bugs like ...Show All

  • rp666 RTM Web refactoring... Serious problems!!

    I am amazed that the refactoring support in VS2005 is in this state. It is utterly useless. How can they claim to have Refactoring support for web projects I have a Solution that contains one web project and two library projects. It is NOT a complicated solution (~150 .cs files and maybe 100 .aspx and .ascx skin files). And when I try to use ANY of the refactoring tools that have been provided in Visual Studio 2005, it takes an eternity (over ...Show All

  • Stefan Kratzert Faking sound from microphone with Directsound

    Im trying to make a program to send sounds over voip and I need to make the voip-prg to believe they were said in the mic. (I dont want to use stereo because of system sounds etc) Here is what I got so far: Device d = new Device (); d.SetCooperativeLevel( this , CooperativeLevel .Priority); BufferDescription bd = new BufferDescription (); bd.ControlPan = true ; bd.ControlVolume = true ; bd.ControlEffects = true ; b ...Show All

  • Jeeva S Button with dropdown menu

    Hi, How can I build button with dropdown menu like in toolbar (but not in toolbar) Thank's Alexei Hi, Try to read what I wrote. I want the button with triangle at right side. When I push on the button it does something. When I push on triangle (like toolbar button) this show me the menu. Thank's Alexei You probably need to make a custom button for this. There are a couple ways to do this. Create a class which inherits Button and han ...Show All

  • Patrick Antonioli Loading MDIChild into MDI Wndow from a Dialog

    Hi, I have the following forms: form_MDIChild form_MDIContainer when a user choose a menu item on form_MDIContainer it will display a login dialog a\d i want if login was successfull to load the form_MDIChild into the form_MDIContainer. I tried this code before closing the login dialog but no luck. frmWorkingArea form_MDIChild = new frmWorkingArea(); frmMain form_MDIContainer = new frmMain(); form_MDIC ...Show All

  • Jemue using keywords

    Hi everyone, I have some doubts about the usage necessity of using keywords. Instead of using this keyword, it is enough to only add the packages into our Assembly(DLL files), so inspite of this, why do some programmer do both of them(add the packages into Assembly and also use using keywords for these packages). Thanks, Mert Thanks very much for your reply again and now I think I kept the idea. So if we want to use any class; (for instn ...Show All

  • Hoffmann No Constructors Defined

    I have yet another simple question. I know that in C# if you write a class and do not define a constructor the default base class constructor is defined for your class. I also know that if you write a class and then make its constructor private it will not be accessible to calling classes, therefore making it impossible to instantiate the class. The problem I am having is that certain classes in the C# language give an error of "no constru ...Show All

  • Dabi Windows Service

    I created a Windows Service but when I used the installutil to install it I get this error: Service cannot be started. The service process could not connect to the service controller I created a new project in VS2005 and selected a Window Service. I added a Service Installer and that is all. Do i need to add a Service Controller You have a Service Controller in you Service ...Show All

535455565758596061626364656667686970

©2008 Software Development Network

powered by phorum