Welcome Serena Central users! CLICK HERE
The migration of the Serena Central community is currently underway. Be sure to read THIS MESSAGE to get your new login set up to access your account.
peter_morin_hassetta Absent Member.
Absent Member.
908 views

Is it possible to open a website in an existing open tab via thin client

The following code works fine but iT opens a new tab each time it is exexuted using IE9.   Hoping that it is possible to open in an existing tab if available.

Excerpt:

STRING "start "                                           DELIMITED BY SIZE

"https://www.[any website goes here].com" DELIMITED BY SIZE

INTO WS-FIELD

.

.

.

CALL   "C$SYSTEM" USING  WS-FIELD  ,

                                                  201

 

 

0 Likes
2 Replies
Micro Focus Expert
Micro Focus Expert

RE: Is it possible to open a website in an existing open tab via thin client

The syntax you are using is just like typing a command into a command prompt. One way you could do what you are asking is for the COBOL program to provide the browser, with ACUCOBOL-GT you can use a browser control (which is IE) and have this control in a window, ou could inquire on the control to see which url it has open and then allow the user to open an additional url.

0 Likes
neidingd Honored Contributor.
Honored Contributor.

RE: Is it possible to open a website in an existing open tab via thin client

it's a user option how/where new pages are opened in the browser. It give no parameter api-function where you can define it.

And i don't think that a user want that his current website is changed from an external program.

The only way is the Browser Control... i tested it long ago and had several problems with complex websites which dosn't work correct in the browser control.

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.