>>Do u mean to use a seperate exe to run the download part and then return the values ?
>>
>>I get the values in a string format so is it possible to get the result back ?
>>
>>something i have not tried ....
>>
>>any pointers in code ??
>>
>>thanxs
>>
>>suhashegde
>
>I have a similar situation in one application I use daily. I have a separate exe which does the downloads, and this exe creates a txt-file in a specific folder for each successful download, the name of the file is a random number, like 12345678.txt. The main program has a timer, and this timer checks this directory regualarly using
>something like
>if adir(dummy,'mydir\*.txt')>0
> do myprocess
>enddo
Hi,
I infact would not like to save as a text file or use a file handle because it consumes time. What i do is use the return in a memvariable maniulate it and feed the grid.
There would be a timer on the form to contimously search for the file and would update with the old file if avaiable. In that case the data viewed might not be current and that would not be good. These are live stock market rates where i wish i would be current. If broad band is avaiable then that would ease a lot of my problems but its avaiablity is distant in the near future....
would a seperate exe return string ?
and i would do something like this
returnvar = ''
with thisform
.object = createobject('newexe')
.object.download(url)
returnvar = .object.string1
endwith
do while empty(returnvar)
enddo
would that approach work ??
suhashege