Hey, can anyboy tell me why the "dell" part of the script is not working? The "comapq" and "hp" part works well, but i cannot get "dell" part to work, it just stops at the url, while it should use the $setag value and go on to next page.
$vendor = PC vendor
$setag = PC Serial no
Function Vensupp
Select
Case InStr($vendor,'dell') $url = 'http://support.euro.dell.com/uk/en/index.asp?referrer=%2Fuk%2Fen%2Fhome%2Easp&segment=BSD'+Join($setag,"+")
Case InStr($vendor,'compaq') $url = 'http://productfinder.support.hp.com/tps/ProductFinder?h_query='+Join(Split($model),'+')
Case InStr($vendor,'Hewlett-Packard') $url = 'http://productfinder.support.hp.com/tps/ProductFinder?h_query='+Join(Split($model),'+')
Case 1 $url = ''
EndSelect
If $url
Run 'cmd /c start '+$url
EndIf
EndFunction
C the
Edited by Cyrus (2004-03-05 04:53 PM)
_________________________
"... Great minds talk about idea' s, average minds talk about events and samll minds talks about people...!"