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

EBCDIC data transfer via TCP/IP

We are trying to send some string values that are converted using "System.Text.Encoding.GetEncoding("IBM037")" to a mainframe listener via "TcpClient" using C#. MF listener is not receieving the data...

View Article


Microsoft Point of service for .Net v1.12 - binaryConversion property not...

I have installed the MS POS version 1.12 and i am trying to understand how the binary conversion property works. With the installation i see there is a sample application (TestApp.exe). I am using the...

View Article


Not Implemented exception

Hello guys,I guess that you forgot to implement XmlTextWritter.WriteRawAsync method?Regards,Mario

View Article

Where is Microsoft.Management.Infrastructure.dll assembly?

I'm using VS2015 and Windows 8 + 10 SDK, and trying to build the MI client sample code "How to: Enumerate All Instances of a Class (C#)"....

View Article

ReflectionTypeLoadException

I try to debug class library for autocad. I use Autocad .Net Plug-in template for this library. When I start debug Autocad is called, then I run method from library inside Autocad. It stops on this...

View Article


attempted to read or write protected memory. this is often an indication that...

Hi,I'm getting below error when trying to execute updategram from asp.net. And the normal sql queries are working fine.Also when I try to run the same code from console application, this is working...

View Article

ASP MVC Claim Based (ADFS) Inactivity problem

Hello,I use a claim based authentication for my ASP MVC web application. It's working well, but after a while (some minutes of inactivity) I received a blank page with nothing.So I think there is a...

View Article

I need Regular Expression to remove all text after closed div tag or any tag...

</div>                                                                                     |90|onSubmit||if (typeof(ValidatorOnSubmit) == "function" && ValidatorOnSubmit() == false)...

View Article


Microsoft Interop word dll in .net

I have used interop word dll in document automation tool.change in word 2010 to 2013 dll not perform same fuctionallity.I have update dll version 15.0 library.TOC table of content is deleted after...

View Article


Getting error object reference is null

I am calling a library inmy code and I am calling a method from that library to add a user. However I am getting an error on userid been null in that library can anyone helpI am getting the error on...

View Article

'System.__ComObejct' does not contain

Hi, cannot reproduce this type of an error coming from one of the client's computer: 'System.__ComObejct' does not contain a definition for 'HWND'.<o:p></o:p>This is the...

View Article

Unable to compress large file.

I wrote this code to compress files so that I can copy them to another server and it works however I get the following error on line  "Dim mybuffer(Infile.Length - 1) AsByte"   when trying to compress...

View Article

Return only changed members from Active Directory Group using .NET...

We are trying to synchronize user accounts in a service with those accounts in an Active Directory.The candidate technology is  now .NET, DirectorySearcher,  and "Polling for Changes Using USNChanged"...

View Article


System.Environment.OSVersion - returns incorrect version for Win 8.1

When I use"System.Environment.OSVersion" from .net code. I get Windows version 6.2.9200 (not correct version) When I use PowerShell with[System.Environment]::OSVersion.Version I get 6.3.9600 (This is...

View Article

Global Keyboard Hooking

Hi Folks, I'm currently working on an application that takes keyboard keys, remap them to some other Unicode characters and send them, using Sendkeys.Send(), to applications such as Notepad, Ms Word...

View Article


How to Add the Geolocation Class reference to class libraries type application

Hi,   I am developing one Class Library application in that i want to add the some Geolocator and Geopossition class reference with in the GeoLocation namespace how to add the class reference? is there...

View Article

PrintDialog with Microsoft Print to PDF

Hi all,I would like to know if there's a way to send a *.xps to "Microsoft Print to PDF" printer, without opening the save file dialog of the result .pdf file name.I have the following code:PrintDialog...

View Article


Events, EventHanders and GenericAttributeProfile notifications (BLE)

Hello all,  I am using the GenericAttributeProfile to communicate with a Bluetooth (Low Energy) radio. A problem I'm seeing is that when the data is received, it is not necessarily in the order sent. I...

View Article

Getting (impossible!) ArgumentNullException from...

I have a WPF app running on the 4.6.1 framework.I am trying to send an email. It works perfectly on other PCs, but not two that I am aware of. One is Windows 10 - the other 8.1. Both have 4.6.1...

View Article

Print using print server application is not fetching paper from correct tray

Hi All,I have two instance of the same printer named HPIT1 and HPIT2 in my system. And  I set paper Source of HPIT1 as "Tray2" and "Tray3" for HPIT2   via "Print preference" . While printing test page...

View Article
Browsing all 8156 articles
Browse latest View live