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

MS added a data collection clause to the license terms of their NuGet packages

I've been using the following NuGet packages in a few services I maintain:Microsoft EventRegister Tool, version 1.1.25Microsoft EventSource Library Redistribution Package 1.1.25Microsoft EventSource...

View Article


How to get application focus out/in event

 Hi ,We have a winforms application built on cab architecture.We are having a main application and multiple child components over it, i need to identify when the control is moving out/in of the...

View Article


How to edit and save publisher document with c#

Hi All,I have a template pub file , which i need to edit (want to replace some text and image) and save as new copy using c# code.Many thanks,RP Riju Parayidayil

View Article

Cortana's new Speech Recognition Engine for Desktop Applications

Hello,I've done some research on this Topic and it appears that currently Microsoft has yet to port the new engine to the desktop platform so I was wondering if there were any plans for doing so? I'm...

View Article

System.Diagnostics Start Process as Another User from IIS

This question has come up a few times in the past and from all my searching there does not seem to be a clear answer.I have a Windows 2012 server running IIS 8, it is joined to a domain and the AppPool...

View Article


Dundas charts don’t display in Framework 4.6.1/VS 2013

Hi,My tech team just migrated our applications from .Net Framework 3.5/Visual Studio 2010 TO 4.6.1/Visual Studio 2013.Testing has progressed swimmingly except for one major bugaboo: our Dundas controls...

View Article

How to elevate the newly created process?

I have created two console applications namely app1 and app2. In my development environment i have two users: user1 and user2. If i had logged on as user1, then my intention is to run the program as...

View Article

Socket BindToInterface

 I've been trying to bind a .net Socket to a NetworkInterface via the Socket.IOControl code BindToInterface, but whenever I try to use it I get a "unsupported operation" error code in a SocketException...

View Article


Application Exception vs Exception??

Why do we need to define the ApplicationException when we have Exception class?And In a MVC architect application, where should we implement the ApplicationException approach, clent or server??Thanks!!...

View Article


Reference Source dotnet40

We are using .Net 4.0 framework and have memory leak problem with System.Activities.Presentation.dllCould you please give us the reference source of .Net 4.0?On the page...

View Article

Migrating to Frame Work 4.6.1 from 3.5 issues

Hi, I am migrating the ASP.NET website from 3.5 to 4.6.1. I did the followingStep1) Created a empty asp.net website in 4.6.1step2) Copied the webpages from the old website to new websiteStep3) copied...

View Article

PowerShell via Managed C++: PSCmdlet vs ps command vs powershell vs Cmdlet...

Hi,I am trying to execute PS Command(Via Managed C++ code). I found so many variants for the same.Can someone explain me whats the difference between below 4 or more if there any any such: PSCmdlet...

View Article

TLS 1.2 / WebClient

Hello,I need to be able to post to a Web service using TLS 1.2 in my .Net framework 4.5.2 application. Before I get further here is the context. I have a Windows Service which monitors a database queue...

View Article


How to update the local group policy of another user using IGroupPolicyObject2?

I am trying to update the local group policy of another user using IGroupPolicyObject2. I am not able to get any sample code for that. Do anyone know to use GetRegistryKeyPathof IGroupPolicyObject2.I...

View Article

Change each running .exe sound output device

Hello.I would like to know how can i change the playback device and also the input device for each running application shown in Windows Mixer.Ive done quite a search and all i found was some third...

View Article


Fsharp and berkeleyDB connectivity

Hi,New to F# and Berkeley DB. I was trying to create a Berkeley DB database from F#. So I was using libdb_dotnet51.dll ,libdb_csharp51.dll, libdb51.dll .env =...

View Article

BindtoObject of System.Runtime.InteropServices.ComTypes.Imoniker returning...

Hi,I am calling BindToObject method of System.Runtime.InteropServices.ComTypes Imoniker interface to access webcam of laptop.But this method returning exceptions as Insufficient Memory to...

View Article


RSACryptoServiceProvider and seeds

Hello,First, I would like to mention that my knowledge in cryptography is very limited.Now, I’m re-writing an old C++ program in C#. The old C++ program uses OpenSSL to generate a public and a private...

View Article

Encountering Lock on Main Thread (WinForms/Deadlock)

Hi,My main thread encounters a lock (mLock){...}when first entering a tab in a tab control (i.e. OnEnter handler). It is stopping indefinitely at the lock unless I create a separate thread which...

View Article

The unknown encoded in emf-EMR_EXTTEXTOUTW-EmrText-OutputString

I extracted EMR_EXTTEXTOUTW elements from an emf file,then extracted  EmrText elements from EMR_EXTTEXTOUTW elements,then extracted  OutputString elements from EmrText elements.according to...

View Article
Browsing all 8156 articles
Browse latest View live


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