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

Creating Arrays in Tables

How do I create an array in a SQL database table? Any advice is very much appreciated.

View Article


Unable to uninstall the assembly from GAC which is being used by another...

We have encountered an issue while upgrading our product with .Net Framework 3.5 to latest version with .NET Framework 4.5.1. We came into a situation, where one application is using a logger assembly...

View Article


C# Windows application to conditionally run a native DLL

Hi Team, I want my C# Windows application to conditionally run a native method, conditionally choosing to run either the x86 or the x64 version of the dll(Native dll in c++). Whenever I try to load the...

View Article

HttpClient: Only one usage of each socket address (protocol/network...

using (var client = new HttpClient())    {     client.BaseAddress = new Uri(Url);     client.DefaultRequestHeaders.Accept.Clear();     client.DefaultRequestHeaders.Accept.Add(new...

View Article

a Small problem in redirect authenticated user from login page

Hi,in my web project, I've directed authenticated users with membership method.but now I want do it manually. but I have roles yet. when I want redirect authenticated user to his profile app use...

View Article


Printing on Generic Thermal Printers through asp.net application

Hi,I am new to pos.net please can you help me with code which is used for any thermal printer conncted with my asp.net application. I want to print div tag contents to printer.Thanks in advance.

View Article

Usage pattern of HttpResponseMessage.EnsureSuccessStatusCode() and handling...

What's the usage pattern of HttpResponseMessage.EnsureSuccessStatusCode()? It disposes of the Content of the message and throws HttpRequestException, but I fail to see how to programmatically handle...

View Article

The operation is not valid for the state of the transaction.

I implemented Transaction Scope in my application. But i receive following errorThe operation is not valid for the state of the transaction. Here is my codetry{ using...

View Article


Object server is stopping when OLE service contacts it (Exception from...

In a COM+ application in production environment we get the following error:System.Runtime.InteropServices.COMException (0x80080008): Object server is stopping when OLE service contacts it (Exception...

View Article


Handle multiple request at a time in a console app

My scenario is as follows:BizTalk TCP/IP adapter sends multiple request at a time.Now I have to create a C# console application which will handle those requests.For each simultaneous request,I have to...

View Article

In FTPS server using C# code i can't able to list the full files

IN ftp server directory having nearly 4000 files but i can list 510 files only,(implicit over TLS security) can any help me to list the full files from dir....here is my code // try                {...

View Article

System.ComponentModel.Win32Exception (0x80004005): The specified server...

Greetings,I have a program running a FileSystemWatcher to watch for changes to a log file on a mapped drive (code below).  This same program is running on three different production machines and two of...

View Article

Problem to write access...

First of all, I did search the entire forum but didn't find useful answer can solve my problem.Here is my development tools and test environment information.Visual Studio 2013 with Update 3Windows Form...

View Article


CultureInfo.DisplayName not localized

Hello everybody,currently I'm working with the CultureInfo class. I want to use the DisplayName property to show the localized name of a language with respect to the choosen UI-language.The...

View Article

Itextsharp API test failed when trying to submit to store

Hi all, In my metro application i have used itextshrp(added from nuget) to write data into the nitro pdfs,it was working fine in the application as well as in windows surface device. while i am trying...

View Article


Microsoft.BCL.Async Library Windows Phone Class Library

I'm a bit puzzled and could do with some help. I have the following code for calling a webservice using the BCL.Async - UploadStringTaskAsync , the code below works fine when its in the xaml.cs class...

View Article

Unit test using PrincipalContext causes AppDomainUnloadedException in test outpu

Hi, while running our tests on our TFS build server we always have a warning in the "Other Errors and Warnings":System.AppDomainUnloadedException: Attempted to access an unloaded AppDomain. This can...

View Article


Form got cutoff when using PrintForm

I am trying to print current active MDI form using PrintForm from VB PowerPacks. Sample code:mdiPrintForm.PrintAction =...

View Article

speedtest.net Like result

Hi, I would like to ask how speedtest.net calculates the upload and download speed please? Thanks, Jassim

View Article

In real application, When or in what cases we should go for Connected...

In real application, When or in what cases we should go for Connected mode(Data Reader) and disconnected mode(Data Adaptor, Dataset) in ADO.net ?Please share your thougts

View Article
Browsing all 8156 articles
Browse latest View live


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