Hi, All!
Here is my code so far...
Code:
//---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
//---------------------------------------------------------------------------
#pragma argsused
int main(int argc, char* argv[])
{
AnsiString Url =
"http://www.ehymns.com/test.html?from=home&page=2132findzip&address1=" +
(AnsiString) argv[1] + "&zip=" + argv[2];
//ShowMessage( Url );
ShellExecute ( NULL, "open", "C:\\iexplore.exe", Url.c_str(), NULL, SW_SHOW );
return 0;
}
I would like to somehow get into the browser window and import the HTML source into an AnsiString (or other) variable so that I can parse out the text and return the extended address' zip4 info as an integer back from the program.
Thanks!
Bud