Adding Scrollbar to MS Chart Component
I have created an MS Chart component which work just fine in my application. However, I now need to add a horizontal scroll feature to the chart. I have review numerous post and am still striggling...
View ArticleAccessing 4.5 features
I am trying to use the new ZipArchive class (which is part of System.IO.Compression when the application is built with .NET 4.5). I previously got this to work. But I am having trouble with an...
View ArticleDoes .NET Framework 4.5.1 Include Hotfix 2848798?
My ASP.NET 4.5 web site is generating the following exception intermittently: System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. --->...
View ArticleWhy I cannot decode in base 64 entirely my string encoded correctly?
Hi all, I am using this code from my java client to encode : encodeBase64String(byte[] binaryData) : Encodes binary data using the base64 algorithm into 76 character blocks separated by CRLF....
View Articlewhy cannot TcpClient read data by packets, as Udpclient can do?
hi, I am reading a networking book aobut TCP/IP. I want to get more solid understanding of TCP and UDP by socket programming in C#. I find out that by calling UdpClient.Receive() I can receive the data...
View ArticleCreate XML element with prefix but no xmlns attribute?
Is there a way to create this XML with the .NET XML namespace methods? The elements below <fld2> are namespace qualified<root> <fld1> </fld1> <fld2...
View ArticleI have a question
http://msdn.microsoft.com/en-us/library/zyzhdc6b(v=vs.110).aspx"A call to an EventHandler or MethodInvoker delegate will be faster than a call to another type of delegate. "what does that mean?e.g )...
View ArticlePublishing .net application
Hello. I've created .net application, and now I'm trying to publish this application on another computer. So, on solution properties Target framweork is 4.5. After that I publish this application an...
View ArticleBug in Linq AsParallel
Hi guys,I have found a strange behavior in AsParallel method. It looks like a bug. This behavior was tested on Win7 and Win8 64 bit machines with 4 cores processor (Intel i5-3437U).So... I have a code...
View ArticleWhy the Non Shared object in CatalogExportProvider is not released for...
What is the lifetime of a composed NonShared object?For example: if we created a View Model object using an ExportFactory<object, Metadata> (the Metadata being used to resolve what kind of VM...
View ArticleConvert various graphic formats into a Bitmap format
I need to know how to convert images file (*.tiff,*.jgp...) into a bitmap format to manipulate the images.However the Bitmap class loads all type of graphics formats it gives wrongs with SetPixle() and...
View Articleaccess to the port com1 is denied c#
I use a virtual serial port emulator , but im my application in c# , it still told me that access to the port com1 is denied 0 and here is my app : public Emission(int i) {...
View ArticleSession is null only for the first time when redirect to external link
Can anyone suggest why my session clears after redirect to external link such as paypal for the first time. Any time after the first time is works perfectly. Can't seem to figure what is causing the...
View ArticleTCP client reciving
Hi allI'm working on application that will communicate with hardware wifi module. As communication interface I'm using TCP -module create server and my application connect to server. For my use i am...
View ArticleStrongly Named DataSet.AcceptChanges() problem (high cpu and runs for ever)
Hi,I am having problem with a dataset which in some cases will take up to 15 min to complete an AcceptChange and CPU usage is very high.I have tested a few things to see if I can make it go faster and...
View ArticleRSA Sign with Cryptography smartcard
Hi everybody! I'm trying to use the following code to sign some data using a key stored in smartcard1- CspParameters csp = new CspParameters(1, "Advanced Card Systems CSP v3.0"); 2- csp.Flags =...
View ArticleIMAPI for Windows8 or .net 4.5.
I want to implement burn disc function on WPF application.Now I use Windows8 OS, it offer burn a disc. Does it calls IMAPI2.0 directly, or other API?Is there some support for win8? And dose have C#...
View ArticleMVC3 EF5 query plan caching
I have MVC3 project with target framework 4.0. I am developing under VS2010. I have .NET 4.5 installed of my machine. I use PostgreSQL as database server. I read that EF4 and DbContext does not...
View ArticleCannot find Direct command for connected standby C#
Hello , As known there are direct commands for power states in windows and c# like Shutdown/Sleep/HibernateBut I cant find the direct command to get the machine into Connected Standby state (On the...
View Article