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

Software Development Network >> Visual C#

Visual C#

New Question

Which Namespace contains NullToString ?
How i can Embed swf file in the form..?
C# express beta 2 and WM Encoder sdk 9 does not work.
automatically select a combobox choice
C# Immediate window problem
connect to SQL Express 2005
Emacs keybinding blues
File.encrypt method
VB.net verses C#. Which is used more. Which more popular
Read the current open project in a C# add-in

Top Answerers

Jack-Jack
rose-man
Jams
Nirupama
gavwel
Alex Belik
Ramraj Balasubramanian - MSFT
DRoden
Studix
Serzh
Visual
Only Title

Answer Questions

  • Maheswari Insert String into Bitmap Path

      What am I doing wrong I simply want to add the "im" field at the end of the path, so that the correct jpg is shown.  I've created filestreams and everything works fine for the the text fields.  The images are located in the "Program Files\SmartDeviceApplication1" directory, as is the XML file.  If I type in the actual name of an image, it works, but of course the image is shown for every entry.  (So I know the dir ...Show All

  • jeffg90 sql connection

    I haved installed SQL Servver 2005. I am trying to make a connection to it in VS.NET. I get a error that says "Can notr make a connection to sql server. This may be due to the fact you have remote connections turned off. I change this settings and still have the same problem. Do you know why Cisco I got exact same error, and remote connections were enabled for my server too. This error message ...Show All

  • hailey C# net 2.0 send mail SMTP server~~error

      =========================== Invalid length for a Base-64 char array. =================================== System.Net.Mail.SmtpException: Failure sending mail. ---> System.FormatException: Invalid length for a Base-64 char array. at System.Convert.FromBase64String(String s) at System.Net.NTAuthentication.GetOutgoingBlob(String incomingBlob) at System.Net.Mail.SmtpNtlmAuthenticationModule.Authenticate(String challenge, NetworkCreden ...Show All

  • hysenlici another question with sockets

    hi, Does the beginreceive method (non blocked ) wait for data from server indefinately / or is it suppose to wait for the data to arrive at all (meaning process it only if it is available) In my program, the server sends my program a string "username" that i receive. I repply appropriately using beginsend method and it's callback. Server repplys me with string "Password" which i repply as well. However, after authen ...Show All

  • NeedSQLHelp Transparent background

    Hi, Is it at all possible to give a label or another control a transparent background I want to display text, and in most cases the ability to click on it, without spoiling the background image of my panel or form. Regards,   Guido Hi Guido Some controls do support transparent background color including Label, LinkLabel, Panel, RadioButton, CheckBox. For those controls just set the BackColor property ...Show All

  • King_Xerxes Sockets

    How can I handle over 1000 live sockets each client socket is almost always reading / writing few bytes is it really practical to create a thread for each socket what is the best wat do handle this kind of a problem thanks,             Shimi. hmm async socket isnt "like" threads anyway got up with anotehr idea.. creating 10 threads which each wi ...Show All

  • !! v31462 !! Convert

    I'm very new to c#, and want to be able to take a string from a textbox, convert it to int, do some calculations with it, then convert it back to string. Presuming A is the string value and b is the int value, what piece of code would perform the conversion, and then back again. thanks string a = Textbox.Text; int b = int.Parse(a); b = b * 2 + 7; Textbox.Text = b.ToString(); Cheers, Greg ...Show All

  • xDev Adding multiple records into a database from a list box selection.

    I'm trying to figure out how to get what is selected in a list box to be added to the database, but as a seperate record for each item. Here is what I have so far, but when I compile I get an error that "Listbox does not contain a public definition for 'GetEnumerator'. Has anyone done this before or know how to do this Thanks for all of your help protected void btnAddUsers_Click( object sender, EventArgs e) { foreach ( Li ...Show All

  • tkmiller How To Return Null From Class Instantiation

    I usually answer the questions, not ask them  .... but today I'm asking : If I have a class to instantiate and there exists the possibility that there may be problems instantiating that class, how can I have the instantiation return null I know that one way out is to throw an exception in the constructor, but we all know how expensive exceptions are. I'd rather have the instantiation be null and have to test for a null: MyCla ...Show All

  • eappell Programming in C# but looking for RTC forum to report a bug.

    I'm programming in C# using the RTC client 1.3. I'd like to report some issues and inconsistencies, but I can't find a forum for it Where is the best place to include them Thanks, Gustavo. You should file bug reports and suggestions for the product teams at the Microsoft Product Feedback Center: http://lab.msdn.microsoft.com/productfeedback/ Thanks. ...Show All

  • SViking Returning different class types at different levels of inheritance.

    What is the 'correct' way to : 1) Enforce derived classes provide an overriden method Parent AND 2 ) Each Parent returns a different class So Kid.Parent returns a Father, Father.Parent returns a GrandFather All of the classes derive from a base class - let us say Adam. Adam's Parent method cannot be abstract because overriding Adam's method requires that the return type of the 'get' is the same. If Adam has abstract pub ...Show All

  • CSHALL Please help - Problem with FileSystemWatcher

    Dear Experts, My application is using FileSystemWatcher to monitor the file status of a particular folder location. As you know, FileSystemWatcher supports the following file events: - Created - Deleted - Changed - Renamed That means, when a file is created, deleted, changed or renamed the FileSystemWatcher can detect and response. However, how about if my folder already contains some files inside before the starting up of my applicati ...Show All

  • forcedfx How do I call unmanaged function : func(char* format, ...) from C#

    Hi, I have a variable argument function similiar to "sprintf" in an unmanaged DLL which I'd like to call from C#. Is there a way to do this I declared the function in C# as follows but how do I specify the variable arguments [ DllImport ( "xxxxx.dll" )] [ return : MarshalAs ( UnmanagedType .Bool)] public static extern bool unmanagedFunction( String format,             ...Show All

  • RobinCurtis Windows defender (Beta 2) GUI

    Hi, Have u seen windows defender (beta 2) Its Graphical User Interface attracted me. Can anyone give me idea about creating such UI where the Forms(white part) are scrollable & there are some control on the top. Please Help & Encourage Me ...Show All

  • wll Constructor Chaining in C#

    Dear All, I am actually new to Object Orientated Programming. I was just studing about Constructors  and I came across the concept of Constructor Chaining.Can some 1 explain me about what is this constructor chaining.I know it means that we can call one constructor from another constructor. I have tried 1 example which is as follows: class Class1 { private string e_name,e_JobTiltle,e_Address ; private Class1( string name ...Show All

676869707172737475767778798081828384

©2008 Software Development Network

powered by phorum