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

How to set .net framework trust level to Low for C#.net application

I have a C# app running in fully trusted zone "My computer". I have checked trust level of application under "Microsoft .net Framework configuration tool" and it is showing as "unrestricted" which...

View Article


Set Physical Hard Disk Online Offline

Hi All,i have a problem here where when i detected hard disk is going to fail soon using WMI, i would like to make the hard disk to be set as offline. May i know how can i access to get the hard disk...

View Article


"Polymorphic array"

Assume I have an array of bytes (C#): byte[] bytes = new byte[100]; I want to expose part of the array for access and found IList/ArraySegment<byte> to be quite convenient, e.g: IList<byte>...

View Article

help. asp.net with vb bug

This is a bug sometimes pops up. Can you help me to fixed this very urgent guys.System.IndexOutOfRangeException: Index was outside the bounds of the array. at...

View Article

Asp.net Identity password hashing algorithm

In the new membership system what hashing algorithm is used for password hashing? can't find it in the documentation

View Article


Designer workflow with more than one lists involved

I want to create a designer workflow which takes the values mfrom two lists.If it is possible, could you please help me with a link.Tnx

View Article

MEF2 RegistrationBuilder.ForTypesMatching not exporting the parts after...

We are using MEF2 RegistrationBuilder.ForTypesMatching for exporting the types from the class library. I have attached the sample code below. This is working fine before updating the system with the...

View Article

Attempted to read or write protected memory on any SQL connection open after...

Hi, ive installed VS2013 RTM lately and discovered that all SQL connects stopped working. They all die with the exception below. All means any program that opens an SQL connection via ADO.NET dies....

View Article


Elements of .net language.

Anyone please could you inform me about Indexes Attributes.

View Article


How to drow a chart

Hello to everybody!I need to draw a chart similar to a flow chart, starting from a structured xml file containing the informations I have to draw. It whould be great (but it also can be a successive...

View Article

vc++

Versions – Message Maps – Document/View Architecture.

View Article

WindowsAutomation fails when there is no open session

I wrote an automation program which automates another GUI application using the WindowsAutomation feature in .NET 4.0. I do not know the exact technical terms to describe this situation, but ...  it...

View Article

.NET Framework Error

I am trying to use a program and everytime I launch the program, I get this error:http://icap.me/i/hFHZPWfIBi.pngIs there anything I can do to fix this? I have already tried uninstalling and...

View Article


Windows Service Started Stage

Hi,i've develop a service which is using a method which is using wait event on start. However, when i start the service, it would not get started because the wait for next event is not triggered unless...

View Article

WIF Passive HTML form allowing caching

When using the FederatedPassiveSecurityTokenServiceOperations class from within our custom STS (ASP.NET MVC 4 site), the ProcessRequest() method correctly handles the incoming WS-FED login and spits...

View Article


Unable to refer Microsoft.Experimental.IO from VB 6.0 project

Hello Everyone,I have dll called Microsoft.Experimental.IO for handling Long File path. It is working in .net 4.0 application.But When I tried to refer the same dll on VB 6.0 application, it is not...

View Article

Assembly.LoadFrom only locking file when Server on a Domain

I am running into the dreaded Assembly.loadfrom file locking error.  But only when our server is added to our test domain.  If we remove it and put in just in a workgroup, we do not find this...

View Article


MemoryCache custom ChangeMonitor

I couldn't find any good examples of how to use ChangeMonitor classes.Here's my problem: I'm caching a few method of my Repository, building a key to uniquely identify the cached data. The cached data...

View Article

querying and get distinct from a datatable

Hi list,I have a datatable which I need to get some details from. The dt has an integer type column "mycolumn", which has data of -1 or other positive number. Now all I want to do is to take only those...

View Article

how do i close a message box programaticlly in c#

i want to close a messagebox in c# after a certain period of time how do i do it in c#

View Article
Browsing all 8156 articles
Browse latest View live


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