Capturing text from ext. prog. opened by ShellExec

Discussion in 'Software' started by Bud1960, Mar 22, 2004.

  1. Bud1960

    Bud1960 Private E-2



    Hi, All!

    Here is my code so far...

    //---------------------------------------------------------------------------

    #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
     
  2. Nikos_Nikol

    Nikos_Nikol Private E-2

    :rolleyes: Please if you have found something send me a message (icsd01034@icsd.aegean.gr) . I am a student and i need it. :confused:
    Thanks!
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds