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

Software Development Network >> Visual C#

Visual C#

New Question

Visual Studtio 2005->File->New Project->Shows an empty box
Desktop Sidebar using C#??
Communication Between Froms...
New code being ignored
Error on a 'Add' in a Pivotcache in Excel
How to use TypeConverter
Saving A MDI Child Form From Its MDI Parent's Toolstrip
Start up .Net Framework in Windows XP?
C# datetime
Parent and Child relationship among Forms

Top Answerers

tod
Nat Raja
ktmd
Susan22
Anoush
ArunSun
Donald Baker
Marcus Schoo
Gene R S
CalvinH
Topix: Ewan McGregor
Only Title

Answer Questions

  • Piotr Stapp Reading deom App.config in VS2005

    hi, can we use this method   "System.Configuration.ConfigurationSettings.AppSettings['Key'] " to retrieve the value of key value pair in VS 2005. Thanks in Advance. hi Jangu,       that technique was already obsolute in 2.0. you have to use like this: 'System.Configuration.ConfigurationManager.AppSettings["yourVal"]' of System.Configuration namespace. but, before this, ...Show All

  • vphil Typedef-equivalent in C#?

    I pass integer IDs to a variety of functions. I want to create a type for each ID so the compiler can check I am passing the right type. In C I would do this with typedefs. E.g.: typedef int personID; typedef int addressID; void DoSomething(personID p, addressID a) { ... } How can I do this in C# Creating an entire class seems like a lot of overhead. nullable wha (google google...) That is cool, but ...Show All

  • Agi Referencing Value Variables

    I want to do something where I can take any variable, reference type (no problem) or value, and have a reference to the data, rather than just the data (in the case of value variables). Example:             //create three objects for reference             object obj1, obj2, obj3;             //create two ...Show All

  • VIhang dinamicly memory allocation..

    does c# supprt dinamic memory allocation like c++ how Thanks! >c# can rezise to an array >Array.Rezise it will resize the array to the new specified lenth.. Well this was new to me, but is correct (is a new static method in the 2.0) >But my problem is.. I wanna make and array that is not limited.. that you can continously add something.. If dynamic resizing you were asking for is solved, what's the problem now :) I ...Show All

  • WilsonC DataSet & DataTable

    Whats the difference between the two I understand it as a datatable only contains data for a single table and a dataset can contain for multiple tables is this correct yup a DataSet can hold many DataTables. and can be referenced like this DataSet ds = new DataSet(); cmd.Fill(ds); DataTable dt = ds.Tables[0].DefaultView; DataTable dt2 = ds.Tables[1].DefaultView; You bind a DataSet to a DataAdapter (to ...Show All

  • Sam Loud c#- IXmlElementCollection in VB?

    I have a function in VB, For Each objElement In objElements If objElement.children.Item(SearchPropertyName).Text =SearchPropertyValue Then Set GetPropertyElements = objElement.children Exit For End If Next where objElement is XMlElement and objElements and GetPropertyElements is a IXMLElementCollection. can anyone suggest me how to convert it in C#, i dont know how to use XmlElementCollection, so ...Show All

  • muga What kind of ASP.Net application will be probably popular?

    What kind of ASP.Net application will be probably popular I plan to do a web service application by ASP.Net, but I don't know What kind of ASP.Net application will be probably popular. I konw that the social bookmark (such as http://www.furl.net/index.jsp ) is very popular, and that web service application is very good. I don't think my web service application for social bookmark can exceed http://www.furl.net/ . So I hope to do some other ASP. ...Show All

  • Dave Ryan Passing array into Constructor

    Hey guys, I'm using C# 2.0 and thought I would take advantage of the new params keyword (I might not even need it if someone can show me another way). I'm making a custom class that handles files that our customers upload via the upload control. I want to only allow certain types of files to be uploaded, and was going to leave this up to the consumer of this object to specify in the contructor what file types they would like to allow from a p ...Show All

  • Abhinesh Jadhav Referencing Value Variables

    I want to do something where I can take any variable, reference type (no problem) or value, and have a reference to the data, rather than just the data (in the case of value variables). Example:             //create three objects for reference             object obj1, obj2, obj3;             //create two ...Show All

  • RVlem How to set Background Image in a multiline textbox/richboxcontrol or any other control

    Hi, I need some pointers on how to go ahead with it. Thanks, No, you cannot override OnPaintBackground. The events are not fired by default by TextBox or RichTextBox, so even if your custom control can override them, nothing is accomplished. The only way I know to get the Paint events is to set the UserPaint style for the control, but at that point the control will never redraw itself... which means that if you want to c ...Show All

  • Moustafa Ahmed Call C++ dll from C#

    Hi,       I am trying to call a method from a win32Dll created in C++, from a C# program. When i do this using P-Invoke, i get an exception 'unable to find an entry point named 'xx' in dll 'yy.dll'. Could you please guide me how to call a method created in a C++ dll. it would be great if i get some simple code sample for the same. regards, vijay. First declare the method that you want to handle the call from the C ...Show All

  • davidhills Adding User control probs (Basic)

    Hi I have got a single project which has a main form and also a user control. How do I add the control to the main form, correctly Currently I have added code to the MainForm.Designer.cs file to add the probe. This builds and runs ok with the control showing, but when viewing the mainform in the development designer mode it gives error and does not give me the standard WYSIWYG Gui builder.   How do I resolve this   ...Show All

  • Kirk Marple How to call an .exe from a webservice\ASP.NET?

    Hello folks, How do I call an executable from c# webservice, ideally with parameters The webservice is running on IIS and I want to call an executable on the local drive, e.g. notepad.exe Here is my code: ProcessStartInfo psi = new ProcessStartInfo (); psi.FileName = @"notepad.exe" ; psi.UseShellExecute = false ; psi.LoadUserProfile = true ; psi.UserName = "SYSTEM" ; Process .Start( "N ...Show All

  • Ji Zhang Making a new event handler -- errors?

    I'm attempting to create an event handler for OnResize so I can resize some controls on the form accordingly but I receive an error: Error    1    No overload for 'frmMain_OnResize' matches delegate 'System.EventHandler'    C:\Documents and Settings\Vexen Empire\My Documents\Visual Studio 2005\Projects\WebBrowser1\WebBrowser1\frmMain.cs    23    29    WebBr ...Show All

  • Tomislav B. How to create local instance of the remote object

    The question is How to create local instance of the remote object For example, the server class MyClass in computer A contains a method create() to create a file in "c:\", if the client in computer B creates a remote object from A :  MyClass mc = new MyClass() and call the method create(): mc.create(), it will create a file in the c:\ of A, not B. How can I create a local instance of MyClass so that when ...Show All

555657585960616263646566676869707172

©2008 Software Development Network

powered by phorum