The Advice for immigrants whom want to go to .NET again.
On the advices of my colleagues, I have decided to migrate to .NET platform. I used .NET when it was in C# 3.0. I think, I had missed few things like Entitiy Framework. By few reads, I caught it and...
View ArticleWhy do we cannot use COM interop for Win32 APIs like User32.dll? Why are we...
Are Win32 APIs not following COM? Are they not binary compatible (if so, what is the reason behind it)? Let us know what happens behind the scene when we use interop for COM and dllimport for Win32 APIs..
View ArticleVS 2010 vshost.exe hangs, unable to end process in task manager
Hi,I am having a problem in Visual Studio 2010 (windows 7) when I try to run my winform application.It appears to run just fine, no errors of anykind and when I end the application, it exits with 0...
View ArticleRandom AppCrashes in clr.dll with .NET 4.0
Hi Everyone !We are developing a 100% managed .NET Application/C# that consists of several Windows-Services and Client-Applications. Until April 2010 the Target was .Net 3.5 SP1. Meanwhile we converted...
View ArticleReturning Index name, Return Dataset object current index
In c sharp How to Set or return the name of the current index for a dataset object. Can someone post and example or lead me to the right place?
View ArticleCOM interop assemblies and PrimaryInteropAssemblyCodeBase
We have a pretty big issue with registering 32-bit and 64-bit primary interop assemblies and maintaining IntelliSense support. We ship both 32-bit and 64-bit COM in-proc servers and register the...
View ArticleWhy can't I work this run?
I currently have a problem and am in need of help.I have been on multiple help sites and forums but as of yet have not managed to solve my problem.I am running the program as admin. I have net...
View ArticleRegister DLL files and set path variable
Hi Experts,I have an application in which I have to register a dll file and set a path. How can I do it programmatically without troubling users to do so.It needs to be done only once in the life time...
View ArticleWhy does .NET use an assembly search path instead of Java's approach?
I cannot emphasize strongly enough how many problems this has already caused, in fact I would go as far to say that it's the *MAIN* problem for c# as a language as a whole.Every single application I...
View ArticleInternet Explorer Caching RouteConfig.cs?
Not sure this is the right forum, but I have Internet Explorer 11 installed and I made changes to the RouteConfig.cs in my project but IE continues to use to old route!?! I can load everything fine...
View ArticleRecordset properties to Datatable properties
What are c sharp equivalent logic to visual basic 6.0 recordset properties. Close, Open, Update, UpdateBatch, AbsolutePosition, Find, Delete, MoveFirst, MoveNext, MoveLast, in visual basic 6.0 using a...
View ArticleTalk about versioning
Ok, let's talk about assembly versions.Currently, Microsoft (and a Microsoft-stack developers) using four number version: Major.Minor.Build.Revision. The vast majority of questions are about Build or...
View ArticleADODB, ASP.NET and Crystal Reports for VS 2010
Not sure if this is in the best place, or why the first part has switched to a small font!We have an ASP.NET application originally written many years ago, and upgraded a number of times. It is...
View ArticleRSAProvider.ImportParameters() => Bad Data for some rsa private keys
Hi,We have an application which imports RSA Private Keys from a PEM file to RSACryptoServiceProvider.This application worked perfectly till we made changes to the generation of the RSA private...
View ArticleLatest SDK to support 4.5.2 profiler interfaces
I am looking for the SDK that supports the latest profiler interfaces for .NET 4.5.2. http://msdn.microsoft.com/en-us/library/ms171868(v=vs.110).aspx#v452 ICorProfilerCallback6 -...
View ArticleDoes web.config support runtime/legacyCorruptedStateExceptionsPolicy?
I'm developing under Windows 7 IIS 7.5.7600.16385 with VS2013 and .net 4.5.1. Using a combination of C#, managed C++ and native C++. I need to catch memory access violation exceptions thrown by the...
View ArticleCLR20r3 error in WinForms application
We're having an issue with one particular application on one particular server. We've got dozens of installations of this application that have worked for years, it's only one customer's server that...
View ArticleAssembly Version Mismatch
Hi ,I'm facing some strange issue with one dll. Here is what happening.I had one DLL say xyz.dll registered in GAC & being refered from an application. I have got a updated version of this...
View Articledebugging application - vshost32.exe stop working
Hello, I'm trying to debug one of my application. But when my application crashes, VS doesn't break the application to see the code, it only shows dialog box with message that vshost32.exe has stopped...
View Articlemakecert fails - Error: CryptCertStrToNameW failed
I'm on a Windows Vista system.I download the microsoft sdk in order to be able to make certificates for this application I'm trying to get loaded.based on the installation manual, I type the following...
View Article