Greetings Everyone:
I'm new to PowerBasic for Windows. Up to now I've been a DOS dinosaur writing code in C to run in MS-DOS for real-time data collection and other good stuff out in the field.
I'm also dabbling in the stock market and am working on writing a program to perform technical analysis on various stocks. Obviously, before I can perform the analysis, I must first read in the stock data. Downloading an Excel file from Yahoo! is just the ticket and I've noticed that someone has created a URLDownLoadToFile() function which performs this requirement nicely.
But I would like to skip the step of downloading the file, storing it to disk, then opening it up and performing the parsing. If possible, I would like to dump the URL contents directly to a string buffer and parse it immediately without first storing the contents in a disk file.
Has anyone experimented with or developed a URLDownLoadToString() function? If so, I would certainly like to hear from you!

Thanks.
I'm new to PowerBasic for Windows. Up to now I've been a DOS dinosaur writing code in C to run in MS-DOS for real-time data collection and other good stuff out in the field.
I'm also dabbling in the stock market and am working on writing a program to perform technical analysis on various stocks. Obviously, before I can perform the analysis, I must first read in the stock data. Downloading an Excel file from Yahoo! is just the ticket and I've noticed that someone has created a URLDownLoadToFile() function which performs this requirement nicely.
But I would like to skip the step of downloading the file, storing it to disk, then opening it up and performing the parsing. If possible, I would like to dump the URL contents directly to a string buffer and parse it immediately without first storing the contents in a disk file.
Has anyone experimented with or developed a URLDownLoadToString() function? If so, I would certainly like to hear from you!


Thanks.
Comment