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

Software Development Network >> Visual C#

Visual C#

New Question

List of TreeView controls in a panel
Creating an Excel file from a DataSet (no physical database)
aligning check
Threading and events . with forms and other threads.
How to get the Application object of the current executable
How to create help file ?
MessageBox
Problem with axWebBrowser in a Multithreaded application
Abstract classes and static methods
Embedding an application written in C# in PowerPoint?

Top Answerers

Renis Cerga
FBYJ
Gecko2648
RoboSchro
Carver42
Brian A
Christy Maxine
Kunal Sarkar
David Lowrie
Rosanna
XML瑾炶█
Only Title

Answer Questions

  • Carter Medlin GridView columns

    Hi, I have a small problem with GridView. I have a DataTable with at least 5 columns, the size is variant. I want all columns except one in the DataTable to be visible. anyone know a workaround solution for this Set the size of the column you don't want to display to 0, then it isn't visable. But why do you want to add a invisable column. Store data somewhere else, it sounds like a bad design. ...Show All

  • msbeal WORKING ON APP.CONFIG ...

    Hi, I want to get a named setting created in app.config in my class library. It is working fine as an assembly. But, when this assembly method is invoked by some application, I am getting : Object reference not set to an object for the app setting I am referencing. I tried copying app.config in the directory of the application that is invoking my assembly. But still getting the same error. Any help is highly appreciated. Thanks, ...Show All

  • elix How can I create dynamic control array ?

    Please tell me how I can create dynamic control array in C# like Visual Basic 6.0 Thanks a lot ! I'll refer you to this post in which i answered the same question prior. ...Show All

  • Larry Foat move to c#

    Hi, I have been asked to convince the IT director that we should really be moving to c# instead of vb.net Any tips on this particular topic please Thanks Sure, and that's a good reason to switch. Just like if you're a C# programmer and join a team largely made up of VB.NET programmers, you should switch. I think the point is that you shouldn't switch unless there's a compelling reason to do so. Also, keep i ...Show All

  • Microtoby image in textbox

    how can i make possible to paste a image in a richtextbox... yes from an external source http://msdn2.microsoft.com/en-us/library/23kah9ca.aspx includes an example using a bitmap object from your own code (or are you trying to do an image from an external source ) ...Show All

  • jmealing Is there a sample code which can record voice and play the voice recorded, just like sound recorder

    Is there a sample code which can record voice and play the voice recorded, just like sound recorder. but I hope it can record voice enough long, you konw the record of Windows XP can only record 1 minute! In Microsoft VS.net, I can't find a record component. thanks! Are you sure that MS Speech API can record voice What I know about MS Speech API is that it is  Microsoft Text-to- Speech Engine and   it can speec ...Show All

  • Michel Paulissen How To Draw Image forms center

    How To Draw Image forms center private void Form1_Paint(object sender, PaintEventArgs e) { //code } private void Form1_Paint(object sender, PaintEventArgs e) { Bitmap bp = (Bitmap)Bitmap.FromFile(@"e:\123.jpg", false); Graphics g = this.CreateGraphics(); g.DrawImage(bp, 0, 0, 200, 300); //How draws a picture to Form1 middle ...Show All

  • ahamilton Xml Read

    How can i get the full text from the XML Like: Guilherme 16 years 14/02/1985 xxx@xxx.com This command is working but i it's listing like: Guilherme16years... I know it can be done with another way, If someone can helps, i'd be appreciate. private void Form1_Load(object sender, EventArgs e) { XmlReader reader = XmlReader.Create("Guilherme Costa Velho Miranda.xml"); reader.Read(); txtInfo.Text = reader.ReadElem ...Show All

  • Johan Strand how do i get a file from a site in c#

    how do i get a file from a site in c# if you mean want to read file that exists on specified domain..you do that: WebClient wclnt = new WebClient (); string URL = "http://www.a.com/a.txt" ; Stream strm = wclnt.OpenRead(Url); string StringYouWant = new StreamReader (strm).ReadToEnd(); something like that, but i need it to retrieve info from a site and create a data file. ...Show All

  • CaveMike How to get the project name of a project while execute it?

    for example it is the windows application project Form1_Load() { //I want to get the project name of this windows application porject here //and use the messagebox to show it to the user. //How to achieve it.Thanks a lot.  } Assembly.CodeBase is the closest you will get. I have a related question: How do you get the actual physical file name of an assembly ...Show All

  • MichaelP_Oxy default namespace

    Hi, I'm new i C#, so please forgive me this simple question : How do I obtain a string that contains the default namespace of my project Regards, Kim Hi Read about reflection (System.Reflection) To get indepth knowledge:: You can get the current information by this .GetType().FullName or about any object GetType() method and then search for the desired info in the Intilisenc Dropdown ...Show All

  • JosW webBrowser1_CanGoBackChanged event doesn't fire!?

    I created a windows forms app with a browser control embedded. Actually, it is practically the code sample found in chapter 35 of this C# book, here: http://www.wrox.com/WileyCDA/WroxTitle/productCd-0764575341,descCd-download_code.html Although, the webBrowser1_CanGoBack property does change, I can't seem to trigger the CanGoBackChanged event! Nothing outlandish here: <code> private void webBrowser1_CanGoBackChanged(object sender, Eve ...Show All

  • Mehmet Can Collection & DataGrid

    Hi. I have a collection( It write it) . In a form I want to use a datagrid that when a user fill a row of it the contents, insert in collection. In other words, with fill datagrid by user, my collection fill. Please help me I this context. How can add datagrid rows to collection what type of colletion do you have and what is your problem ...Show All

  • Charly M AccessViolationException thrown now and then

    Hello, I have an application which is stable for most of time but sometimes it unexpectedly crashes (usually after a few hours of running). I have never been able to reproduce it on my development machine. The exception is always the same: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& ...Show All

  • Thoraddict C# GUI >> how to create an internal frame (urgent)

    Can someone send me information on how create an internal frame in C#. I know how to do this in Java using "JDesktopPane". But I can't find a way to do it using C#. Set to true the IsMdiContainer property of the Form that you want to contain an internal frame then create another Form, sets its MdiParent property to be the container form and make it visible. void btnCreateInternalFrame_Click(object sender, EventArgs e) { ...Show All

86878889909192939495969798990123

©2008 Software Development Network

powered by phorum