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

Software Development Network >> Visual C#

Visual C#

New Question

How to retrieve the key value of a listitem in C#?
Password?
How to kill a process that is not even listed in task manager?
SCCP Download
When and how the instance of a singleton object will be disposed..?
List of active users. DataGridView only choice?
StreamReader and File Position
ExecuteReader error
I'm a noob - I need some ideas on the best way to design my application in C#
What Pattern/approach suits my application requirements.

Top Answerers

Greg Hoffman
computer creations
rajesh_chd
Mandeep Singh
Henrique Mello Quintino
irin
webdev
My_name_is_Mr_Tibs
John Arlen
Alex Bell
XSBrowser
Only Title

Answer Questions

  • skiersdelight An Event Handler in a static object

    Background: I have a ComboBox designed as a simple color picker with a short finite list of choices.  To show a color bar in each choice, I handle the DrawItem event. As I would like to use the Combo box across a number of dialog forms, I declare it as a static, as follows: public class G {  public static ComboBox ColorList = new ComboBox();  static G()  {     // Copied from a standard ...Show All

  • Osama Ibrahim Problem sending e-mail automatically from asp .net page

    Hi, What do I need to do to send an automatic e-mail to someone I mean that if someone has registered on a site through a Web form then I need to send him an e-mail automatically to confirm his registration. Do I need to make some additional configurations in the Web server for doing this regards, Sandeep The only thing you will need outside of the extra code is an smtp server. This can be on your ...Show All

  • Justin Tang Windows Service and Events

    Hi there, sorry for bothering again with this toppic, but I just can't find anything about it. All my researches about windows services brought out more or less the same results: - Windows Service that falls through the OnStart()-Method and does something for one time - Windows Service with a Timer component - Windows Service with a FileWatcher component But what about other events There must be a way to to put the service to work ...Show All

  • LikeA_RokStar Abort a Thread

    hello, i have a problem that i really dont understand !!,, i cant abort a thread, my app get frozen... i have this function: socket is my Socket tcpListeer is a TcpListener listening is a bool listen is a Thread private void StartListening() { socket = null ; tcpListener = null ; tcpListener = new TcpListener(IPAddress.Any, port); try { tcpListener.Start(); listening = true ; lb ...Show All

  • MrLukas intercepting onclik

    Strange request... I have a program written in asp.net and vb. I want to try to intercept a click on a button with my program. Is it possible I explain better: i want my application (console/win/web) does click of the other program (winform).. thx Sorry, it's difficult to explain... Thx for patience I have a winform application written by another programmer with a form that contains a button that shows an image A. I ...Show All

  • Sanjeev Agrawal WDS 2.6 EID Encoding

    Hi out there- I would like to find out how to decode the mapi: url -- with the new funking data embedded into the unicode string. Hello pweyzen1, I have attached the scheme for decoding below. I hope this helps. Paul Nystrom - MSFT // // convert the string rep to the eid for it // void CEntryId::FromString(__in CString &strEIDU) { //----------- Decode with YEnc ...Show All

  • Evan_Chang MessageBox.Show method

    I am a newbie on C# language. I have installed on my system Visual Studio.NET 2003 enterprise edition. Anytime I want to display a message using MessageBox, the MessageBox shows up without any output. Even the label like OK on the button doesn't show Can someone help me Here is a sample code: using System; using System.Windows.Forms; class MyMessage { static void Main( string[] args ){ MessageBox.Show( "I am great", " ...Show All

  • Nick Stipanovich EventHandling on buttons

    hi there, i’m very new in c# and i have a question. I have some Buttons, which are dynamically created by my application, the buttons should activate or diactivate something. Now my Question, how can I differentiate between the buttons, every one should activate or deactivate another thing. For Example Button1 activates the MYSQL-Windows-Service Button2 deactivates another service. In Java it is possible to add a ActionCommand to an ...Show All

  • oriticol How to direct Drawing to a contained object (panel)?

    Hi There, I would like to draw a line within a panel on my form. Using the OnPaint event, I have been able to draw on the form object itself. Is it possible (syntatically) to direct the system to draw inside a specific control from the form's OnPaint event, or do I have to create another OnPaint event for that particular control. Thanks, Karl I'll present 2 ways to do it, code-wise, and Designer-wise. The ...Show All

  • Seyed Why is the C# team allowing this to Happen? and Why do they close threads on the topic?

    Since PJ. van de Sande Closed the last thread I opened : Why is the C# team allowing this to happen I guess because he didn't click the link or he didn't like the topic.  I brought the link information here.....  So I ask again... Why is the C# team allowing this to happen   If he closes it again, please respond here From the Blog link: From Tom Archers blog Why so many examples in Visual Basic ...Show All

  • Harry Strand gac'ing problem

    Hi, I modified some changes in dll and then gac'ed it using gacutil, still i dont see the new changes. i commented wrote some code to eventviewer, still i dont see the new changes. i also dragged and dropped into c:\windows\assembly folder and tried adding it from the UI also, nothing seems to work. i am working in vpc, but that shuld not create any problem. any one have faced such problems, help me venkat. ...Show All

  • A Wilco Assembly File

    The following piece of code is used to target an object of class Assembly to a specific assembly. Assembly asm = Assembly.GetExecutingAssembly(); Could someone please tell me where exactly an assembly file for each visual studio .NET solution is stored. i want to specify a particular assembly so that i can use the following code to get the forms present in that solution. Basicallyi want to get the form names from within a solution file that is ...Show All

  • Vinoo Cherian Read static class members from the class type

    Hello, I have a class type that I can get from typeof(MyType) and I need to access that class' static members, like in the following: class MyType {     public const string DefaultName = "myname";     // ... } Type type = typeof(MyType); //...   Now how can I access MyType.DefaultName without explicitly knowing at compile time that it's a MyType I want to put some types into a list and iterate that l ...Show All

  • wrvjohn Whidbey

    what is Whidbey mean in VS.net Whidbey is not a code... What you use for creating applications is called Whidbey(Visual Studio.net 2005 - an iDE). VS.net 2005 comes with .net 2.0 can you write code snippet for more explaning It is "vs.net 2005(with .net 2.0)" ...Show All

  • GSIL Loading .pvk file

    Dear all,   I want to use digital certificate file and the correspoding private key file instead of using 'KeyContainer' things which  all the sample code of MSDN for signing and veryfying data.   There are some methods loading digital certificate (.cer, .der) file and make new instance of X509 object but, I didn't find the method for loading .PVK file for getting private key data.   Does anyone ...Show All

86878889909192939495969798990123

©2008 Software Development Network

powered by phorum