Category nameļ¼šVisual Basic

Ok, a .NET question this time

I have a question ?

Is it possible to create a windows service that performs a specific function. Lets say add two numbers.

Next i want to call the fucntion AddNumbers from a windows forms application.

How hard can this be, So many guru’s around here can anybody point me in the right direction ?



Some things can make a Difference

Well a lot of people will skip reading by now because the word VB.NET is going to be used in the next few lines. But there are ZeeSjarpers out there that really NEED vb. Have a read of this article and see why some people would use VB in a C# program.

Sure sure a lot of people will say ‘I don’t need VB for that I can build the function myself’ and these people are right. But then I can recommend them to write C++ or even better Assembler, then you can build everything yourself.


Why I Like If / Endif

Sure lot’s of people will laugh at me because I am a VB fan. (You know use If and End if and kiddy stuff like that)

Well read this Nice Article which is about biztalk and a tiny piece of c# code.
Try to read it and spot the error.

If you didn’t notice the error before the explanation Then try the following …….

If ‘You spotted the error at once’ Then
   ‘You are a good C# Programmer’
   ‘Consider switching to VB
End if

Guess everybody understands this one…….

Whooooooooooow very nice indeed….

I was looking for a ‘Microsoft look alike‘ roll over button.

Go to hover a little around in the menu on the left and see what I mean. I Asked a very experienced C# programmer (the kind that makes fun of us VB programmers) for help.

Wel he couldn’t help me either so Hit the RETINKIFY button on the VB.NET context menu and found someting very nice.

In the Styles you can add the hover property like this :


border-right: whitesmoke 1px solid;
border-top: whitesmoke 1px solid;
font-weight: normal;
font-size: x-small;
text-transform: none;
border-left: whitesmoke 1px solid;
color: dimgray;
border-bottom: whitesmoke 1px solid;
font-family: Tahoma;
background-color: whitesmoke;
text-align: center;
text-decoration: none;

border-right: black 1px solid;
border-top: black 1px solid;
font-weight: normal;
font-size: x-small;
vertical-align: baseline;
text-transform: none;
border-left: black 1px solid;
cursor: hand;
color: black;
border-bottom: black 1px solid;
font-family: Tahoma;
background-color: darkgray;
text-align: center;
text-decoration: none;

When you are not hovering .menu is used and when you hoover .menuHover is used. What I don’t know is if there are more : tricks like :CLICK or whatever…. Anoybody of the Wasabi Guru’s know the answer ????

I am sure you all knew this but I see a lot of“onmouseover“,“bla bla java stuff to change backround color“) that’s not needed………


Compiling .NET code on-the-fly

June 10, 2004 / Comments Off on Compiling .NET code on-the-fly

I Was looking for an ASP web control that looked like the Microsoft menu. See But then I stumbled into this very interesting article….

Sometimes it is useful to add some programmability to your projects, so that a user can change or add logic. This can be done with VBScript and the like, but what fun is that when .NET allows us to play with the compiler? Obviously, your compiled “script” is going to be much faster than interpreted VBScript or Jscript.

See the complete article Here

  • Recent Posts
  • Recent Comments
  • Archives
  • Categories
  • Meta