@ agraham
I understood the explanation from you regarding open port.
I have Microsofts Visual Studio 2008 and I create the same code for VB.Net
which I created for B4PPC. But also this creates other problems which former
worked quite well in B4PPC.

(I like this Smiley).
In B4PPC directly after initialisation and opening port I got the BT connection.
But Now with VB.Net it's much more complicated and I got another error which I could'nt understand.
Anyway, this is a B4PPC based Website and I think that B4PPC have a lot of advantages which are better than VB.Net (one of them is that VB.Net is much more complicated).
I have to find a way to communicate which the PPC & LegoBrick in whatever way. Maybe next version of B4PPC
Anyway, thanks a lot to agrahm and erel to taking care my questions.
@ RandomCoder
My son is 10 years old and my intention was and is to guide him in a kittenish way to mechatronics and programming.
I am involved in John Hansen's BricxCC for Legos bricks as a beta tester and I translated the above mentioned program in my native german language and changed something in the code to make it easy for my son to program the Lego Mindstorm Brick in bloody similar C programming language named NXC, but by today it's a little bit hard for my son to understand text based programming language.
Of course, the software of Mindstorm is based upon NI's Labview with some limitations where my son is now programming with.
If you are familar with NI's Labview you can also download an SDK for Mindstorm on NI website with much more complex possibilities than the normal Lego software, but it's very tough I guess.
From my point of you, I think this is one of the best opportunities to start programming for kids in a very easy and funny way, because if your son
is using the orignal software of Lego Mindstorm he will have an WYSIWYG
like effect.