Monthly Archives: September 2012

How to return var

I always see the question in C# forum on what is the use of IEnumerable and how to return var. These 2 questions are somehow related. One of the uses of IEnumerable is to return var in a function, see … Continue reading

Posted in .Net | Tagged , | Leave a comment

Access is denied when using IIS Express 8

If your application is using IIS Express and see Access is denied like the screen below.   Go to your Documents folder then look for IISExpress folder. Open applicationhost.config file under config folder. Look for the line below. <windowsAuthenticationenabled=“false“>   … Continue reading

Posted in .Net | Tagged , | 1 Comment

Serial Queue vs Parallel Queue using C#

Below is Enqueue and Dequeue using System.Collections in serial fashion. publicstaticvoid Main() {   // Creates and initializes a new Queue.    for (int i = 0; i < 10000; i++) myQ.Enqueue(i);     // Displays the properties and values … Continue reading

Posted in .Net | Tagged , | Leave a comment

When you double click a button Web Server control but Visual Studio does not bring you to code behind

Look at the 4 buttons below. When I double click the button then it should be me to the code behind. Somehow when I double click this there is nothing happen. For example, I have WebForm1.aspx and one complete Web … Continue reading

Posted in .Net | Tagged , | Leave a comment

AMD Delivers a New Generation of AMD Opteron and Intel Xeon “Ivy Bridge” Processors in its New SeaMicro SM15000 Micro Server Chassis

─ Unprecedented Computing Efficiency Available for Virtualization, Cloud Computing and Big Data ─ SUNNYVALE, Calif.  September 10, 2012 – AMD(NYSE: AMD) today announced the availability of three pioneering innovations that firmly cement the company as the leader in fabric computing, … Continue reading

Posted in Community, Computers and Internet | Tagged , | Leave a comment

Oracle Virtual Machine 4.1.22 vs. Windows Hyper-V on USB integration

Unfortunately I could not find  USB integration in Windows 8 Hyper-V but I could find USB integration in Oracle Virtual Box and it works for my old LiDE 20 CanonScan.

Posted in Operating System, Oracle | Tagged , | Leave a comment

Convert image to byte array

The code below is converting the image to byte array. It is pretty straightforward. partialvoid NewImage_Compute(refbyte[] result) {   byte[] _tempByte;   // Set result to the desired field value   string path = @”C:\temp\images\” + this.ProductImage;   System.IO.FileInfo _fi1eInfo … Continue reading

Posted in .Net | Tagged , | Leave a comment