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

How to authenticate user and password in .net against SUN LDAP?

I need to authenticate normal user and password, but I don't know the exact path of user. I only know his uid and password from input. I can connect to SUN LDAP and query using code as below...

View Article


SSLStream.Read() method unexpected state

Hi,I am building an desktop application that requires to be a SSL Server via TCP/IP communication.Initially everything is working fine. I am able to start the listener, connect to a SSL client,...

View Article


Event Viewer screen inside how to get particular event details an XML format...

Event Viewer screen inside select any particular event and double click on the selected event, than event properties window will be open and go through the details section, you can see the two option...

View Article

Get running instances of Word by Service ..

Hi,Is there any way to access ROT by service ?? I'm trying to get titles of all the running instances of MS Word thru service by using Marshal method ..thanks and regards.

View Article

Resolving and loading referenced assemblies outside application root directory

Hi,We have the following deployment structure:1. Client assemblies - C:\MyProduct\Client\2. Server assemblies - C:\MyProduct\Server\On our test environment, we create an extra folder which has all the...

View Article


RunWorkerCompleted executed in non UI thread

Hi all,Our application is a huge mixed mode application. The code is so huge, and has been and still under development from MFC era. So most of the stuffs are VC++ and MFC, and some of the UI is...

View Article

ServiceBase.OnPowerEvent problem

I implemented a windows service that must send a message when the system enters suspend mode. I have set CanHandlePowerEvent and override OnPowerEvent method and I get the power events fine (more or...

View Article

"internal" CachedVary and OutputCacheEntry classes

Hello all,We want to create a custom output cache provider using a strongly-typed serialization ( don't want to use "object" type). Since System.Web.Caching.CachedVary and...

View Article


Custom Compiler warning

Hi,I have a requirement which am not sure how to do it. We have overridden few base .net types like BackGroundWorker and others and introduced custom methods to it. Now In the application, I need to...

View Article


simple inter-thread communication

I have data packets being recieved by two different threads within an application.Both threads use a common thread to decode the incoming packet.Currently, I use a mutex to co-ordinate so that the...

View Article

BackgroundWorker,DoWork and runWorker

I have not understood the syntex used in the programm using this

View Article

RunWorkerAsync with parameter disadvantages

what are the disadvantages of using RunWorkerAsync(object o) parameter instead of using RunWorkerAsync() without parameter

View Article

GetKeyState recently fails for VK_SHIFT

I have a Windoes Forms application that uses toolbar buttons with click handlers. For some of these buttons, there's an alternate meaning if the Shift key is pressed while clicking the button. This has...

View Article


Binding the second data of a list to the textproperty of textbox

I defined a textbox and a list, the list has two data, every data has three properties named "Name", "Age" and "Sex". I want the bindind  the "Name" of the second data of the list to the textproperty...

View Article

How to create SetupWizard for web application using asp.net(Visual studio 2010)?

Hi All  I want to create a setup wizard for web application using asp.net(Visual studio 2010).Since i new to this topic please advice me  step by step procedure to deploy my solution into production...

View Article


error: Call rejected by the Callee

hi,I have created an windows service for sending the mails automatically through outlook. whenever i run the service i get the following error System.Runtime.InteropServices.COMException (0x80010001):...

View Article

MD5 Decryption

Hi,following logic was used to encrypt the password.  public static string Encrypt(string sPassword) {            System.Security.Cryptography.MD5CryptoServiceProvider x = new...

View Article


How to reinstall NuGet packages installed using a different target framework?

After I ported an app from VS 2010 into VS 2013 (RC) and upgraded the .NET target from 4.0 to 4.5.1, I got this  warning: Some NuGet packages were installed using a target framework different from the...

View Article

Public variable vs Property variables

Hi, Can you please provide me the details in depth with example.Why and where we can make the differences between Public variable and Property variable? Also in terms of Object oriented. Something I...

View Article

Active Directory: how to find AD user by his client certificate

I need to find username from active directory based on x509 client certificate mapping from signed xml document.

View Article
Browsing all 8156 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>