Sven's profileWebSmitSpacePhotosBlogListsMore Tools Help
Vielen Dank für den Besuch!
Please wait...
Sorry, the comment you entered is too long. Please shorten it.
You didn't enter anything. Please try again.
Sorry, we can't add your comment right now. Please try again later.
To add a comment, you need permission from your parent. Ask for permission
Your parent has turned off comments.
Sorry, we can't delete your comment right now. Please try again later.
You've exceeded the maximum number of comments that can be left in one day. Please try again in 24 hours.
Your account has had the ability to leave comments disabled because our systems indicate that you may be spamming other users. If you believe that your account has been disabled in error please contact Windows Live support.
Complete the security check below to finish leaving your comment.
The characters you type in the security check must match the characters in the picture or audio.
Lists

WebSmitSpace

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

September 29

Siemens protocol 3964R in C#

HOWTO:

Did you ever look for a free implementation of the serial communications protocol 3964R? I found a solution. There is a free project called "rkjava" available on the web. Please have a look at www.rkjava.de. I tried converting this Java solution to C# and – surprise – it was successful. Communication now works very well and imagine – you saved several hundred Euros.

The best feature: it's completely implemented in managed code – no P/Invoke and no ActiveX. By now I only know of the Adontec package based on ActiveX.

 

Tags: PLC-access via serial interface, Siemens Moby-I, VB.NET, C#, 3964 R

May 09

my Linkpage on del.icio.us

Do you know del.icio.us? Good!
 
This is my linkpage: http://del.icio.us/websmitty
 
 
 

Sven G

No list items have been added yet.
WPF  
Photo 1 of 2