The situation: An Application needs to go on line, check a web site for some pertinent data, then drop off. Simple, yes? No. But the limitations are (probably) all mine.
Current Scenario:
The application Loads URLMON.DLL as DLL 1 (or whatever number is appropriate), then performs a URLDownLoadToFile, placing the data in a temp file, then drops connect. The Temp file is then loaded into a string, and processed for pertinent data.
Connect. Save URL data to file. Read file into memory. Process string for pertinent data.
Too many steps, I'm thinking. Not very efficient at all, considering the capabilities of the development engine and the native windows environment.
Question: Is there a way to perform the connect, URL data retrieval
directly to the String? I seem to recall doing something like this in VB6 - a long time ago - but have forgotten the "hooks" I used, and there's no way to recover the original utility: the company it belong(ed)s to has been defunct for years.
Just curious, as a recent conversation with Jinzai made me realize that the kludge I use to acquire external IP addresses could very well be streamlined into something neat, quick, quiet, and clean. Alas, I'm not sure how this could be accomplished, or how.
Thank you in advance for your time and troubles!
LongFist
SuperProgrammer For Hire