Profil för SvenWebSmitSpaceFotonBloggListorMer Verktyg Hjälp
Vielen Dank für den Besuch!
Vänta...
Kommentaren du angav är för lång. Minska den.
Du angav inget. Försök igen.
Vi kan inte lägga till din kommentar just nu. Försök igen senare.
Du måste be en förälder om lov för att lägga till en kommentar. Be om lov
Din förälder har inaktiverat kommentarer.
Vi kan inte ta bort din kommentar just nu. Försök igen senare.
Du har överskridit antalet kommentarer som kan lämnas på en dag. Försök igen om 24 timmar.
Ditt konto har spärrats från att skicka kommentarer eftersom våra system indikerar att du kanske försöker skicka skräppost till andra användare. Kontakta Windows Live-supporten om du tror att ditt konto har spärrats på felaktiga grunder.
Slutför säkerhetskontrollen nedan för att slutföra din kommentar.
Tecknen du angav i säkerhetskontrollen måste matcha tecknen i bilder eller ljudet.
Listor

WebSmitSpace

den 20 november

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

den 29 september

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

den 9 maj

my Linkpage on del.icio.us

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

Sven G

Inga listobjekt har lagts till än.
WPF  
Foto 1 av 2