PrintDialog 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 ArticleIs there a way to get list of all colors?
I need to get list of all system colors from drawing.color and be able loop through themis there a way to do it?
View ArticleHow to check a Deployed Application and Services are using RC4 Cipher Suite
How to check a Deployed web Application and Services are using RC4 Cipher Suite
View ArticleMVC not working
MY MVC project is not recognizing any item as viewbags, htmlhelpers, etc. What could be ?Error7The name 'ViewBag' does not exist in the current...
View ArticleConsole application to read an excel file and insert column values in a sql...
Hi Please let me know the code by which i will read the text file from my local which has the pipe separated content like this excel file-"Book1" and will insert row data/values in sql...
View ArticleVS 2013 oracle connection issue
I am using window8 64 bit for developing windows mobile application using VS2013 and my problem is when I try to open a oracle client connection from vs2013 it showing error. I just want to know which...
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 Article.ClientFormsAuthenticationMembershipProvider - System.Net.CookieException:
When attempting to call ValidateUser I am getting a System.Net.CookieException stating that part of the cookie is invalid. This is only happening for some users. The application is WPF, I can see the...
View ArticleNo ENUM for SHA256 in HashAlgorithmType ?
In System.Security.Authentication is an enumeration class HashAlgorithmType. I'm using the class to check the used hash algorithm when I use SslStream to create a secure connection.Accoring to the...
View ArticleButtons in a dialog box move after closing and reopening designer.
I am working with VS2013, .Net 4.0 and C#. I have several simple dialog boxes with a label, progress bar, multi-line textbox and a button. I move the objects around in designer and things appear as I...
View ArticleObject Reference Not set error from Enterprise Library
Hello,We have a .Windows application developed on .net 3.5 and SQL server 2008 . We are facing a very strange issue when we have deployed the instance all together on a different server recently. It...
View ArticleMigrating Solution from .Net 3.5 to .Net 4.5
Hi all,I have a solution in VS2010 .net 3.5 framework. I need to migrate this to VS2012 .net 4.5 framework. But the issue is when i have opened solution in VS2012 and was trying to change the target...
View ArticleAdded the login function from VS before using I have an error
these are the error messages: Error6 Make sure that the class defined in this code file matches the 'inherits' attribute, and that it extends the correct base class (e.g. Page or...
View ArticlePrinting Chinese characters
I have a Windows Service that gets sent a document that contains a mixture of English and Chinese characters. When I debug and view the contents of the string, I can see the Chinese characters. If I...
View ArticleHow to do bulk update and bulk delete in code as bulk copy is done in code
Hi ,I have this code to read text file and then insert the table values in respective table of SQL.I am using bulksqlcopy function in same program i want program should ask for edit and delete as well...
View ArticleC# AD SearchResponse does not contain memberOf when using DirSyncRequestControl
C#using System.DirectoryServices.Protocols;<o:p></o:p>I am failing to retrieve the group membership of all AD users when I use a DirSyncRequestControl (with or without cookie, null or...
View ArticlePassing TraceListener through remoting in another domain.
Why TraceListener is derived from MarshalByRefObject. That heritance doesn't carry any benefits.I can't use TraceListener after passing it through remoting in another domain, because TraceEventCache in...
View ArticleTimeout for asynchronous SslStream methods AuthenticateAsClient takes too long
I'm developing a .NET service which tries to establish a secure connection to a server. The service does not know in advance if the server supports secure connections. That's why I simply try to...
View ArticleRenaming the assmbly name of a dll using ILDASM
Hi,For my req. i want to rename the assembly name of a dll. I tried Ildasm to generate the .il file and changed the assembly name and again recompiled it using ilasm.I change the highlighted word in...
View Article