|
forums.silverfrost.com Welcome to the Silverfrost forums
|
View previous topic :: View next topic |
Author |
Message |
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7928 Location: Salford, UK
|
Posted: Wed Jun 09, 2021 9:50 am Post subject: |
|
|
Steve
I created a new html file via Plato, typed in "Hello World" and saved it. I used the file name in your program and it gives the default popup menu with access to print.
I don't know much about html but the resulting header may make all the difference...
Code: | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
|
|
Back to top |
|
|
steveDoyle
Joined: 04 Sep 2009 Posts: 108 Location: Manchester
|
Posted: Wed Jun 09, 2021 11:00 am Post subject: |
|
|
Hi Paul
I tried you suggestion on a Win XP and a Win 10 system with no luck.
your documentation states that %WB uses the MS internet explorer engine.
i tried switching from Chrome back to IE as the default engine to see if it would help but still no popup menu
thanks
steve |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7928 Location: Salford, UK
|
Posted: Wed Jun 09, 2021 12:03 pm Post subject: |
|
|
Steve
I am using Windows 10.
Here is my copy of your program...
Code: | winapp
PROGRAM TEST
! ============
IMPLICIT NONE
INCLUDE <windows.ins>
INTEGER IWIN,state
INTEGER OPEN_WEB
EXTERNAL OPEN_WEB
state = 4
IWIN = WINIO@('%CA@&', 'WB test')
IWIN = WINIO@('%ib&','tb_web',state,OPEN_WEB)
IWIN = WINIO@('%bx&',0.1d0)
IWIN = WINIO@('%^bt[wb_test]&', OPEN_WEB)
IWIN = WINIO@('%ff%3nl%cn%bt[OK]')
END
INTEGER FUNCTION OPEN_WEB()
! =========================
IMPLICIT NONE
CALL SHOW_URL_WEB('Report', 'C:\techsupport\HTMLsource1.htm')
OPEN_WEB = 2
END
SUBROUTINE SHOW_URL_WEB(CAPTION, TMPPATH)
! ========================
IMPLICIT NONE
INCLUDE <windows.ins>
CHARACTER*( * ) CAPTION, TMPPATH
INTEGER IWIN
IWIN = WINIO@('%CA@&', CAPTION)
IWIN = WINIO@('%80.35wb@&', TMPPATH)
IWIN = WINIO@('%ff%nl%cn%bt[OK]')
END
RESOURCES
tb_web BITMAP "capture.bmp"
|
Here is my copy of the HTML file HTMLsource1.htm...
Code: | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=windows-1252" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 11.00.10570.1001"></HEAD>
<BODY>Hello World </BODY></HTML>
|
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|