VB.Net Different on Other Machine -
this question exact duplicate of:
this has been driving me nuts days now. down cost of couple of servers nothing of hit sanity.. i've narrowed down point of problem i've no idea reason.
my script pulls data different websites , compares them. works locally , on laptop (both windows 7 ultimate) on various different systems (mostly virtual) , several different version of windows - it's not working same way. tool loads normal, browser loads same data seems bored of using it.
it reads same way. can dump in msgbox same way. won't write array or listbox way locally.
so goes wrong.
because data not there use stringsplit:
dim parts string() = readertest.split(new string() {environment.newline}, stringsplitoptions.none) i've ran through different systems dumping output make sure environment.newline isn't differnet , reads fine , in same order.
right after difference starts:
to deal fact data isn't there count size of parts array.
if parts.count = 13 'full box. firstdata = parts(5) seconddata = parts(6) parts.count comes 13. parts(5) , parts(6) both read out same value. normal. that's you'd expect.
but inside if parts.count = 13 writes data array , list box. works fine locally. falls apart on server.
why on earth different?
/edit:
after whole read dumped array. data there. why data in array. writing array works , reason other systems won't show entering listbox?
the other list boxes work different data.
thanks ceres suggesting it.
the answer regional settings on servers. they're set while local systems uk.
there no comparison or going on make encoding issue i've no earthly idea why worked it's running on servers now.
Comments
Post a Comment