Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Calling IE without dde or API 1

Status
Not open for further replies.

Joseh

Programmer
Aug 12, 2001
6
0
0
AR
Hello friends,
Here i found how to call IE from PowerCOBOL:
1) Type this on REPOSITORY of the form:
CLASS COM AS "*OLE".
2) In the event of you want to call IE, type this:
WORKING-STORAGE SECTION.
01 IE-APP PIC X(28) VALUE "InternetExplorer.APPLICATION".
01 IE OBJECT REFERENCE COM.
01 OLE-TRUE PIC 1 BIT VALUE B"1".
01 url PIC X(34) VALUE " PROCEDURE DIVISION.
INVOKE COM "CREATE-OBJECT" USING IE-APP RETURNING IE
INVOKE IE "SET-Visible" USING OLE-TRUE
INVOKE IE "NAVIGATE" USING BY REFERENCE url
SET IE TO NULL

And.. that's all :)
Check it out and let me know
Regards from argentina!

Jose
Saludos!
Jose Holzmann
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top