Now I'm writing code for IOS as follows:
private NameToCode as string
dim job1 as HttpJob
searchnamestrURL="http://quote.eastmoney.com/stocklist.html"
job1.Initialize("job1",Me)
job1.Download(searchnamestrURL)
If job.Success=True Then
Select job.JobName
Case "job1"
NameToCode=job.GetString2("GB2312")
Case "job2"
strRetrived=job.GetString2("GB2312")
Case "job3"
p2strRetrived=job.GetString2("GB2312")
End Select
Else
NameToCode="nothing"
End If
It crushed. When I change the URL as searchnamestrURL="http://hq.sinajs.cn/list=sh600583", it was ok. All the difference is the former downloaded string is large in size and the latter is small. I had written the same codes with my b4a, no any problem. Who can tell me why? Thanks in advance.
private NameToCode as string
dim job1 as HttpJob
searchnamestrURL="http://quote.eastmoney.com/stocklist.html"
job1.Initialize("job1",Me)
job1.Download(searchnamestrURL)
If job.Success=True Then
Select job.JobName
Case "job1"
NameToCode=job.GetString2("GB2312")
Case "job2"
strRetrived=job.GetString2("GB2312")
Case "job3"
p2strRetrived=job.GetString2("GB2312")
End Select
Else
NameToCode="nothing"
End If
It crushed. When I change the URL as searchnamestrURL="http://hq.sinajs.cn/list=sh600583", it was ok. All the difference is the former downloaded string is large in size and the latter is small. I had written the same codes with my b4a, no any problem. Who can tell me why? Thanks in advance.