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

Managed Direct X

Hi,Does Managed Direct X  supports on Windows 8.1I tried to load a video using Microsoft.Directx.AudioVideoPlayback. I'm getting an error saying Error in Application.Thank You!

View Article


dot net interop failing to get data from .net dll called from native code on...

Hi,I have developed a CSharp.Net dll that is getting used by native code in c++ using interop. I am using event sink technique to consume the data from dot net dll.The work is going fine on 32 bit...

View Article


How to Allow Different Versions of DLLs to Co-Exist in Same Process

We are working on a VB.NET DLL “MyDLL” for product “MyProduct” that references DLLs “Utility1DLL” and “Utility2DLL”, which another company creates. Our customers will create EXEs and DLLs that...

View Article

CngKey.Create throws "The requested operation is not supported." during key...

HI,I try to import key from blob using "Microsoft Software Key Storage Provider". This is my code:byte[] keyBlob = File.ReadAllBytes("c:\\privkey.der"); string container = "MyContainer"; CngProvider...

View Article

Linq to SQL usage - is it bad for performance to keep a link on beginning of...

Hi. Consider such situation. I have a set of classes autmatically generated by Visual studio to support Linq to Sql. I have a table caled PricesSource. Using dbContext I iterate through its...

View Article


File-open dialog crashes the application

I'm having a recurring issue with a Windows Forms application built in the .NET Framework 4.0 with Cisual Studio 2010. On some computers, the file-open dialog does not work fine. Typically, whenever a...

View Article

how to send e-mail to an external domain using SmtpClient

Have been using SmtpClient for quite a while to send internal e-mail, without any problem. New app needs to send e-mail to an external site, but it doesn't work.Focusing on setting credentials to solve...

View Article

System.DirectoryServices assembly

Quick question. I am using the following namespaces and assembly below in a .aspx file. It is working fine for me but we have hundreds of users in the field who will be using it also. All local...

View Article


When I am using UNC path in FileStream it is giving error file not found.

Hi AllI am using filename as \\MyNetwork\DocumentGeneratePath\DOC.docxFileStream Stream =newFileStream(FileName,FileMode.Open,FileAccess.Read,FileShare.Read)it is giving exception "File Not Found"...

View Article


Path.Combine for WebClient

Hi,      I need help with the following:  I seem to not be able to use the IO.Path.Combine functionality when it comes to URI/URL type addresses.  It states that "URI formats are not supported.  I need...

View Article

“Key not valid for use in specified state” after IIS Reset?

I have had a ton of issues with the System.Security.Cryptography.CryptographicException: Key not valid for use in specified state. error. This seems to only occur now when IIS is reset and I try to...

View Article

Usage tracking application to monitor WPF , C# Winforms or MFC application

We have a requirement to develop a application that can track the usage pattern of some client applications developed in WPF , C# Winforms or MFC... the requirement is that there should not be any...

View Article

Passing all data from one instance of a class to another without linking

Hi there,I am trying to copy all data held in one instance of a class to another, but I want to be able to adjust the values of both instances independent of each other.I'd like to be able to do this...

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

Installing Bluetooth Printer Drivers on newly created COM port

Originally posted to stackoverflow I am working on a WPF application that needs to pair a bluetooth printer and then subsequently install the printer drivers for that printer. The printer in question...

View Article


FileSystemWatcher Changed Events not firing on VMWare shared files

I have a .net application which uses several file system watchers. This application runs fine on Windows 7 desktop machines, all events firing normally. Recently we have been looking into the...

View Article

xml parser

i have a problem when i'm run my c# code;i want to store data from xml file to sql server database after loading xml file ,but nothing happen when the code is run(the message after the code is run...

View Article


GAC DLL Question

I have created a DLL for my data access layer which uses the Data components of the Microsoft.Practices.EnterpriseLibrary. I want to install my custom DAL in the GAC so all my applications can use it....

View Article

GAC DLL Question

I have created a DLL for my data access layer which uses the Data components of the Microsoft.Practices.EnterpriseLibrary. I want to install my custom DAL in the GAC so all my applications can use it....

View Article

Any way to unrar?

Is the rar file format supported without the use of the command line winrar or 7zip?   I'm looking for something like the ZipArchive class.

View Article
Browsing all 8156 articles
Browse latest View live