Quantcast
Channel: .NET Framework Class Libraries forum
Browsing all 8156 articles
Browse latest View live

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 Article


Visual 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 Article


Confusing code

call.CallCategory = (CallCategory)Enum.Parse(typeof(CallCategory),callDetails[4]);cbxCategories.ItemsSource =                 Enum.GetValues(typeof(CallCategory)).Cast<CallCategory>();calls = new...

View Article

DirectoryInfo: FullName vs ToString()

What is the difference between the FullName property and the ToString() method of DirectoryInfo class?

View Article

What'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 Article


C# - .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 Article

System.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 Article

Description: 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 Article


SSLStream.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 Article


Memory 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 Article

Object 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 Article

IPV6 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 Article


Multiple 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 Article

Creating Secure Dll

Is it possible to create Dll which can not be decompiled?

View Article


bug 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

Image may be NSFW.
Clik here to view.

[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 Article


Sql 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 Article

Linq 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 Article

POS.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
Browsing all 8156 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>