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

Why is .NET's File.Open with a UNC path making excessive SMB requests?

I have a block of code that needs to open and read a lot of small text files from a NAS server using UNC paths.  This code is part of a module that was originally written in C++ but is now being...

View Article


CLR20r3 error

I had developed a Winform app with using Telerik RadGridview before.All clients use it without any problem.But a few days ago, a client called me and told that it crashes anytime when he/she clicked...

View Article


Convert Below Java code equivalent to c# windows store app.

Hi please help me " To convert Below Java code equivalent to c# windows store app."private String SecretKey = "enctsbqrm6hxyjfa";    public byte[] encrypt(String text) throws Exception    {...

View Article

Is there any other way to do redirection of pages apart from...

Please let me know answer for same.

View Article

Sign SHA512 with X509Store

Hi All,I wanna store my private key in Windows Certificate Store as non-exportable for security reasons.I have to sign a data with RSA-SHA256. I am using the code at below for that but it gives that...

View Article


BindingList does not propagate property information in ListChanged event for...

If I have BindingList(Of T) and T implements INotifyPropertyChanged, every time I raise T.PropertyChanged event with property name, BindingList converts it to PropertyDescriptor, and I get this...

View Article

Write to Registry with Administrative Privileges

Hi,I would like to ask how can I write to LOCAL_MACHINE registry from my .NET application when the window user is limited user?Can I write with Administrative Privileges?Thanks,Jassim

View Article

How Katana is better than IIS

I have heard about Katana, which is basically OWIN implementation by Microsoft Team. OWIN is a standard for developing web interface. Same thing is done why IIS too. But IIS do a lot of stuff as...

View Article


Visual Studio for Mac

Whether Visual Studio 2013 can be used on Mac OS Yosemite?

View Article


I need to get a copy of IIS log data through C# HTTP Module

Hi,I just need to move my IIS log data into HDFS server through FLUME. IIS logs appends the file on a daily basis but flume doesn't support appending file . So i planned to get a copy when my my IIS...

View Article

KB2544514 does not apply, or is blocked by another condition on your computer

KB2544514 does not apply, or is blocked by another condition on your computer

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

Desktop App: Directory.Exists returns false but new FileStream inside it works?

Hi,I have a weird case with one of our deployments. The application is a Desktop .NET 4 Client Profile Winforms app that is usually started from a network share. During startup, our application does a...

View Article


strong encryption

Hi, I would like to save a license key and the connectionstring for my application on the user's PC but I want to make sure it's encrypted strongly so user won't be able to decrypt in order to protect...

View Article

save a global variable in WinForm

Hi,I have some registry entries for my application. I am reading the values during the startup.How can I make the vaues available across the application and all its form without having to read it from...

View Article


Process StandardInput.BaseStream limited

My code has a problem... public void Run() { Ps.Start(); Ps.PriorityClass = ProcessPriorityClass.BelowNormal; if (StdIn != null) { Inject(); } Extract(); OnFinish(new EventArgs()); } private void...

View Article

"The key 'LocalizedPerfCounter' does not exist in the appSettings" when...

Hi all,Some time ago, I've installed the nuGet package for self-hosted signalR applications on a project. Today, I went to start a completely unrelated project, one that does not have that package (or...

View Article


Generate PDF from HTML page programmatically using .NET assembly

Hi,I am trying to generate a PDF file from HTML page. I have searched the web and found 3rd party components which does this but I can't seem to find if this could be done with only .net assemblies. I...

View Article

Email Delivery Receipt

Hi,I am sending email using C#. I would like to know, while sending, ow can I get a delivery receipt or flag in order to update my database with the status?Thanks,Jassim

View Article

User defined RootFolder for FolderBrowserDialog

Does anyone know of anyway to set the RootFolder on a FolderBrowserDialog to a custom path? In my case, WinXP: "C:\Documents and Settings", Vista+: "C:\Users".I've gotten as far as going down to Win...

View Article
Browsing all 8156 articles
Browse latest View live


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