IdnMapping Class the IDNA 2008 standard is not working
Hello Everyone, MSDN states for IdnMapping Class [1] that "In the .NET Framework 4.5, the IdnMapping class supports different versions of the IDNA standard, depending on the operating system in use:...
View Articlecreate hundreds of tasks with minimal overhead
How to create hundreds of tasks with minimal overhead. Let us consider that in my application that i have thousands of users registered for their birthday reminders. I need to write a scheduler task...
View ArticleProgramatically generate UNC path based on URL
Hi,I would like to programaticaly genereate UNC path based on the url [this is sharepoint document library URL],any pointers to API's would be helpful.Thanks in advance!!
View ArticleAttempted to read or write protected memory. This is often an indication that...
Hi,I m getting a generic error message while running my application. It says, "Attempted to read or write protected memory. This is often an indication that other memory is corrupt". My application...
View Article.NET Compiled Binaries Are Locked on Windows 2012 and Higher File Share
Background:We have a 2012 Windows File Server, Windows 7/8 Clients. As part of our in house development we use .NET 3.5/4/4.5 Compiled Executables from Network Shares.The executables are standard .NET...
View ArticleMSMQ Trigger accesing database.
I have a MSMQ trigger configured as COM object. The trigger gets initiated and everything works fine if I am not accessing database. If I try to access database inside this function the trigger fails....
View Articlewhy do we need to prevent Circular Object References
I'm new to this. Can you please explain to me why the "Circular REference" is a bad thing, what's the bad result it may bring about?
View ArticleIEnumerator for Dictionary
I am trying to find a simple, clean example of GetEnumerator() for a Dictionary<key, value> class. All I can find are examples for lists and arrays.I have written a class that looks like an...
View ArticleAP .NET application connection to Oracle database through Oracle client
hi All,Issue 1 : I have application mostly .exe and service which are in ASP.NET 4.0 code base and 32 bit. the application connects to Oracle database through 32bit Oracle client to fetch data....
View ArticleASP.NET application connects to Oracle DB via Billing & Revenue Management...
Issue: ASP .NET 4.0 application connects to Oracle DB via Billing and Revenue Management [BRM] system of Oracle. To connect with BRM system the .NET refers C++ dll as BRM system is based on c++. .NET...
View ArticleRecognizing numbers - OCREngine in C#
I am trying to use the OCREngine for reading text off certain images. However, the OCREngine so far has done a poor job of recognizing numbers, which is an important part of what I am trying to do, and...
View ArticleGetting line numbers of CodeDom elements.
After I call GenerateCodeFromCompileUnit is there any way for me to get the line number for the document's CodeTypeMember objects?
View ArticleException rippling
Hello All,Can you please provide me guidance on the best practices to implement exception handling in code.Basically, I want to know that is it beneficial to use try catch in caller function or the...
View ArticleUnity Container Resolution Error:The Type String cannot be constructed
Hi,I am using Unity Application Block 2.1 to do dependency injection. My Code looks like below. The problem here is, I have done constructor chaining in class 'B'. Whenever unity tries to Resolve the...
View ArticleVB Bindingnavigator Validating Before Move Next
Hi,I am currently using BindingSource and BindingNavigator in a form. Before the user can move to the next record the application must check a few things to make sure the the user has completed the...
View ArticleAttempted to read or write protected memory on windows 10 c# app.
I have met interesting bug in с# core on Windows 10TP build 10041. Code like this://WinForms appint example1(int a, int b, int c) { return a+b+c; } or//WPF app void example2() { //some code int x =...
View ArticleXNA VertexBuffer maximum size exception
I am trying to build content(a text file contains list of triangles vertices) for an XNA application through a custom pipeline importer. It works ok. But when number of triangles gets near 1m(in this...
View ArticleMerge 2 images
I am trying to merge 2 images and able to perform the activity. But always the 2nd image not sitting completely or some issues.Here is the code I have used.Dim Result, g, Name, Layer Set Result =...
View ArticleAdo.net_entity_data_modoule
با سلاممن از کاربران vs2013 می باشم.من به تازگی با تکنولوژی Entiy framework آشنا شدماما زمانی که می خواهم به پروژه اضافه کنم در لیست شی ها نیست.موفق و پیروزباشید.
View ArticleVS2008SP1,C# Invoke C++,the .exe does not run with external manifest
If Using embedd manifest,CSharpClient_42.exe run ok.If using external manifest, build it ok, but the .exe file does not run.run CSharpClient_42.exe, the results pop-up dialog box, showing that the...
View Article