Using overlapped I/O in .NET
Hello,I'm looking to implement my own buffered IO stream, based on the Win32 asynchronous (overlapped) model. I don't find any helpful documentation or examples how this can be used. I'm learning by...
View Articlec# Webrequest through https (configured) proxy (The ServicePointManager does...
Here seemes to be a better place, than stackoverflow. I would like a MSFT to again target this very important question. Or at least point to a working solution. THANK YOUI need to connect to a...
View ArticleGCHandle routines fail: AddrOfPinnedObject() and FromIntPtr()
Why does the following code crash the executable (I launch from the VS debugger): static int Main(string[] args) { byte[] hash = new byte[20]; GCHandle gch = GCHandle.Alloc(hash,...
View ArticleHow to get printer Class GUID in C#
Win32_PnPEntity Cannot get the correct informationHow to get the Printer GUID??
View ArticleC# Raw Print , Compress print document, reducing printing file size , Fast...
hi everyone,I try to print some jpeg file to my printer. but it will be very very slow printing.I need to control print file size. below is my try and failTry 1. PrintDocument p = new PrintDocument();...
View ArticleCurrent thread must be set to single thread apartment (STA) mode before OLE
I recently updated a simple program that uses a filedialog control to locate a file. When I try and run the following code I get this error: Current thread must be set to single thread apartment (STA)...
View ArticleICorProfilerCallback2 : unable to differentiate caught /uncaught exceptions...
I'm using ICorProfilerCallback2 interface to implement a profiler to monitor all the unhandled/uncaught exceptions occurs in any .net application. The ExceptionThrown event helps me to find all the...
View ArticleTLS 1.2 Communication with SQL server 2014
Hi,We have a .net client(desktop) application with 2.0 framework. This application is communicating with SQL Server 2014. We have a requirement to enable the TLS1.2 communication between client and DB...
View Articleاصلاح تكييفات كاريير 01223179993 وكيل كاريير 01129347771 carrier
اصلاح تكييفات كاريير01223179993 وكيل كاريير 01129347771carrier
View Article.NET Version problems
Call me a dreamer but I thought the idea behind .NET was to get away from the problems of DLL hell? Just trying to do something simple like find the version installed is a nightmare. See here for what...
View ArticleInstrumentation Profiler in CoreCLR - Ways to Load HelperAssembly
Hi, I am trying to extend the support of Instrumentation profiler to CoreCLR. At present my focus is on ASP.NET Core web applications that runs on .NET Core 2.1. I blindly tried of using the...
View ArticleVB and C# syntax Guide
I'm a VB developer for many years and my knowledge on C# syntax is poor. For several reasons, I would to start working on some projects on C#. Does anybody know a document describing the differences...
View ArticleVB and C# syntax Guide
I'm a VB developer for many years and my knowledge on C# syntax is poor. For several reasons, I would to start working on some projects on C#. Does anybody know a document describing the differences...
View ArticleApplication Initialization requests-iis logs
We have many different applications deployed on a single server and the modularity of our overall solution often relies on usage of a few of these applications being called which reference one another...
View Articlehow to transform run time values of app.debug.config or app.release.config
how to transform run time values from app.debug or app.release.config to app.config specially env specfic values in run time in dot net core 2.0.1
View ArticlePerformance - High CPU usage for a WPF/WinForms application
Hi all, our application implements a trading front-end and is written in C/C++ at its core and WinForms and WPF (in C#) for the graphical part; it's been around for about 10 years now and we've met a...
View Articlehow to transform run time values of app.debug.config or app.release.config
how to transform run time values from app.debug or app.release.config to app.config specially env specfic values in run time in dot net core 2.0.1
View ArticleProblem generating manifest. Could not load file or assembly
i try to run the VB.Net project occure the following error Problem generating manifest. Could not load file or assembly 'C:\Documents and Settings\Administrator\Desktop\Retail-Soft...
View ArticleRead .tbl file data into c# object
Hi,From the above .tbl file, I need to read data and convert it to c# object.Need to read data as follows:example:-Class CurveParameters{public string fxpair{get;set;}public string...
View Article