change sender address when sending email
Hi All,I have developed an application which is basically for sending email.I want to change email address but unable to do. For ex:I am sending email from "abc@gmail.com" but I want that recipient see...
View ArticleVisual Intercept
This is regarding problem occur while migrating classic ASP application from Window XP to Window7 (64 bit) OS. Visual Intercept option is not available under IIS7.0 and hence we are unable to proceed....
View ArticleConfusing code
call.CallCategory = (CallCategory)Enum.Parse(typeof(CallCategory),callDetails[4]);cbxCategories.ItemsSource = Enum.GetValues(typeof(CallCategory)).Cast<CallCategory>();calls = new...
View ArticleDirectoryInfo: FullName vs ToString()
What is the difference between the FullName property and the ToString() method of DirectoryInfo class?
View ArticleWhat's the difference between HttpContext.ClearError and...
Below is quoted from http://msdn.microsoft.com/en-us/library/aa479332.aspxELMAH discovers unhandled exceptions by way of the HttpApplication object's Error event. The Error event is raised whenever an...
View ArticleC# - .NET 4.5 Speech Recognition problems
Hello, my name's Jake Cross! I've recently ran into a problem when I upgrade to Visual Studio 2013 running .NET 4.5. I've been using Sharp-develop for programming C# with the .NET 4.0 framework but and...
View ArticleSystem.Data.SqlClient.SqlException: The operation failed because the session...
Hi,When does "System.Data.SqlClient.SqlException: The operation failed because the session is not single threaded" exception get thrown ?We have a web application and the above exception get thrown in...
View ArticleDescription: The process was terminated due to an internal error in the .NET...
Hello everybody,since a few days our windows service application crashes several times with the same errorFramework Version: v4.0.30319 Description: The process was terminated due to an internal error...
View ArticleSSLStream.Read() method unexpected state
Hi,I am building an desktop application that requires to be a SSL Server via TCP/IP communication.Initially everything is working fine. I am able to start the listener, connect to a SSL client,...
View ArticleMemory Leak while opening the XPS document in DocumentViewer
FilePath is XPS file namexpsDoc = new XpsDocument(FilePath, FileAccess.Read, CompressionOption.NotCompressed); FixedDocumentSequence fixedDocumentSequence = xpsDoc.GetFixedDocumentSequence();...
View ArticleObject reference not set to an instance of an object.
I'm loading dll using reflection. So while invoking method "Object reference not set to an instance of an object" error occurred. My Code is :string strAssemblypath =...
View ArticleIPV6 CIDR adddress validation in c#
Hi,I need a IPV6 CIDR validation code in c#.I found one post on Microsoft forum, which validates CIDR notation for IPV4. On the similar line I need code for...
View Article.net save excel as stream
Hello,I have an requirement to create a report in excel sheet and give the user to download the same in asp.net web application.Currently i am saving the excel report on server and giving the user to...
View ArticleMultiple access to embedded resources inside a .net assembly
I developed a .net assembly that uses embedded resources(xsd and xslt files) to validate and transform XML files. The embedded resources are accesed using streams with:...
View Articlebug in System.Uri class?
I am trying to write a quick and dirty email client for windows app store but it crashes on craigslist reply links. craigslist uses %40 instead of @ sign. here is some simple code to repeat problem:...
View Article[RESOLVED] Creating Image File: Parameter is not valid.
Hi everybody, I am creating an image(jpeg) file from stored bytes[] in sql database, Varbinary datatype, (I used Image datatype also same result), I am using this jpeg image file to set to a Image...
View ArticleSql Reporting Fields
Hi All,I am working on SSRS. I want to display multiple values for particular fields.For ex: if we have field city in database and we want to display multiple cities like abc,def,xyz.how can we do...
View ArticleLinq to Sql: Insert Function
this code works fine with no error but the Student table is not updated in the database .. when i select show table data there is no data in the table. void EnterData() { linkDataContext db = new...
View ArticlePOS.net 1.12.10.0, OPOS v3.31, Symbol LS2208 Barcode Scanner not working on...
Hi, I have a vb.net application created in VS 2013 professional - It utilises a symbol LS2208 Barcode scanner. The application builds and works great on the development machine (thanks to help from...
View Article