Help Urgent... Internet Transfer Control (OpenUrl method)

gajanan

New Member
Hi all.

I am developing an application which contains one Internet Transfer Control
I am using its openURL method to get the remote data by specifying the url name. The passed url is of one php file.
eg. say, getTheString=oInt.OpenUrl( http://www.abc.xyz/php/phpdocs2/download.php?TypeList=1&ID=120)

This php file calls required functions within it and fires queries on the remote database(mySQL) according to the values of the passed parameters in the URL. and gets one string of data. and echos that string. So i get the echoed string in my application.

But my problem is that sometimes i get the string and sometimes i dont get the string. and what i guess is that the "openurl" method may not be waiting enough for the php file to execute the proper function, execute the queries get and the string and echo it. i.e. before echoing the string by the php file, the
openURL method returns blank string.(Which the PHP file should return IF AND ONLY IF IT HAS NO DATA TO RETURN).

Can anybody help me please?

Thank You.
Gajanan
 

gajanan

New Member
No finework :(

Hello finework.

I temporarily have solved it by adding some delay with the vb's sleep method.
but i don't think that this is the correct solution for this.

Please let me know if u have a better solution.

Many Thanks for your kind concern...

waiting...
-Gajanan
 
Top