woensdag, november 30, 2005

Javascript helps you, to go to an anchor on your webpage

This function (VB. NET) uses javascript to navigate to a specific anchor on your webpage,
This function is only for navigating to #convert, but you can easy change the function offcourse:



If anybody knows how this is possible in ASP.NET, let me know, I'm not a freak yet

Setting the description of a Windows Service isn't possible? [UPDATED: yes it is!]

When I did my first Windows Service, everything was going smooth.

Only stupid thing that I didn't find out was how to set the description text (visible in service overview).....
Something I find was the ServiceProcessDescriptionAttribute, but I didn't find out how to link it with the service

Blogs that also mention this problem:
http://www.jasonbock.net/JB/Default.aspx?blog=entry.b36451aa549f4e238a7aafa18b770aa6
http://www.jasonbock.net/JB/Default.aspx?blog=entry.c0ca31947dcc48278600834533ee16ea

Finally I found a solution on The Code Project:
Adding a description to a .NET Windows Service:http://www.codeproject.com/dotnet/dotNETSCMDescription.asp