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

How To: Invoke an Application to Restart

I have an application that needs to restart after specific settings have been changed. As of right now I simply issue an information box to the user alerting them that the settings will not take effect...

View Article


HttpClient digest authentication does not work if the uri has querystring...

I am using Visual Studion 2010 and I installed 'MS .NET 4 HTTP Client Libraries', version 2.0.20710.0, via Nuget.I supply digest credentials (in a credentials cache) to a new HttpClientHandler, and...

View Article


Linq confusion - Nube question

HiI'm just starting to look at LINQ to XML to access information from a web service. I have the code below:var z = from c in xdoc.Descendants("content") where c.Value == "Asbestos" &&...

View Article

Latest and Greatest AntiXssLibary

I am seeing multiple versions of AntiXssLibary on MSDN website. Microsoft Anti-Cross Site Scripting Library V4.2 for download. https://www.microsoft.com/en-us/download/details.aspx?id=28589 1. Now I...

View Article

IO operation aborted error thrown while reading serial port using...

I am trying to read data written by an external device (weighing scale in this case) connected to serial port using .Net 4.0 - SerialPort class. First we initialize the serial port as...

View Article


KB 2600088

Hello - this hotfix updates the Microsoft .NET Framework 4.0 for Extended (4.0.30319). The Windows 2K8 R2 Svr it is occurring on has Microsoft >NET Framework 4.0 MultiTarget Pack (4.0.30319)...

View Article

Image may be NSFW.
Clik here to view.

WebBrowser control (Forms) doesn't render background color on line numbers...

I'm working on a C# utility that generates HTML and uses the System.Windows.Forms.WebBrowser control (.NET 4.5) to preview the rendered display of the generated code within the utility. When I style an...

View Article

Two questions about "COM"

Hello all:Just a newbie to COM (Component Object Model) because I began to learn programming based on .NET;) So I summarized several things please confirm "Yes" or "No" with some reasons;)My C#...

View Article


Need a non-blocking TcpClient for use with a POP3 email client

Hello,I am working through a POP3 client exercise and I need a TcpClient that does not block.I've gotten 80% of the protocol pretty well nailed down but for retrieving messages, which I am finding I...

View Article


.net vocal remover plugin

Hi,is  there any vocal remover plugin or vocal remover dll that i can use for my vb.net application?? if yes please help me how to use it.kindly help me....

View Article

Windows service getting stopped abruptly

Hi,I have a windows service application which pings server continuously every 10 secs and downloads files from the server.Recently, I have faced an issue where suddenly service is getting stopped and I...

View Article

How garbage collector can identify which objects are unused

How garbage collector can identify which objects are unused , i read in some websites about the garbage collector but its not clear for me.when garbage collector walk through the heap how garbage...

View Article

How to identify Native window objects ?

Is there any tool available in market ? Problem : In Explorer window, how can we fetch the identifiers of close button.

View Article


Iterate through all properties for MSProject.Task in MSProject.Tasks

Hi,I am trying to iterate through all the properties of an object using System.Reflection.Code:/========================================/Type _objTaskType;PropertyInfo _objTaskProperty;string...

View Article

Directory.Exists Returns True In Dev - False In Production

I have this code in an ASP.NET MVC page:bool bExists = Directory.Exists(sFolderPath);It returns true from my development machine and false from the production machine using the same sFolderPath values....

View Article


Using lock inside class

Hello!I have some class and 2 method in it. I want to have thread-safety class, so I need to use lock and some lock object.And question: Can I use 1 lock object for 2 methods? And if I can't - is there...

View Article

Where is the path for the dowloaded file with WebRequestMethods.Ftp.DownloadFile

I used FtpWebRequet  to connect to a file in a website. I than useWebRequestMethods.Ftp.DownloadFile to download the file. No error to run that, but I do not know where is the folder for the file.Can...

View Article


What is the System.Componentmodel namespace for?

Hi!So far I have stumbled upon System.Componentmodel only when using some attributes and in WinForms.But last month I had an architecture class where components played a big role, but those were not...

View Article

How To Protect .Net exe From Decompiling By (Reflector OR Similar Software)

Any One Can Use  (Reflector OR Similar Software) to Decompiling  .Net exeI Want To Ask how To Protect My exe From Decompiling

View Article

Windows live mail

I reinstalled windows live mail after several problems.  When I try to start the program I received a wlmail.exe systems error message stating that the programme could not be started WLDCore.dlls is...

View Article
Browsing all 8156 articles
Browse latest View live


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