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

Software Development Network >> Visual C#

Visual C#

New Question

buttons
Loading html into an object
Get primitive type
Lose syntax highlighting and undo
Hey, I am a noob to C# please help
Capturing image from wireless webcam
playing video file in c#
Sorting problem with GridView
Best practice
Dynamic Binding

Top Answerers

kg_masterpiece
mrjunaid21
Ross William Nelson
shadowMan20006
Golem
Kryor
oremo
srishu
Chan Nyein Zaw
nick0000000
RT脡 News
Only Title

Answer Questions

  • tongcuong How to get total memory of computer

    How to get total memory of computer by using C#. Can you instruct me, thank you very much. Is "Environment.WorkingSet" what you're looking for HTH, Take a look at PerformanceCounter(it is probably in toolbox) You can use Windows Management Instrument(WMI) in System.Management.Instrumentation   Reece Williams wrote: Is "Environment.WorkingSe ...Show All

  • Eric W. "True" OO design - sorting objects

    I have 2 classes OrderInfo and OrderManager. The OrderInfo class is the model of an Order and the OrderManager does all the work on the OrderInfo such as Insert, Update, Delete, Sort etc. I’m trying to implement sorting and have the following code in the OrderManager class: public static Collection < OrderInfo > Sort( string sortExpression, string sortDirection) { GenericComparer comparer = new GenericC ...Show All

  • Jayapal Chandran streamwriter problems

    Hi, I have an application that writes XML data from the XMLDocument object to two files.  Using the streamwriter, the xml characters are streamed to one file and then closed and then the process is repeated for the other file.  I'm testing to see what happens if there is a power failure while this process occurs.  I would expect one file to become corrupt if I pull the plug at the second my timer elapses; however, both files are c ...Show All

  • Jon Grieve select NumericUpDown value OnFocus

    Hello, How can select (highlight) the value in the NumericUpDown control OnFocus Thanks. That's because numericUpDown1.Value returns 0 instead of 0,000 (because it's a decimal and not a string). Didn't think of that example earlier when I posted the other code. Try this one: numericUpDown1.Select(0, numericUpDown1.Value.ToString().Length + numericUpDown1.DecimalPlaces + 1); it worked.. thank you very m ...Show All

  • Matthieu Massin A simple question...

    Ok. I have two textbox's and one button. I want to be able to place and integer in each textbox and press the button to add the two integers. I know this sounds simple but I have been doing VB all my life and this is a lil more complicated. I need to know for syntax experience. Thank you. Put simply, the following will do the work as long as the inputs are valid. textBox3.Text = (int.Parse(textBox1.Text) + int.Parse(textBox2.Text)).ToStri ...Show All

  • Steve_j_maas How many Lines in RichTextBox

    I've loaded a .rtf file in richtextboxt control. Now i need to know: 1) How many Lines are there pls help me & encourage me Int32 numberOfLines = myRichTextBox.Lines.Length; Sheva yup it works fine, but  what if you have one big row and the richtextbox divedes them ...Show All

  • Wilson Chew MapPoint - Displaying multiple 'routes' on the same map

    Hi, I’m using the SDK of MapPoint 2006 and I want to know if is it possible to see multiple routes on one mappoint-control I think MapPoint supports a single route at a time programmatically as well as interactively. In the object model, there is no collection of routes, there's only one ActiveRoute. I would like to know if somebody has a workaround. Regards, Jimmy Beaudoin ...Show All

  • Dietrich Schaeffler How to disable context menu in the dataGridView?

    I have a datagridview which contains columns and rows.A contextmenustrip is associated with the datagridview.But i dont want that contextmenustrip to be visible when i right click on the column headers.Is it possible to that If yes can anybody let help me how to do that thanks, ~nhd By default datagridview don't have any contextmenustrip (run mode), you are sure that ContextMenuStrip property of DataGr ...Show All

  • Dvi22 How can I remove html tags ?

    Hello friends, I want to convert Html content into plain text. More specifically, I have one HTML page. I want this to be converted into text file with no html tags inside the text. e.g. if HTML Text contains <A HREF='http://microsoft.com'> Microsoft</A> then i want only http://microsoft.com Microsoft or just http://microsoft.com or just Microsoft Is there any way to do this Rgds, Kiran Suthar ...Show All

  • Chris Patten Progromatically Get Server Name for Connection String

    We are developing a database application running on three different servers, BERMUDADEV01, NEWYORKDEV01, CHICAGODEV01. Eventually, we will put the application into production on three identically configured servers with the same names as above but without the "DEV." Currently, the connection string is hardcoded into a web services module for each server: public SqlConnection connection = new SqlConnection("Data Source=" ...Show All

  • Alexander Khimich tlbimp.exe problems

    Hello I'm working with Visual Studio Net 2.0. I have a C# with ASP-NET and a MFC-Com interface. Now, i have a problem with my assembly file. Microsoft has a workaround in http://support.microsoft.com/kb/814721/en-us . If i use this workaround, he can't compile my webside net 2.0 anymore, because he doesn't know the namespace. If i use Visual Studio Net 2005 to load the dll, he can compile the project, but i get the 'System.Reflection.Targ ...Show All

  • stranger in a strange land Visual Studio Tools for Office Startup Query

    Just starting with this technology, got a book and entered the first program: using System; using Excel = Microsoft.Office.Interop.Excel; using System.Windows.Forms; namespace ConsoleApplication { class Program { static bool exit = false ; static void Main( string [] args) { Excel.Application myExcelApp = new Excel.Application(); myExcelApp.Visible = true ; myExcelApp.StatusBar = &qu ...Show All

  • WoayChee Database and password encrypting

    I have a project that will verify login credentials from a database table containing UserID's and passwords. the application will also create them and store them into the database. my first question is, what is the best way to encrypt the passwords and, how can I code this if it's not a simple explaination and someone has a URL to explain this please include it here. Thanks. Sounds good. thanks for the expl ...Show All

  • Sarit Kommineni any samples on implementing delegates?

    any samples on implementing delegates ms-help://MS.VSCC.2003/MS.MSDNQTR.2005JAN.1033/csspec/html/vclrfcsharpspec_1_10.htm There are three steps in defining and using delegates: declaration, instantiation, and invocation. Delegates are declared using delegate declaration syntax. The example delegate void SimpleDelegate(); declares a delegate named SimpleDelegate that takes no arguments and returns no result. The example class Test {   ...Show All

  • C.T Socket Question

    I followed the MSDN example for Asynchronus Sockets. It seems to be working, but I'm having a few issues on how it works. Basically I have two Flash clients that connect to the socket server. I want to be able to send a message from one Flash client to the other. I have been successful in wrtining to the socket and returning the data to the client that sent the message. How do I get the other client to recieve data that is sent to the socket. Is ...Show All

606162636465666768697071727374757677

©2008 Software Development Network

powered by phorum