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

Software Development Network >> Visual C#

Visual C#

New Question

ref parameters & memory
Save Combobox items to file (not .txt)
Write to C# Immediate window in 2005
Accessing POP3 EMails ******
GUI Problem
Editor
RTC Client API - How to send # and * in uri?
Raise an event from a User Control.
Address bar error
TextBox

Top Answerers

RowdyData
Tech Guy
Kukulcan
Hoahai
icipos
david sette
James Lett
Andrej Ruckij
Carol Prochnow
Alistair_2005
ADO.NET's Primary Objects
Only Title

Answer Questions

  • nikonek Application.Exit

    Ok. Can someone tell me how to when the application closes to perform a function..maybe something like this. if (application.exit == true) { MessageBox.Show("Are you sure"); } Use the FormClosing event. private void OnFormClosing( object sender, FormClosingEventArgs e) { e.Cancel = DialogResult .No == MessageBox .Show( "Close " , "" , MessageBoxButtons .YesNo); } Works for me ...Show All

  • b1zaphod midi and .NET

    Hi! Is there any possibility to use midi with c# I need to read midi timecode from a midi in device. thanx mindblower :-) Thanx Chris! How can i read in Midi-Messages from a midi port with MCI If i'm not wrong, all i can do is "remoting" a MCI device... (play, stop, etc.) mindblower :-) Hi, You can play Midi files in C# using Media Control Interface, see here: http://dotnet.org ...Show All

  • TLevin10 Visual Studio to LINUX?

    I'm wondering if the software That I develop in Visual Studio (6.0, .NET 20002 or 2003, 2005) would run in Linux. If it is possible, HOW Tnx. Thanks. but I'm still reading all about this mono. Check out http://www.mono-project.com It's an implementation of the .NET runtime for Linux/MacOS/... ...Show All

  • rmcbeth Well Done !!!

    Well Done Microsoft!!! I think The graphics class is the most iritaiting class of all, when u need an object of it you have to do 30 other things to get an graphics object, no offence but if u wanted to make the hardest thing to draw something u really done it, and i`m not talking about Paint Event Why didn`t let the constructor of the graphics class public (maybe u did have your reasons, mabe it was the only way, but heck man u are the MICRSO ...Show All

  • supi How can I use C++ code in visual C# application???

    Good night guys! If U have seen the subject, U can understand I have a problem. I have a C++ source code programm and I need to use it in a visual C# application but i am just learning this lenguage. I don't know if visual C# and C++ are compatible or not. I hope U can tell me something about this.....I'm in a crossroad. I wait answer. Thanks for all Nobody answer me.... Help pleas.... See you Stefano ...Show All

  • Schwab- How does Collections.Hashtable arranges its values ?

    In a loop I'm adding key as strings into the HashTable collection and value as DataRow. The strings I'm adding are in Ascending order....but after my loop ends, I'm checking the Hashtable collection ....I'm surprised that it is not in Order where it got added....It does its own rearrangement why is it so Thanks Daniel! So, If I instanciate the HashTable with its count, is that will maintain the order ...Show All

  • gayathri_100 Using fields as parameters in a method

    I have a requirement in a project to build a history. No biggie, but there are dozens of bool fields and processing each one is very time consuming. My approach is to add a field name to an arraylist when the property is changed. OnSave() or Dispose() I look into the object and check to see if the field list is empty or not. If not, I process the list looking at each item comparing it to a clone of the original object so that only true change ...Show All

  • sgrussell MdiParent Is NULL

    I activated an MDI child using the following code : MyChildForm myChildForm = new MyChildForm(); myChildForm.MdiParent = this; myChildForm.Show(); however, in the childForm thid.MdiParent = null. the Parent form isMdiContainer ... Pls help !!! Maybe you can try this: myChildForm.Show( this );   HTH Bye. ...Show All

  • dboone Confused about some OOP concepts... good resources to learn?

    (I am sorry if this isn't the right forum for this sort of question, but there doesn't seem to be a "General Programming questions" forum here... feel free to move it or delete as necessary) Anyways, I have a lot of programming and C# concepts down, but I'm having a devil of a time coming to grasps with object-oriented programming (I've watched the C# Express videos that deal with it, and the VB.NET ones, and the other ones from Lea ...Show All

  • Jesse Arnold Adding Attributes Dynamically generated CheckboxList

    Hi, I am using CheckBoxList control and Adding checkboxes dynamically based on the results. Here is my code foreach (Site s in Sites) { ChkSites.Items.Add ( new ListItem(s.Description)) } I would like to add Attributes to each of the above generated Checkbox ListItem. The following code is adding attribute to the CheckBoxList control, but I want the attribute to be added to ListItem. foreach (Site s in Sites) { ChkSit ...Show All

  • DavBrook How to zip files using C#

      Hi guys, i was wondering if there is any form of API found with the .NET which allows a develope to zip up the files nedeed pls See http://forums.microsoft.com/msdn/ShowPost.aspx PostID=106888 Hi, you can zip files using the SharpZipLib . A quick search of MSDN is all you need to find some good starting points: http://search.msn.com/results.aspx q=C%23+zip+site%3Amsdn.microsoft.com&FORM=QBRE Of particul ...Show All

  • jarekb Getting the mouse location

    Hi All, Hope someone can help me with this: I have a form with a single image control on it. When I click, drag and release the image control, I want to the image control to move to the new location. Using the MouseEvent args of the Image control isn't much help here as the co-ordinates are local to the control itself. I thought about using the form's MouseEvent args, however if I'm clicking and dragging the image control, the Form's MouseMove e ...Show All

  • XTheSimpleton PrintDialog doesn't remember printer settings

    I have PrintDialog instance in Windows Form class, which is called by Page Setup command: printDialog.ShowDialog(); User selects this command, changes some settings (for example, sets Portrait orientaion) and press OK. If command is executed again, dialog returns to it's default state. Interesting that PrintDocument is printed according to last settings, this means, they are kept somewhere. But PrintDialog itself resets them to default ...Show All

  • Lord_of_The_Rings Tree Representation

    Hi I have some array in C# which i want to represent in a tree form. Actually what i need to do later on when implementing the algo is the traversal from roots to each leaf alternately. I want to know which data structure should i used to represent a tree What should specify a root and then what should specify a leaf I can do it i think on creating a custom class easily, but is there a default one available Thanks a lot for your kind perusal ...Show All

  • oaktown Class specification in C#

    My situation is that I have a console application which works fine as is. It consists of three programs of which one is Main and the other two are methods called by Main. The three are enclosed in a common class definition: public class WAVfile What I would like to do is be able to associate the same two subroutines with other Main programs. It would seem reasonable to me to separate what I have into two .cs files, so I could keep one of t ...Show All

636465666768697071727374757677787980

©2008 Software Development Network

powered by phorum