Microsoft Logo
Gray Pipe
Developer Network Developer Network Developer
:CreateViewProfileText: Sign in

Subscriber portal

Get tools
  • Downloads
    • Visual Studio
    • SDKs
    • Trial software
      • Free downloads
      • Office resources
      • SharePoint Server 2013 resources
      • SQL Server 2014 Express resources
      • Windows Server 2012 resources
  • Programs
    • Subscriptions
      • Overview
      • Administrators
    • Students
      • Microsoft Imagine
      • Microsoft Student Partners
    • ISV
    • Startups
    • Events
  • Community
    • Magazine
    • Forums
    • Blogs
    • Channel 9
  • Documentation
    • APIs and reference
    • Dev centers
    • Samples
    • Retired content
search clear
We’re sorry. The content you requested has been removed. You’ll be auto redirected in 1 second.
Ask a question
Quick access
  • Forums home
  • Browse forums users
  • FAQ
Announcement: 1

Visual C# announcement

  • Link
    Do Not Ask Windows Forms or WPF or ASP.NET Questions Here (Open to Read Where)
    Reed Copsey, Jr Monday, August 31, 2009 2:13 PM
    This forum is for C# related question. GUI questions become very unclear if its a WPF or Winforms or ASP.Net related question.

    Please post any GUI related questions to the target forum:

    Windows Forms General
    Windows Presentation Foundation (WPF)
    ASP.Net forums

    depending on what you are working on.

    The C# forum is for C# related questions on the language constructs and not indirect component usage. THX

  • Remove From My Forums

Forums [ view all ]

Selected forums

Clear
Visual C#
x
Filter : All threads
All threads
Answered
Unanswered
Proposed answers
General discussion

No replies
Helpful
Has code

