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

Software Development Network >> Visual C#

Visual C#

New Question

Why does Visual Studio 2005 starts to consume 100% of my CPU?
Where can I find free table component for VS2005?
Can I Open VS 2005 Beta 2 Projects in VC#?
Deployment
When does the return return the value
Windows XP startup issues
Determining IIS Options via C#
Can Generics solve problem of cross referencing?
Basic sample on my blog
Checking values of variable at runtime.

Top Answerers

susan_newyork
brain1610
Bogdan.B
ncage
SanthaMind
Arror
JustLearninC#
Rahu
Shteff
KasiSunkara
Mind Charger Technologies
Only Title

Answer Questions

  • MidNightQc When does the return return the value

    Hi All! I thought I had this figured out but maybe not.......... Does the return exit the function at the point where it is at ,, or does the return hold the value tell you finish the functions.... Please set me straight cause =================================== if I use this it returns a false all the time//// if ((KeyValue->ToLower()) == "accept") return true; return false; ; ==================== ...Show All

  • Trodat5430 how to add properties in Process.Start()?

    How do I add properties in Process.Start() this is my code: Process runCommand = new Process(); runCommand.StartInfo = new ProcessStartInfo("myconsole.exe"); runCommand.Start(); runCommand.WaitForExit(); However what I would like to get out is something like this in console: C:\myconsole.exe properties How can I do that You can get the output from your console as follows: usi ...Show All

  • Lev Semenets - MSFT I dont seem to have the sytem.managment namespace

    It is really strange I am trying to write a little web app that will allow auotmatic searching of certain hard drives to give status (i.e. 70% full) but I have done some research and it seems that to find such information you need to use the WMI but when I try to add the system.managment namespace intellisense does not provided me with that option when trying to add it. I manually typed in the namespace but I am unable to access the mangament cl ...Show All

  • Pentalon I ve a project which reference to others dll, i want to complie all of them into 1 dll

    I ve a project which reference to others dll, i want to complie all of them into 1 dll How to do it Thnks You can't combine multiple DLLs into a single DLL. You can take the source code from the various DLLs and add them all to the same project and then compile that into a single DLL. If you don't have the source code then you can't do what you want. The best you could possibly do is provide wrapper classes/methods around the types/func ...Show All

  • rjcox Get text from dialog box

    Hi all, I am trying to validate certain text appears in the top most dialog box (I'm validating a certain error message appears).  What is the best way to get a handle to the top most window and then validate that a specific string of text appears   I'm sure there are a million ways to do this; suggestions appreciated.   SeattleCard Hi, Do you own these top most windows I mean did yo ...Show All

  • Robert Johnson Export mail to outlook ?

    Hi - I've googled and I've asked before, but I've not found any clear examples. I want to send mail using .NET, but then place a copy of the mail into Outlook ( and as many versions of outlook as possible ), in the sent items. I want this to happen silently, with no user interaction. any help is greatly appreciated. Generally speaking, later versions of Outlook are compatible with earlier versions of the Outlook PIA. In looking fo ...Show All

  • c70070540 While Loops and Keyboard Events

    In a class I have a while loop that sends out an event while test is true as follows: while(test) {       PeriodFire( this , new PeriodEventArgs( true )); } In another class I consume the event and do some graphical work on it. this .timer1.PeriodFire += new ABIS.PeriodEventHandler( TimerOnTick); public void TimerOnTick () {    .... Do some graphical work    Application.DoEvents( ...Show All

  • Thomas Scheidegger A C# Program Failed to initialize on friends computer, please help

    Hello all, I know this maybe a stupid newbie question, but I need help with it all the same, so please bare with me. I'm a graduate student in psychology who has a BS in computer science. I am currently writing a program in C# that I need to be able to give to other researchers to use. I wrote a beginning sample and when I sent the release .exe off to a colleague to check it out an error appeared when he clicked on it that said the program faile ...Show All

  • MDiCarlo Ability to compile into previous versions of .NET?

    Hi, all! I just wondered if anyone knows if it's possible to compile for older versions of .NET I've got a network of thin clients that use XP Embedded, and I can't even get a form with a simple button to run on one! Do you mean compile 1.1 on VS2005 I don't believe so. Fortunately, MS is addressing this with "MSBEE". See http://msdn.microsoft.com/vstudio/downloads/tools/msbee/default.aspx ...Show All

  • Ro0ke Count Line

    How to CountLine in notepad file Hi! TextReader tr; ... while(tr.ReadLine()!=null) counter++; Atilla Koklu wrote: How to CountLine in notepad file You could read blocks at a time and count the \r\n occurrences. That way you avoid having to load the entire file into memory all at once. ...Show All

  • eKoast 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

  • Rodrigo Gagliardi Passing array into Constructor

    Hey guys, I'm using C# 2.0 and thought I would take advantage of the new params keyword (I might not even need it if someone can show me another way). I'm making a custom class that handles files that our customers upload via the upload control. I want to only allow certain types of files to be uploaded, and was going to leave this up to the consumer of this object to specify in the contructor what file types they would like to allow from a p ...Show All

  • elamey making toolbox available at runtime

    hey guys, i'd like my windows form to contain a toolbox that has some controls like text boxes, labels and etc. when the application starts and the form loads, i want this toolbox loaded as a part of my windows form so that the users can drag and drop the toolbox controls onto the form, alter their sizes,.. etc. can you guys please guide me about how to do this or if you know any related tutorials or something, i'd appreciate that, too. thanks ...Show All

  • jetsetwilly Problem with timer and progress bar

    I'm still pretty new to VS.NET/C#, so please be easy on me even though this is probably an easy question. I have the following code snippet in which I am trying to run a thread and have it return values so that I can update my progress bar. Every time I do so, I get the following message: "The name 'sqlProcess' does not exist in the current context." Here is the code: /////////////////////////////////////////// private void button1_Cli ...Show All

  • Peter Lillevold The display of "Create a C# Console Application"

    I copied the codes of Create a C# Console Application but the result dose not dis[lay in the dos window, it shows in a little window called "fast control platform" (in Chinese version). Why Can you try "running" the program, instead of "debugging" it   Ctrl+F5 instead of F5 ...Show All

34567891011121314151617181920

©2008 Software Development Network

powered by phorum