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

Software Development Network >> Visual C#

Visual C#

New Question

sql connection string
sending string to a Web part from a Windows application
Can this be made more efficient?
URGENT! C# Word 2003 Mailmerge by DSN
Breakpoint makes computer freeze
Get ALL the forms into a collection
IL DASM fails with C# express
simulating domain users file operations
How to Refer a C# dll over the Network into a VB6 Application
How to filter what rows of a database to show.

Top Answerers

Ahmed abd el hakim
Davidmanchester
JakeL
mido1971
D. M. More
Ehrick
tusAugusto
THERAOT
christopher_m
Andreas_R
Programmershelp: Visual
Only Title

Answer Questions

  • BKunneke How to Set columns width in a Win. Form Datagrid at runtime?

    Thanks for the help. I figured out how to make certain columns to be readonly. But I had to do this to the DataTable before its even binded to the dataGrid. Is there a better way to do this Also is there a way to set the width of each column I looked at the code above. But I think were using differnt types of datasource. Im a newby with C# so excuse me if my questions seem kinda stupid...... Im not sure how to make the code you posted above ...Show All

  • Billkamm Adding ListView Groups through code

    The following code doesn't add the group names to the listview control. Anyone have any suggestions This is coming straight out of the documentation too... private void Form1_Load( object sender, EventArgs e) { // Adds a new group that has a left-aligned header listView1.Groups.Add( new ListViewGroup ( "Group 01" , HorizontalAlignment .Left)); listView1.Groups.Add( new ListViewGroup ( "Group 02& ...Show All

  • H20 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 You can use richTextBox1.Lines.Length to find the number of lines. yup it works fine, but  what if you have one big row and the richtextbox ...Show All

  • Daniel Puzey How to check string is number or not in C#

    Hi! Enveryone: I am new in C#. I want to check whether the user input to a text box is a number or not. What is the string function to check it I do not want to use try and catch. Thank you very much! CLC If you're using .NET 1.1 then I like the following code... bool textIsNumeric = true; try { int.Parse(TextBox1.Text); } catch { textIsNumeric = false; } I know you said you didn't want to use try/c ...Show All

  • Nathan Anderson - MSFT link one form's controls to modify the main form

    How do you link one form (say an OptionsDialog) to modify the Main Form i.e. Choose options in the OptionsDialog and make them modify the Main Form Like a settings dialog... you create separate form and call it. then check it's settings and modify main form accordingly using(SettingsForm frm = new SettingsForm()) { if(frm.ShowDialog() == DialogResult.OK) { //change title for instance this.Text = frm.MainFo ...Show All

  • Arvind Bhosale What is the proposed way to define references in .NET?

    Status ------ Currently we use two different methods to define references between managed components, namely project references and .NET references to reference assemblies (details below).  Both methods are not fully satisfactory.  We would like to know: (a) Is there is a better referencing mechanism available in VS8 (better than the ones described below), or (b) does MS plan to change the support for references in future versions of V ...Show All

  • dunlapja DataGrid & ListView

    Hi. I have a DataGrid and ListView. I want, when a row is added to datagrid by user, It displays in ListView too. How can I do it use the datagrid rowadded event and when that event triggers add to the listview the last row.. ...Show All

  • Jim Cruis Word.Applicationclass problem

    hi all! I have a main form that opens a child that contains a list of MSWord documents that can be opened. The problem is that i can open 1 document, use it and close it, but i get an exception when i try to open another document from that list. The error is: RPC Server Unavailable (Exception from HRESULT: 0x800706BA). Here's the code i use: ------------------------------------------------------------------------------- ...Show All

  • MJacobsen Create updates of my Setup project…

    I make a Setup Project in Visual Studio 2005 for my application. All works well but when I’m going to distribute an update in a new builded version of my application my clients have to first uninstall my application and then reinstall the new one. I get the following error when I try to install my app again: Another version of this product is already installed. Installation of this version cannot continue. To config ...Show All

  • BrianLL System.Web.UI namesspace compile time error

    I am getting this error out of "using System.Web.UI;" declaration: The type or namespace name UI does not exist in the class or namespace 'System.Web' (are you missing an assembly reference ). I am using Visual Studio 2003 C# .NET designer. My system is Win2K Pro. I want to ultimately use class TableDesigner in my application.  Accoring to the .NET Framework Class Library the requirement for TableDesigner class is NAMESPACE (!) System.Web.U ...Show All

  • Ryan mystique whats the problem

    hello everyone, Ive been trying to get my program to click a button in another application for some time now and Ive gotten this far. I dont know what the problem with it is. this is the whole application (small for practice): using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.IO; using System.Runtime.InteropServices; ...Show All

  • flaviocunha C# generics on conversion operator and constructor

    I have so far a class Expr with a constructor taking a string, and the following two conversion operators. public static implicit operator Expr ( int expr) {    return new Expr (expr.ToString()); } public static implicit operator Expr ( string expr) {    return new Expr (expr); } I have various others, but they all get distilled down to a string using .ToString().  So, the obvious question: ...Show All

  • magja Checking if a specific handler exists

    I was wondering if there was a simple way that I can check to see if a specific handler exists for a control. I know I can simply create and set a boolean variable to true once I create the handler, but I was hoping that there was a simple way, without the use of additional variables, to check whether or not the handler has been created: My control is a TreeView, and is called tvRobot. I create the BeforeSelect handler, tvRobot_Always ...Show All

  • Budgolem Object reference not set to an instance of an object.

    The following piece of code is causing this error... this.ImageMap.MouseDown += new MouseButtonEventHandler(this.ImageMap_MouseDown); can anyone help me please check whether u have created the ImageMap object using new. Check if this.ImageMap is not null. Konstantin is correct. This error (NullReferenceException) occurs when you attempt to access a member (properties, events, methods, etc) on ...Show All

  • Anil Alex Mathew - Valiyaveetil Whither encapsulte field in Express beta2?

    Where did the refactor/Encapsulate Field option go   That was dead handy, and I was looking forward to more like it to speed development not less! Have I missed something   Is there a config option hiding somewhere to switch it back on   Or should I know how to roll my own by now UnquaLex is correct.  Express does not contain Encapsulate field.  The only refactorings in Express are Ren ...Show All

151617181920212223242526272829303132

©2008 Software Development Network

powered by phorum