All languages
Sort : Most recent post
  • Most recent post
  • Most recent thread
  • Total votes
  • Total replies
  • large check mark
    2 Votes

    Who will be crowned the First C# Guru of 2017!!

    Visual Studio Languages
     > 
    Visual C#
    Time for a fresh start! [The Guru is the means of realisation. "There is no knowledge without a teacher."] We're ...
    Sticky | 0 Replies | 113 Views | Created by [Kamlesh Kumar] - Monday, January 02, 2017 7:14 PM
  • large check mark
    4 Votes

    Frameworks, Programming for .NET, Display technologies and the like

    Visual Studio Languages
     > 
    Visual C#
    We have to re-ask the same questions a lot from new posters. And with the addition of .NET Core questions are only going to get more complex. So my usual deal for ...
    Sticky | 6 Replies | 2351 Views | Created by Christopher84 - Tuesday, June 21, 2016 8:11 PM | Last reply by Mojtaba Nava - Wednesday, November 16, 2016 5:12 PM
  • large check mark
    9 Votes

    Where is the correct place to make posts regarding ASP.NET, SQL or another topic that is not related to C#?

    Visual Studio Languages
     > 
    Visual C#
    Where should I make my post? For ASP.NET create the post at the ASP.NET forum. For T-SQL (Transact-SQL) create the post at the T-SQL ...
    Sticky | 3 Replies | 8782 Views | Created by Eyal Solnik - Monday, February 17, 2014 11:46 AM | Last reply by Simple Samples - Friday, April 29, 2016 7:21 AM
  • large check mark
    6 Votes

    Contributors: How to avoid aiding the development of malicious code

    Visual Studio Languages
     > 
    Visual C#
    I would like to ask our community to take a brief moment to consider the outcome of answering a question before doing so. Sometimes a question can lead down a path to examples of how to ...
    Sticky | 0 Replies | 36410 Views | Created by Rudedog2 - Thursday, August 04, 2011 9:40 PM
  • large check mark
    5 Votes

    Visual C# Samples, Specifications, Quick Reference and Visual C# General FAQ

    Visual Studio Languages
     > 
    Visual C#
    I am excited to announce the availability of the following FAQ paper which lists some of the questions frequently asked by the Visual C# General forum members. This material should not be ...
    Sticky | 5 Replies | 164655 Views | Created by Xiaoyun Li – MSFT - Wednesday, April 08, 2009 2:00 AM | Last reply by Kareninstructor - Sunday, November 13, 2016 5:53 PM
  • large check mark
    0 Votes

    Securing client/server connection

    Visual Studio Languages
     > 
    Visual C#
    Hi all, I wrote a client/server program. Connection is an internet based. When a client connects to the server, I need to make sure that he/she is an authorized client. Clients are ...
    Proposed | 26 Replies | 470 Views | Created by FromJava2016 - Thursday, December 22, 2016 7:30 PM | Last reply by FromJava - 3 minutes ago
  • large check mark
    0 Votes

    CLIENT TCP IP RECEPTION UPDATE PROBLEM

    Visual Studio Languages
     > 
    Visual C#
    HELLO YOU ALL, PLEASE HELP ME, I HAVE A PROBLEM WITH DE NEXT CODE PROGRAM, THIS CODE WORK, BUT IT HAVE A DELAY OR SOMETHING, ONLY FOR RECEPTION DATA. SOMETIMES THE SERVER HAVE SEND ME THE DATE SEVERAL ...
    Unanswered | 1 Replies | 37 Views | Created by JGLU - 19 hours 38 minutes ago | Last reply by Wyck - 11 minutes ago
  • large check mark
    0 Votes

    VS2013 C# .net4.5 , add existing service reference to a new project in a new solution

    Visual Studio Languages
     > 
    Visual C#
    I have a VS2013 C# .net 4.0 solution and one of the C# projects (console application ) has a folder called "Service References". In the folder, there are two ...
    Unanswered | 3 Replies | 54 Views | Created by usa2015usa - 1 hour 49 minutes ago | Last reply by CoolDadTx - 12 minutes ago
  • large check mark
    0 Votes

    Variables Retain Value From First Pass

    Visual Studio Languages
     > 
    Visual C#
    In my syntax below, why do my variables never iterate to the second value in testList.  For example, my variables ALWAYS return the values for XXXXXXXXXXXX and never move to return the ...
    Unanswered | 4 Replies | 120 Views | Created by SandwichesForLunch2017 - Monday, January 09, 2017 3:48 PM | Last reply by Wizend - 14 minutes ago
  • large check mark
    0 Votes

    Visual Studio 2015 edit encapsulate field

    Visual Studio Languages
     > 
    Visual C#
    i try to edit the "encapsulate field" snippet from: C:\Program Files (x86)\Microsoft Visual Studio ...
    Proposed | 2 Replies | 43 Views | Created by 5p1k3md - 23 hours 5 minutes ago | Last reply by CoolDadTx - 1 hour 24 minutes ago
  • large check mark
    0 Votes

    Common Derived class for Multiple base classs

    Visual Studio Languages
     > 
    Visual C#
    public class MoveAxisActuatorFake : MoveAxisActuator { public MoveAxisActuatorFake(IWorker w) : base(w) { ...
    Unanswered | 1 Replies | 23 Views | Created by Its me Gopi - 3 hours 23 minutes ago | Last reply by CoolDadTx - 1 hour 35 minutes ago
  • large check mark
    2 Votes

    whats eject usb drive API ?

    Visual Studio Languages
     > 
    Visual C#
    i need a API or way  for Eject USB Drive like flash memory in c# , plz help me
    Answered | 12 Replies | 7307 Views | Created by Omid Mohamadi - Saturday, April 28, 2012 5:37 PM | Last reply by Fernando Soto - MCSD - 1 hour 57 minutes ago
  • large check mark
    0 Votes

    Anyway to get the stdin handle of an external program?

    Visual Studio Languages
     > 
    Visual C#
    Is there anyway we can get the handle to the stdin of an external standalone program? Suppose in program A we've written soemthing like: var stdin = ...
    Unanswered | 2 Replies | 28 Views | Created by deostroll - 6 hours 1 minutes ago | Last reply by deostroll - 5 hours 21 minutes ago
  • large check mark
    0 Votes

    Difference between Read(),Readline() and ReadKey in C#

    Visual Studio Languages
     > 
    Visual C#
    Can someone give me some Example to understand about               Difference between ...
    Unanswered | 4 Replies | 57 Views | Created by New of C Sharp _Jase - Monday, January 09, 2017 7:16 AM | Last reply by Christopher84 - 5 hours 31 minutes ago
  • large check mark
    0 Votes

    Ejecting USB drive using DeviceIoControl command - It does not work for all the devices

    Visual Studio Languages
     > 
    Visual C#
    Hi, I am developing a tool which ejects USB drives who dont comply with our internal policy. I check several ways to do the ejection ...
    Unanswered | 1 Replies | 28 Views | Created by jacortijo - 8 hours 20 minutes ago | Last reply by Castorix31 - 7 hours 26 minutes ago
  • large check mark
    0 Votes

    Using a variable accross Test data in selenium c#

    Visual Studio Languages
     > 
    Visual C#
    Hi All, I am using selenium webdrivr c#. I need a variable which will be available for each datarow. If i declare a variable in Test Method, the scope of that ...
    Unanswered | 1 Replies | 46 Views | Created by Prahalnathan - Monday, January 09, 2017 4:41 AM | Last reply by Wendy Zang - 7 hours 56 minutes ago
  • large check mark
    1 Votes

    c# My encrypt and decrypt function is not working some time

    Visual Studio Languages
     > 
    Visual C#
    when i am passing normal alphabet to my encrypt and decrypt function then it is working as expected but when i am passing alphanumeric text to encrypt and decrypt function then it is not ...
    Proposed | 3 Replies | 131 Views | Created by Mou_inn - Friday, December 30, 2016 3:31 PM | Last reply by Mou_inn - 8 hours 3 minutes ago
  • large check mark
    0 Votes

    convert xlsx to txt

    Visual Studio Languages
     > 
    Visual C#
    How do you convert an .xlsx file to a .txt file without excel, Microsoft.ACE.OLEDB.12.0 or anything else that requires a download?
    Unanswered | 4 Replies | 54 Views | Created by AliceW27 - 16 hours 25 minutes ago | Last reply by Castorix31 - 8 hours 6 minutes ago
  • large check mark
    0 Votes

    Problem to length of decrypted value

    Visual Studio Languages
     > 
    Visual C#
    Hi, How to avoid THIS PROBLEM  Invalid length for a Base-64 char array or string. Description: An unhandled exception occurred during the ...
    Answered | 10 Replies | 117 Views | Created by HuaMin Chen - Saturday, January 07, 2017 1:46 PM | Last reply by WayneAKing - 8 hours 41 minutes ago
  • large check mark
    3 Votes

    How to check if same client is reconnected in client socket

    Visual Studio Languages
     > 
    Visual C#
    Hi, I make a client-server application using wpf. In server application, all connected client is added to listbox and all client has a countdown timer and online-offline icon in that list. Server app ...
    Unanswered | 4 Replies | 88 Views | Created by ichigo56 - Saturday, January 07, 2017 12:27 PM | Last reply by Wendy Zang - 9 hours 2 minutes ago
  • large check mark
    1 Votes

    How do I rectify string encoding differences with Binarywriter between .NET 3.5 and 4.0?

    Visual Studio Languages
     > 
    Visual C#
    I have two apps that need to communicate with each other using the BinaryReader and BinaryWriter. One app is writing a string to a byte array using .Net 4.0 and the other attempts to read the string ...
    Unanswered | 3 Replies | 111 Views | Created by jyumai - Friday, January 06, 2017 1:29 AM | Last reply by Wendy Zang - 11 hours 59 minutes ago
  • large check mark
    0 Votes

    how can i use LZW compression for bitmap images?

    Visual Studio Languages
     > 
    Visual C#
    hi everybody i see many implementations for LZW technique for text compression in c#, can i use this algorithm for compress bitmap images , how it will ...
    Unanswered | 5 Replies | 122 Views | Created by zxaseel - Monday, January 09, 2017 3:46 PM | Last reply by zxaseel - 13 hours 35 minutes ago
  • large check mark
    3 Votes

    How to use System.Net.Mail without hard-coding NetworkCredentials?

    Visual Studio Languages
     > 
    Visual C#
    I have a program I'm working on trying to find out how I could do this. Currently I'm using System.Net.Mail to send smtp messages. Our smtp server (office 365) requires authentication to ...
    Proposed | 6 Replies | 130 Views | Created by Deepak RA0 - Wednesday, January 04, 2017 6:23 AM | Last reply by Wendy Zang - 13 hours 51 minutes ago
  • large check mark
    0 Votes

    Opening an item from a listbox

    Visual Studio Languages
     > 
    Visual C#
    Hello, I am working on a simple application that I have ran into a snag. Currently I have a listbox being populated from a network directory.  ...
    Unanswered | 4 Replies | 118 Views | Created by fodelement - Friday, January 06, 2017 8:55 PM | Last reply by Wendy Zang - 15 hours 3 minutes ago
  • large check mark
    0 Votes

    Connecting sql server with asp.net website

    Visual Studio Languages
     > 
    Visual C#
    How do I mention sql server name without backslash(\) in connection string of a website in vs15 since it acts as an escape charcter?
    Unanswered | 2 Replies | 46 Views | Created by DivyaVadhyar - 19 hours 3 minutes ago | Last reply by SnapJag - 17 hours 51 minutes ago
  • Items 1 to 20 of 103954 Next ›
Announcement: 1

Visual C# announcement

  • Link
    Do Not Ask Windows Forms or WPF or ASP.NET Questions Here (Open to Read Where)
    Reed Copsey, Jr Monday, August 31, 2009 2:13 PM
    This forum is for C# related question. GUI questions become very unclear if its a WPF or Winforms or ASP.Net related question.

    Please post any GUI related questions to the target forum:

    Windows Forms General
    Windows Presentation Foundation (WPF)
    ASP.Net forums

    depending on what you are working on.

    The C# forum is for C# related questions on the language constructs and not indirect component usage. THX

Microsoft is conducting an online survey to understand your opinion of the Msdn Web site. If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site.

Would you like to participate?

  
Privacy statement
Help us improve MSDN.
Visit our UserVoice Page to submit and vote on ideas!
Make a suggestion

Dev centers

  • Windows
  • Office
  • Visual Studio
  • Microsoft Azure
  • More...

Learning resources

  • Microsoft Virtual Academy
  • Channel 9
  • MSDN Magazine

Community

  • Forums
  • Blogs
  • Codeplex

Support

  • Self support

Programs

  • BizSpark (for startups)
  • Microsoft Imagine (for students)
United States (English)
  • Newsletter
  • Privacy & cookies
  • Terms of use
  • Trademarks
logo © 2017 Microsoft