05-01-2008, 11:13 PM
I don't know the tutorial, but are you sure you're not checking "CPNTrade" against lcase("CPNTrade")? CPNTrade vs. cpntrade
Parse(0) is lowercase, but your cases are not.
Not sure if switches are case sensitive in VB6 though. :S
Code:
parse(0) = lcase(parse(0))
switch(parse(0))
case "CPNTrade"
Not sure if switches are case sensitive in VB6 though. :S