Sven's profileWebSmitSpacePhotosBlogListsMore Tools Help

Blog


    November 20

    Newline and RichTextBox in VB.NET

    Problem

    Today, I had several problems while using a RichTextBox for Application Logging with EntLib and the new Custom TextBoxListener capabilities. (Output is logging to a TextBox of my main form.) But the problem was that I just replaced TextBox with RichTextBox and the formatting didn't display properly.

    Solution

    Just replace the .Text Property with the .AppendText method of RichtTextBox, found here.

    Julian Day Format in VB.NET

    It's just that simple:

    Private Function GetJulianDay() As String

        Return Now.ToString("yy") & Now.DayOfYear.ToString("000")
    End Function

    Vista Blue Screen: “Your BIOS is not fully ACPI compliant“

    Today I found this very strange error message while booting my system. I already installed the actual BIOS for my motherboard, a Gigabyte GA-M55-S3 v2.0. I remembered that Vista installed several updates (46) when I left the office yesterday. That must be the cause of the problem! While talking to my colleague we found the solution, it has something to do with DMI. I never thought about what DMI is and what it does. Nevertheless the Gigabyte BIOS has a tiny tool called "Flash utility" (or similar), you can reach while pressing the "End" key when the system boots. There is an option for "Keep DMI Data", this was set to "Enable" – I turned it to "Disable" and then the system booted fine.

    Regards

    Sven