WebBrowser control (Forms) doesn't render background color on line numbers...
I'm working on a C# utility that generates HTML and uses the System.Windows.Forms.WebBrowser control (.NET 4.5) to preview the rendered display of the generated code within the utility. When I style an...
View ArticleGetKeyState recently fails for VK_SHIFT
I have a Windoes Forms application that uses toolbar buttons with click handlers. For some of these buttons, there's an alternate meaning if the Shift key is pressed while clicking the button. This has...
View Articlestrong name problem - object already exists
I create a project in visual studio 2012 and get an error:Error 2 Cannot import the following key file: abc.pfx. The key file may be password protected. To correct this, try to import the certificate...
View Articleconfigsource problem in app.config file
I have looked at all the examples and posts but still am having problems with this. I am using 2008 vb.net in app.config to put connection strings into another file. I get the error: "connection...
View ArticleUnable to load DLL 'xyz.dll': The application has failed to start because its...
I'm using one dll (third party) in my windows application. While running the application it throws the following error:"Unable to load DLL 'MSOCBM_Wrapper.dll': The application has failed to start...
View ArticleHashtable insert failed. Load factor too high. The most common cause is...
The same code worked till yesterday and suddenly started throwing the below exception in .net 4.5 Hashtable insert failed. Load factor too high. The most common cause is multiple threads writing to the...
View ArticleIssue to install syntax coloring of a Language Service via MSI installer
Hi everybody,We developed a Language Service for our tools. We developed this language service for Visual Studio 2010. On this version of Visual Studio and framework (.NET 4.0), we could install our...
View Articlevs 2013 c++/ managed code targeting .net 4.0 won't run on win 8 with .net 4.5
We need to create a C++ managed programs that runs in Win XP because we can't install .NET 4.5 on XP.No problem with Win 7 & XP etc. but these programs won't run in Win 8 because System.dll is for...
View ArticlePerformanceCounter.NextValue with static value of Performance Monitor
Hi !I have one question about the documentation "PerformanceCounter.NextValue Method for .Net Framework 4.5".In the remark note we have the following:If the calculated value of a counter depends on two...
View ArticleFinding Deleted Objects in Active Directory using DirectoryServices
I need to get a collection of "deleted objects" from Active Directory.The query I'm using today simply returns 0 (zero) results. No errors or exceptions. Just no results. I'm 100% positive deleted...
View Articleproblem in adding reference microsoft word 2007 to project
i am trying to show a resume inside my project.i have uploaded the file and have kept it in a folder of Solution explore(SE). i try to select Add Reference .it does not show any reference in SE after...
View ArticleBest praxis - how to change CurrentCulture at runtime?
I need to change cultureinfo during runtime according to resource files for the main form an all child controls.
View Articlehow to convert eml files to pst format
any idea about converting multiple eml's into single pst
View ArticleWindows 8 Theme copyright.
Hi everyone, Basically I downloaded the Metro UI(Windows 8 Theme) to create a public web portal, where the theme is available free on Internet. I am just wondering if I publish this portal on Internet...
View ArticleUsage 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 ArticleCamera communicates with SignalR connection
HelloI have a client with over 800 IP cameras - the kind that count people & vehicles entering and leaving a zone.these camera can initiate contact with a service via a socket mechanism.I was...
View ArticleRead Excel file without using Microsoft.Office.Interop.Excel
Hi,i created a visual webpart in sharepoint project and was trying to read excel and update items in sharepoint list , but i faced an error that Microsoft.oledb is not registered on local machine ,...
View ArticleMemory leak when using Win32_PerfFormattedData_PerfProc_Process with LIKE...
In my monitor application, I need to observe bunch of processes - different exe or same exe running under different start up argument. In order to be notified by those processes running same exe but...
View Article