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

Software Development Network >> Visual C#

Visual C#

New Question

declaring 2d arrays
How to global a variable in C#?
May introduce several good books?
How to have my webcontrols come with images in them
NullReferenceException: Object reference not set to an instance of an object
access database which located in different PC
tcp/IP
Interesting Generics/Inheritance Problem
Loading html into an object
Whats New in System.Xml

Top Answerers

David Wong Chien Shiung
phouldri
chstngs
Ariadne22
shadowMan20006
zaher lafa
Phillip Georgieff
Bhawna Gupta
YasinMo
NonGT
DNC Data
Only Title

Answer Questions

  • larkahn i have error :(

    hi, can anybody help me when i want to save the record in access database and i cannot save it this is error http://www.geocities.com/qtruni/eee.JPG and this the code for save button +++++++++++++++++++++++++++++++++++++++++++++++++++ private void Savebutton_Click(object sender, System.EventArgs e) { if (sidTextBox.Text != "" && fnameTextBox.Text != "" && lnameTextBox.Text != "&q ...Show All

  • BerryB How uses the recursion arithmetic to find the maximum value and the minimum value from an array ?

    How uses the recursion arithmetic to find the maximum value and the minimum value from an array Thanks everybody :-) :-) ======================================== if (length == 1) return arr[length]; //What meaning does this code represent ======================================== tmp = maximum(arr, length - 1); //What meaning does this code represent ====================================== ...Show All

  • Jerry Hung Using an Ada generated .Net dll in C#

    Greetings, I'm currently using Ada as my main programming language. The only issue that I have with this language is that there is not any decent GUI builder designed for it, so I tried to build a test .net dll with the functions that I needed in Ada and then call it from a form built in C#. Here is an example of the code that C# executes when pressing the button of the test form: private void button1_Click( object sender, EventArgs e) & ...Show All

  • Koolchamp Calendar

    I want to develop a calendar of the current month. So which class can i use to create this. Now there are two senero, one is that if the user did not supply the month and year as argument, then our program print the current month calendar of the current year, however if the user supplies the month and year, then we have to print out the user specified month calendar of the given year. How i can do this, explain the steps that i have to do in ord ...Show All

  • Arran The type or namespace name 'WinForms' does not exist

    D:\cis 524\example\WindowsApplication2\Form1.cs(2): The type or namespace name 'WinForms' does not exist in the class or namespace 'System' (are you missing an assembly reference ) About this error, what .dll reference should I need to add Thanks alot! System.Windows.Forms There is no System.WinForms.dll in "Add Referece -->.Net". Where should it be whether my Visual Stuido has some p ...Show All

  • dreamworks Please help me with strange error while compile code

    My code works good , but when I move a method from one class to another , error occur : An unhandled exception of type 'System.NullReferenceException' occurred in Unknown Module. Additional information: Object reference not set to an instance of an object. There is no source code available for current location. Please help me , thank you. Hi. Probably you are using a method from a class that still does not get intanciated ...Show All

  • Peter Mo. How to scroll RichTextBox control to a particular line and select it

    I didn't find any method to select a specific line in RichTextBox just like goto in Microsoft Word. I know the line number where i need to go but do not find any way. Please Help & Encourage Me Using the following helper method can do the trick: private void Goto(RichTextBox myRichTextBox, Int32 lineToGo) { Int32 j = 0; String text = myRichTextBox .Text; if (line > myRichTextB ...Show All

  • MattJones Error:Not all code paths return a value

    The following method is supposed to get data from database, store them in an array, and then return it. But somehow error of "Not all code paths return a value " occured. Pls help me with this, your help is greatly appreciated! (note:DBClass etc. are class made by me, which works well without problem) public ArrayList querycolidbyupcolid() { try { DBClass db = new DBClass(); db.ConnStr = ConfigurationSettings.AppS ...Show All

  • quantum_csfb Can I use "Virtual Space" in Visual C# 2005 Express Ed?

    There is no option to set "Enable Virtual Space" in the texteditor of Visual C# 2005 Express Ed. This setting was in Visual c#. NET 2003 and I am used to it. When this option is set you can move the cursor up and down and it doesn't go the last character of each row. Is there any solution for it any setting in the registry , or anything please help Hi, Hmmm... Quite unusual. I'm using VC++ Express Beta 2 and Its there... Have you trie ...Show All

  • Gunilla Unable to update the dependencies of the project

    I have had this error every time I try to check my program into source control after making changes. The project builds and works fine until I check it in and check it back out then it won’t build. I have deleted the setup project and built a new one only to have the same problem after checking it into source control. It also givs me a warning that " Assembly ' FolderName\FileName.exe ' is incorrectly specified as a file. Any suggestions would ...Show All

  • ninja_iamindrak1234 Which ROW in DataSet gave error?

    Hi, How to find exactly which row in the DataSet gave the error when more than one row has been updated. I use the RowUpdated trigger for the DataAdapter. i.e. oracleDataAdapter1_RowUpdated(object sender, OracleRowUpdatedEventArgs e) However the e.Row does not have the row number. For example if in a 10 row data set user updates row 2 and goes to row 8, updates it and presses the Update button. Now row 2 gives a primary key violation. How ...Show All

  • NaveenS RTC Client API - How to send # and * in uri?

    I'm trying to send a call to "#98" using oSession = oClient.CreateSession(RTCCORELib.RTC_SESSION_TYPE.RTCST_PC_TO_PC, "", oProfile2, 1); //oSession = oClient.CreateSession(RTCCORELib.RTC_SESSION_TYPE.RTCST_PC_TO_PHONE, "", oProfile2, 1); oParticipant = oSession.AddParticipant(strRemoteURI, "Dummy Name"); in strRemoteURI, it works fine for SIPs and phone numbers WITHOUT the "#" and "*" ...Show All

  • Agalab Which exception to use for invalid property setting?

    What exception should we use when a property is set to an out of range value At the moment, I am using ArgumentOutOfRangeException with the 'paramName' set to the property name. I would have thought that there would be a PropertyOutOfRangeException... What do people use Addendum: I *can't* use ArgumentOutOfRangeException because Code Analysis complains that I'm not setting the parameter name correctly. I guess I'll just have to create my ow ...Show All

  • Dan3johns How do I write to a file on a shared drive on a another server on the same network.

    Hello, I'm having trouble finding a way to write to a file on a shared drive on a different server from where my console application is running.  I would also like to pass the credentials to access the shared drive as I don't want to have to set up the application in some group or have it added to the folders security permissions.  I thought about mapping the drive to the machine manually and then accessing the file that way ...Show All

  • ALiry Please help with Datasets.....

    Hi all. I'm lost in the world of datasets. I have filled a dataset (single table) from one database (Interbase using ODBC connection) and I now want to take that dataset and poplate an MSDE database table (using a sqlclient connection) with it. How do I do it All the documentation I can find refers to updating the data source the dataset was populated with, not updating a different database. Please help, Thanks in advance, Kevin.& ...Show All

444546474849505152535455565758596061

©2008 Software Development Network

powered by phorum