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

Multiple monitor windows application

I have  an application for example one data entry screen in windows form and another form will display all the details respectively. But I want to display the data entry form in one monitor and the...

View Article


I have come across datastructures and I found complexity O(1), O(n), O(log...

when you enter into Datastructure you first see Complexity of an algorithm , O(1), O(n), O(log n), O(n log n) and O(n2).I see O(1) is constant complexity, therefore when you access a Property inside a...

View Article


ValidateCredential return True when using a String.Empty password

We use Active Directory Application Mode (ADAM) and .NET framework 4.0.We call PrincipalContext.ValidateCredential with a valid user name (and a non-empty password) but a string.empty password : the...

View Article

Trying to encrypt a config file with aspnet.regiis.exe.

Hello, I am trying to encrypt a file using aspnet.regiis.exe. The problem I am running into is the file is not the web.config file that aspnet wants to encrypt. It is a file named...

View Article

SslStream.KeyExchangeAlgorithm 44550

SslStream.KeyExchangeAlgorithm is returning value 44550, instead of one of the defined ExchangeAlgorithmType enumeration values.  I noticed that the KeyExchangeStrength is 256, which would be a...

View Article


What happened to MSDN?

Most of the MSDN content is not available online.  Except for samples, all of the other links on the home page say ' Unable to Service Request' or just 'Error'. What gives? db_csg

View Article

Homepage Updates

I have a home page that brings a lot of info from different SQL tables. However I am developing this page and would like to use the EDIT scaffolding to create its admin page.So I would have:1....

View Article

Access to file that being used by another thread / process / application

Hi.I created file to write there logs, but unfortunately there is many different threads that need to write there at the same time, so i get the usual exception that file being use by another process,...

View Article


VB Code Within HTML

My company has a web site built using HTML. I have written stand alone programs in Visual Basic which the company would now like to embed into the web site to run within the webpage without the user...

View Article


Collections DynamicallyInvokableAttribute IReadOnlyList and IReadOnlyCollection

I have a library that targets .NET 4.0, I have some internal classes that derive from System.Collections.ObjectModel.ReadOnlyCollection<>, I examine the library using reflection and generate a...

View Article

How can I know the language which user has..?

How can I know the language which user has..? e.g :  if it is English then label1.text="1" else label1.text="2"

View Article

How can I save the position of my form when it changed by the user ..?

How can I save the position of my form when it changed by the user  (after suttdown) ..?

View Article

String Concatenation

Could you please let me know what is the best method of concatenating strings out of following 2 methods. Requirement is creating text , which contains multiple rows(lines) and each row has 25...

View Article


XML Serialization With Schema Providers In The .NET Framework - How to use...

Specifically I'm asking about this example  Enrich Your XML Serialization With Schema Providers In The .NET FrameworkHow do I read and write the XML configuration for Product from a file on disk? (not...

View Article

Errors in documentation of exceptions a method could throw

Hi all,I have a general question regarding the documentation of methods which could throw an exception. The documentation (in this case .NET 4.0) makes the impression that all possible exceptions which...

View Article


[Windows 8.1/ Windows 8.1 RT/ Windows 8.1 Phone] Microsoft Sync Framework...

Hi,I have to create a project where the client applications on various devices need to be able to synchronize the local database and files. At first sight Microsoft Sync Framework (website)  seems...

View Article

Word split in Japan language and in Eastern languages

Hie...Is there any .NET api to break the content in to words in Japan/China languages?Suggest an approach to split words in those languages.Example: 21-VA-415は機器のタグである。 (Japan)                21-VA-415...

View Article


Algorithm registration on MSDN

Hi,I'm writing an engineering work for my first tech. university degree. One of the points of this work is about publishing an algorithm on MSDN. By publish an algorithm I mean something like this:...

View Article

Error while when i want to build C# program using VS 2008

when I want to build my app I get an error  Error 1 Metadata file 'c:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Data.dll' could not be opened -- 'File is corrupt.' 

View Article

.Net Compact Framework OnKeyUp Event Does Not Fire for WebBrowser Control

The KeyUp Events are not fired for WebBrowser on the MobileDevice. We are using Windows Mobile 6.5 with .Net Compact Framework 3.5.I have tried using the fix which I found in this discussion...

View Article
Browsing all 8156 articles
Browse latest View live


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