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

Read a process's standardoutput when it is about to close

I have managed to redirect the output of a console application to my WPF program using StandardOutput, but the console application sends data just before closing. Here is my code: ProcessStartInfo info...

View Article


how to update Data Datetime types in mvc ?

when i save datetime types in my database as a result of Create action and want to edit that datetime types along with other data shows no data at all  in the View... its Suppose has to show the date i...

View Article


RSACryptoServiceProvider accessing Smart card issue on Win7 64 (.NET 4.5.1)

I have a program written in .NET 4.5.1 that uses RSACryptoServiceProviderto sign content using a smart card. It all works great on Windows 8.1 64-bit, Server 2012 64-bit and Windows 7 32-bit. However,...

View Article

Cursor constructor not working with .cur file

Hi I have tried using the Cursor constructor by passing a file name to it and it fails when it is passed a valid cursor file.The simple test code is as follows which changes the cursor property of...

View Article

EDMX Model Diagram

MY EDMX model has been changed and now its nort retrieving any data from database.Please help

View Article


Extra entry in connection strings section of App.config

I've used simple code to iterate thru all connection strings in App.config file:var connStrings = ConfigurationManager.ConnectionStrings; int i = 0; foreach (var connString in connStrings) { i++; var...

View Article

Class is not licensed for use while creating Interop.MSCommLib.MSComClass object

Hi,I am working on .net 2.0 framework, c#, vs2008.I have used MSCommLib COM component to support serial communication.I have refernced Interop.MSCommlib.dll in my project and trying to create...

View Article

Hosting CGI exe in IIS7

Hi,I am trying to deploy the CGI exe that to be hosted in IIS, and executing that exe as the post request from browser. But it always complain for dll missing even i copied that dll to the folder where...

View Article


Application_end event debugging

How do you trace the application_End event on runtime? By Debugging By Tracing  Can not be doneBy Exception HandlingPlease tell the answer of this question

View Article


Event to detect when a new process is created in windows...

I want to detect when a new process is created in windows ...Is it possible in C# .Net...? 

View Article

entity framework ver

Hi all,I'm trying toinsertedmxfilesin my projectVS2015,but I getthis error when I choose DB within wizard:"Yourprojectreferencesan olderversion ofEntityFramework....

View Article

.net assemblies

 .net assemblies are platform independent? How?

View Article

interop Shapes and text link behavior 2005 to 2013

Hi, I have an application that I am upgrading from VB 2005 to 2013.  It uses the Interop Libraries to interact with word.  It loops through shapes and look for a linked textbox to know where to put...

View Article


How can I read a word file without the Microsoft.Interop?

The example of the code that am using to attempt to solve the problem is as above:File.ReadAllText(filename);This is what am attempting to use from Systems.IO. I would like to read a word file to into...

View Article

How to avoid using characters that the user may not know how to type

Let's say that I want to display some random text that the user will later need to be able to enter on the keyboard. I want to avoid using characters that the use will not be familiar with and may not...

View Article


Run native program saved in byte array in .net

Hello,I programing .net application which run secont native program saved in byte array and I do not know How I run this nativ program.  Managed .net program saved in byte array I am run thus and...

View Article

GCM encryption Mode support

According to https://msdn.microsoft.com/en-us/library/system.security.cryptography.ciphermode(v=vs.110).aspx GCM Mode is not supported within .NET.  Looks like CBC is the default mode.  Is there any...

View Article


Slow internet connection may cause client (or server) to postback twice

Hi,Using .Net 4.5.1 and MVC5 on IIS7.5.I have noticed, that if I connect to a MVC5 application, on a very slow connection, post-backs are sometimes send multiple times (usually twice).This behavior...

View Article

problem after upgrade from .net Framework 3.5 SP1 to 4.5.2.

Hi Everyone, i have the Following issue:EnvironmentThe scenario is the following 7 application servers running Microsoft Windows Server 2008 SP2                These servers originally had .net...

View Article

Framework 4.6 Break Sql Server Discovery

I was trying to get list of SQL servers available in the Network using System.Data.Sql.SqlDataSourceEnumerator instance = System.Data.Sql.SqlDataSourceEnumerator.Instance;System.Data.DataTable...

View Article
Browsing all 8156 articles
Browse latest View live


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