Quantcast
Channel: .NET Framework Class Libraries forum
Browsing all 8156 articles
Browse latest View live

Detect audio device plugged unplugged

Hi I am trying to get an event when an audio device is plugged or unplugged I was trying to use CoreAudio API I created ImmNotificationClient.cs interfaceusing System; using System.Collections.Generic;...

View Article


Json serialization if IEnumerables with JavaScriptSerializer

I just hit a (to me) surprising behaviour of the JavaScriptSerializer, in that it serializes any IEnumberable as an array. I quite often define things likeInterface IFoo : IEnumerable<Bar> { int...

View Article


Kinect under browser problem!

Hi, I have problem. I am using kinect under unity3d, my project work normal as PC project ( .exe ), but after changing platform -> Web Player kinect did not work. I download all unity asset store...

View Article

Regsvr32, Regasm, Gacutil

What are regsvr32, regasm and gacutil using for? What are the steps of registering a Dll? Do I need to install a Dll into GAC after I register it for using it in a project? How to check if a dll is...

View Article

How to Get list of local users using c#.Net

 Hi ,can any one provide solution to get list of local users under admin group Detailed Description of Problem:-------------------------------------------------I hv a local user created in my  machine...

View Article


Image may be NSFW.
Clik here to view.

String.Format: join two value in one padding

How can I do something likestring.Format("({{0}{1},10})","ABC","DEF) // ( ABCDEF) string.Format("({{0}{1},10})", "ABC", "DEF)// ( ABC DEF) I have to solve tihs operation with format. And I do not have...

View Article

SQL Connection failure, but ...

A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that...

View Article

Specify registry not found when try to access ftpWebrequest.GetResponse()

Whenever i try to access FtpWebRequest.GetResponse it throws a error that specify registry key not found. could any on please help me out. Thanks in advance.

View Article


Win 7 and MS Outlook 2010 problem

Hi,The following code used to work, but since upgrading to Win7 it no longer does (security issues??).  We use this code to send an outlook e-mail through another application.Private Sub...

View Article


What is the correct way to read from the config file?

We are doing it, I think, 4 different ways. What is the approach we are supposed to use.Some of our code is a commercial library that is used in web apps, Forms, apps, Silverlight, and more. So the...

View Article

VS2013 Windows Store Compatibility and adding Reference

HI, I want to know if I developpe my apps using Windows Store project on VS2013 I will be able after my release version to install my application in other computer without publishing it on Windows...

View Article

warning MSB3061

I always got error message:warning MSB3061 and error MSB3021.I could not solve it. Could you help?Thanks a lot

View Article

Reading event logs saved on disk

I want to read event log entries from saved event logs. For doing the same i used EventLogReader...

View Article


listbox greyed and controls locked

using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.IO;...

View Article

how many port an exe can port and why ?

Please any one help me on this question..how many ports an .net application (exe) can open? why ?NOTE: please explain me if port open is vary according to TCP,HTTP,etc.,

View Article


Image may be NSFW.
Clik here to view.

Could not load file or assembly ... one of its dependencies. Dll has public...

Hi,I build dll from AssemblyBuilder, I save it and try to reference it back to project but when start program I got this error.Dll only have 1 namespace, 1 static class and 1 static method, it can work...

View Article

how to pass criteria (condition ) to linq statement

how to pass criteria (condition ) to linq statement

View Article


X509Certificate Perfomance Issue

I'm new to .NET development, but have been a programmer for 16 years, so I'm not new to coding.  I developed this code as a C# COM object (dll) for a lotus notes application.  The COM Object  gets...

View Article

Arabic internationalization issue

Hi,I have a C# .NET application. I am using .Net Date time object. Datetime works in most of the language but in Arabic it never works. Should we do anything special for Arabic datetime format...

View Article

how to add TryParse method of BigInteger in System.Numerics

Hi there,i want to parse a string to represent as Big Integer. (Working newly with BigInteger)public static bool TryParse(string value, out BigInteger result);i know this is the function to be used but...

View Article
Browsing all 8156 articles
Browse latest View live