ASP.NET in-place precompile doesn’t work ax expected
I am trying to use ASP.NET precompile tool aspnet_compiler.exe to compile site after it has been deployed. As per book definition running in-place precompile on web machine should improve first page...
View ArticleFile-open dialog crashes the application
I'm having a recurring issue with a Windows Forms application built in the .NET Framework 4.0 with Cisual Studio 2010. On some computers, the file-open dialog does not work fine. Typically, whenever a...
View ArticleDataset Relationship not updating in .Net V4 that worked in .Net V3.5
I have a standard parent-child relation in a data set - called Vouchers and Voucher_Details connected to a SQL Server 2005 database. The primary key on Vouchers is VoucherNum and the foreign key on...
View ArticleWMI query from .NET application cause 2011 error event
Hello,I tried to get information about processes (CPU and memory usage) from remote machine using WMI and Win32_PerfRawData_PerfProc_Process class. But when the target machine has disabled Page File...
View ArticleProgrammatically determine security context a given SQL Server instance is...
What is a good way to programmatically determine the security account under which a SQL Server (2005-2014) service is running so that a set of ACLs can be added to a directory allowing it access?Adding...
View Articlenew URI() converts %3A back to colon
Creating a Uri for use with WebRequest.Create() is converting %3A to a...
View ArticleTesting a boolean for false with ! does not work in c++
This code does not seem to work for me:bool aBool = false;if (!aBool) Console::WriteLine("aBool is false");It doesn't run the writeline. Do you test for false another way?
View ArticleConvert sample string to regular expressions
Is there any way to get regex from a sample string Below is the scenarioinput : a output :[a-z]input :A output :[A-Z]input : B output :[A-Z]same should be happen for german alphabets and also other...
View ArticleWhat is future in .net?
Just random thought. Guide me, if this is not right forum category I am hearing lots of new open source framework (node.js, Groovy on Grails & many) though I don't know how to use them.. Even...
View ArticleWindows API to detect a removable disk(displayed as Local Disk)
There are many USB drives displayed as Local Disk not Removable Disk in Windows, especially these USB drives with Windows 8 Compatibility logo. So when I try to detect a Removable Disk in my .Net(C#)...
View ArticleSsl Cipher Suites
I am trying to find out what cipher suites are supported 'out of the box' on windows 7 and 8 and what determines which ones are available when using the SslStream class.I have found articles that...
View ArticleAxImp having trouble with ActiveX Control OCX
I'm trying to use AxImp to create a wrapper for a custom OCX that was written in C. When I try to use AxImp, it fails with the message: error CS0102: The type 'AxQNIXOCXLib.AxQnixocx' already contains...
View ArticleIs there way to change Web.config site/WCF to something else, say like...
Hi,I have solution with different Projects and their configs. Some are console and have app.config and some are sites/wcf and have web.configs. Most of the stuff are the same though. So instead of...
View ArticleIcon resource for Visual Studio 2013 Express
I'm trying to add an icon to the form window of my windows Forms application that I have imported from Windows 2010 Express into Windows 2013 Express. In the property window for the Form object I...
View ArticleCould not load file or assembly Microsoft.Web.Deployment
Hi, I came across this article while looking for solution to 'Could not load file or assembly Microsoft.Web.Deployment, version=9.0.0.0' This is an excellent article. Thanks to the write for this...
View ArticleCan't Import System.Data.EntityClient
I'm trying to writeImports System.Data.EntityClientbut Intellisense is not giving me the "EntityCLient" option, only "Entity."I'm using the Entity Data Model in Visual Studio 2013.Also, intellisense is...
View ArticlePrintDialog Collate Property always return false
Hello,PrintDialog on windows 7 Framework 3.5 when opened to the user and the user choose printer andthen checked collate when the user click print button on the printdialog,collate property...
View ArticleSelf Hosted Web API using Windows service throws Object reference not set to...
private AxCSService _service; [HttpGet] public HttpResponseMessage SetInstrumentMode(string instrumentMode, string port, string instrumentFamilyName) { _service =...
View ArticleHow to add a pronunciation when adding word in lexicon?
Hello everybody.I have an application working with SAPI, and sometimes I add in the lexicon some words and the following code is working fine :var langId = CultureInfo.CurrentCulture.LCID; var lexicon...
View ArticleMessed up log files
<log4net debug="true"><appender name="RollingLogFileAppender" type="log4net.Appender.RollingFileAppender"><filter type="log4net.Filter.LevelRangeFilter"><levelMin value="ERROR"...
View Article