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

Software Development Network >> Visual C#

Visual C#

New Question

How to reference GAC assemblies using VS2005- how funny is this.
Unrecognized configuration section 'connectionStrings'
[C# 2.0 b2 framework] can download c# code source of the framework 2.0b2
Customizing the default context menu of the web browser
What's the difference between += and =+?
Screen flicker
hi
byte to integer conversion - client server programming
ExecuteReader error
how to save a graphics into a jpg file

Top Answerers

DaveKoch
Bill_C
ijprest
Richard.Watson
Ashari Imamuddin
Ameet Bala
Luis Forero
n3sachde
Sherif Allam
Pankaj Sharma
El rinconcito de
Only Title

Answer Questions

  • PrakashV database

    Hi, How can i store information in a database And then when i want to read information from 1st id, how can i do it Sorry for being idiot, Guilherme Yes it will, as long as the other PC can make an valid connection to the database. Take a look at common task samples for ADO.NET in .NET Framework SDK. Here's link to online version of it: http://www.asp.net/QuickStart/howto/doc/adoplus/overviewcontent ...Show All

  • micd7 Accessing a DataGridView control from a thread that it wasn't created in???

    This is the exception I'm getting: "Cross-thread operation not valid: Control 'dgvLogResults' accessed from a thread other than the thread it was created on." I'm trying to update a datagridview with new data that has been detected in a thread that is running and polling. But I can't seem to get this to work do I have to reference the original thread somehow then access the control Sorry, " ...Show All

  • vivisad Help Button

    I turned the help button on, but I can't figure out how to set the help that is displayed when the help button is clicked then a form element is clicked. Try this MSDN article . ...Show All

  • stephen terapak 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

  • pws111 Differnce between DataSourceID and DataSource..

    What's the differnce between DataSourceID and DataSource of the GridView in Web forms Thanks Julia I also know that thing.. What I want to know is the difference of that .. If we bind the gird's DataSourceID at Design time, we can only set DataSourceID at runtime again. If we set DataSource at runtime we can set DataSource property again in our code. MSDN: ...Show All

  • SubratGaur Simple question abt inheritance tree and generic type

    The code below doesnt compile (Error 1 Cannot implicitly convert type 'A' to 'BaseString<T>') Although the idea is simple but it doesnt work with generic type. What is the "proper" way to implement that Thank you! class Base <T1, T2>{ } class BaseString <T>: Base <T, string >{ } class A : BaseString < Int16 >{ } class B : BaseString < Int32 >{ } class M ...Show All

  • kmpradeepkumar Attempted to read or write protected memory on Interop Call. What is wrong with .NET 2.0

    I have searched for answers on the net and what I have found was a lot of poeple complaining about the same error message coming from .net / win32 interop: Unhandled Exception: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. Before someone suggests to check unmanaged library ...read the code below : [System.Runtime.InteropServices.DllImport("ke ...Show All

  • Lalit Dubey Am I missing a seting in my relationship

    Hi I'm a newbie from Delphi and I am trying to build a data application. I have set up my xsd dataset but I think I might be missing something in my relationship. In Delphi when you can set relation ships the same but the big difference is when the dataset goes to retrieve the data. In Delphi a child table only fetches data from the database that relates to the parent table and not the whole table as my dataset appears to be performing. ...Show All

  • daniel sovino public data members vs. properties

    what's the real difference between public data member and properties Another difference is that a property does not have to be a variable. It can return the result of a calculation, etc. IMO this is dangerous, you never know the cost of accessing a property. However, properties that are not lightweight would reflect bad design, also. So, the reasons to use properties are: being able to expose get withou ...Show All

  • sql dev Weired behavior of Timer

    OK, this is driving me nuts: I'm changing the size of a form, when a button gets clicked. The actual changing is delayed by a timer... just for an nice effect. :-) This works fine the first time. When clicking another buttons, the form goes back to its original size. And clicking the first button again, it will change its size... When the first button gets clicked the second time, the form doesn't resize as smooth, as it did the first time. Seem ...Show All

  • RBolander How to write a function that will return the number of days in a month (not using System.DateTime)

    Please help me with the question Regards, Vinoth.N An easy solution here enum Months { January, February, March, April, May, June, July, August, September, October, November, December } int NumberOfDaysInMonth(Months month, int year) { int days = 0; bool IsLeap = false; IsLeap = (((year % 4) == 0) && ((year % 100) != 0) || ((year % 400) == 0)); switch(month) { January: days = 31; break; F ...Show All

  • Arty S Turn off space after curly brace on same line

    Can someone please tell me how to set the c# editor so that it does not place a space before a curly brace that occurs on the same line as a class/namespace definintion I just can't seem to figure it out and it is annoying the heck out of me. example: class foo { }   I want to read:   class foo{ }   It is possible in Whidbey however it is not possible in prior versions. In ...Show All

  • benconnol1y Decompiled DLL

    Hello. I've downloaded decompiled version of one dll writen on C#. And when i try to use the code in C# there is the following errors: "Error 1 The type 'dotnetWinpCap' already contains a definition for 'OnReceivePacket' C:\Documents and Settings\Owner\My Documents\Projects\MBwpcap\MBwpcap\Class1.cs 233 46 MBwpcap ", "Error 2 Inconsistent accessibility: field type 'dotnetWinpCap.ReceivePacket' is less acce ...Show All

  • David Harris How to dynamic load ASP.NET User Controls in Visual Studio 2005

    Did anybody know how to dynamic load ASP.NET User Controls in Visual Studio 2005 if I put the User Controls  in the App_Controls subfolder Here is my test code: using System; using System.Data; using System.Configuration; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; public partial ...Show All

  • g.flossmann Command promt

    Everytime i compile a program i get a command promt but it quickly disappears i cant only see it when i use wheni run it but without debugging Exmaple class Hello { public static void Main() { System.Console.WriteLine("Hello World"); } } I am leaning C# as you can see. The book im reading says" It is better to open a command promt window, change the directory containing the pr ...Show All

96979899012345678910111213

©2008 Software Development Network

powered by phorum