April 2004 - Posts

MSN Block (Status) checker B2 + source

Hey here is my most useless writing ever!

So i rewritten the frist version and now you can download the source :) Have fun!

You can download the source and program here : http://members.home.nl/warnar/DotNet/

MSN Block Checker

YeY i had some spare time so i wanted to do something and gess what i made a reall msn Block Checker if you wane c if someone is really offline :D

Very useless have fun will post the source sometime when i clean it up

Download it here http://members.home.nl/warnar/DotNet/MsnBlockCheck.exe

I graduated or something like it

Yeah men you won't beleef it but i got my diploma today it's MBO ICT niv. 3 not really that great but still it's my first diploma and i was the best of my class here are my marks (10 is highest and 1 is lowest and it's in dutch sorry):

Zakelijke Communicatie MVT 3 -Keuzetaal 1 Engels        7
Zakelijke Communicatie 3                                                 7
Bedrijfsorientatie 3                                                            7
ICT-Gebruik 3                                                                 8
Installatie Hardware 3                                                       7
Datacommunicatie 3                                                         6
Onderhoud en Beheer Informatiesystemen 3                     6
Onderhoud en Beheer Netwerken 3                                 8
Helpdesk 3                                                                      V (voldoende)
Orientatie op de Informatie-analyse 3                               7
Werkveldorientatie 3                                                        8
Installatie Software 3                                                        7

Ok I agree it aint perfect but it is still great and i have one W00T :D :D

IsNumeric in C#

Hey just survived the hell called school and bad organisation but now i'm gone start blogging again.

When i was reading thro one of the blogs i found a reverence to a function called Isnumeric but it's only there for VB.NET so i had to find/make me one. Here is a solution to the problem:

public static bool IsNumeric(object value)
{
        try 
       

                int i = Convert.ToDouble(value.ToString());
                return true
        
        catch (FormatException) 
       
                return false;
        }
}

I know it's not what the vb version is doing but hey it works :D

Good luck all Weeee i have a post witch has 1100 web views

Working with DataList ItemDataBound

Ok so i was bizzy with a datalist with a picture in it witch should be loaded like the ID was 22 then the picture would be http://localhost/picture/product/22.jpg but it could also be that there was no picture and then it should link it so http://localhost/picture/product/na.jpg the problem was how do you do this a well here is the way i did it.

The img was called “img_product” and was on the ItemTemplate now i whent to events and dubble clicked on ItemDataBound kicked me to the codebehind and made the function DataListProduct_ItemDataBound(object sender, System.Web.UI.WebControls.DataListItemEventArgs e) so now i needed to access the image from the datalist. This was done by using:
Image image = e.Item.FindControl(“img_product“) as Image;
Now i could access the ImageUrl of the image by using:
image.ImageUrl = string.Format(“http://localhost/picture/product/{0}.jpg“, ID);
Here ID is na or the ID of the product.

So the way to acccess a control using ItemDataBound is e.Item.FindControl(“<ControlName>“).

Good Luck all and have fun :D

(Free) TreeView Controls test

So i have been looking for a (Free) Treeview control that can help me with my site navigation here are some i found and tested.

Advanced Web Controls TreeView for ASP.NET (Eilon Lipton)
Pritty good treeview control notting to fancy allworked good.
Download:
http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=A9043E5C-DB3C-401B-BC17-6E7DF5620F64

ASPTreeView (obout)
Good treeview control simple but good very easy to use but can't be added to the toolbar witch is a bit of a bummer also if you want to make it a link you have to do the html to the Add methode and one more thing it will only print in a tabel so it aint a real control.
Download:
http://www.obout.com/obout/treeview/xp_treeview.asp

TreeView (CrapStuff)
Pritty good treeview control like it documentation is a plus on this one like the install it's also one of the better treeview controls that i tested.
Download:
http://crapstuff.craponne.org/treeview/download.aspx

These are the ones i tested personaly i'm going for the Crapstuff now has everything i need here are two more you may wane try:

Microsoft
Documentation:
http://msdn.microsoft.com/workshop/WebControls/webcontrols_entry.asp
Download it form:
http://msdn.microsoft.com/downloads/samples/internet/ASP_DOT_NET_ServerControls/WebControls/default.asp

Lostinet
Very strange about the licence and a lot to mutch option what i was seeing.
http://www.lostinet.com/
Download:
http://www.lostinet.com/en/portal/DesktopDefault.aspx?tabindex=1&tabid=12

Hope someone can use it did i forget one Please send me a comment or mail and i will check it out.

Edit (Thanks Kevin Blakeley):
squishyTREE
Pritty good but a bit to mutch stuff and not enough documentation it has some pritty cool option's but still a bit to mutch (for me!).
Download:
http://www.gotdotnet.com/Community/UserSamples/Download.aspx?SampleGuid=A096C052-520E-4FDD-9E64-9FF0875E59A6