Correction of stiff dialog box of vpiCommonDialogs::ask predicate

Share Tips, Code Samples, etc. with the Visual Prolog community.
User avatar
Ferenc Nagy
VIP Member
Posts: 343
Joined: 24 Apr 2007 12:26

Post by Ferenc Nagy » 13 May 2016 7:24

download
http://franknagy.atw.hu/Tipp/lifegame/E ... Dialogs.cl
and
http://franknagy.atw.hu/Tipp/lifegame/E ... ialogs.pro .

There is the latest version of my extended ask predicate.
TIA, Regards,
Frank Nagy

Harrison Pratt
VIP Member
Posts: 265
Joined: 5 Nov 2000 0:01

Post by Harrison Pratt » 13 May 2016 14:59

Hmmm ... links don't work right. I get this:

Code: Select all

<html> <head> <title>Frank Nagy's Homepage</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2"> <META NAME="COPYRIGHT" CONTENT="Ferenc Nagy, PhD., Budapest, Hungary."> <META NAME="KEYWORDS" CONTENT="My works"> <META NAME="DESCRIPTION" CONTENT="My work and family"> <META NAME="OWNER" CONTENT="Ferenc Nagy"> <META NAME="AUTHOR" CONTENT="frank.nagy@citromail.hu"> <META NAME="ROBOT" CONTENT="ALL"> <LINK REL="SHORTCUT ICON" HREF="http://users.atw.hu/franknagy/images/Samuka/haziko16.ico"> </head> <frameset rows="92, *" frameborder=NO border=1 framespacing=0 cols=*>   <frame name="topFrame" scrolling=NO noresize src="http://f.atw.hu/reklam.php?ad=franknagy&kat=38" frameborder=NO>   <frame name="user" src="http://users.atw.hu/franknagy/Tipp/lifegame/Extended_Dialogs/ExtendedCommonDialogs.cl?atw_referer=http%3A%2F%2Fdiscuss.visual-prolog.com%2Fviewtopic.php%3Ft%3D15513%26start%3D15" scrolling=auto> </frameset> <noframes> <body bgcolor=#FFFFFF text=#000000> <a href="http://users.atw.hu/franknagy/Tipp/lifegame/Extended_Dialogs/ExtendedCommonDialogs.cl?atw_referer=http%3A%2F%2Fdiscuss.visual-prolog.com%2Fviewtopic.php%3Ft%3D15513%26start%3D15">http://users.atw.hu/franknagy/Tipp/lifegame/Extended_Dialogs/ExtendedCommonDialogs.cl?atw_referer=http%3A%2F%2Fdiscuss.visual-prolog.com%2Fviewtopic.php%3Ft%3D15513%26start%3D15</a> </body> </noframes> </html>
I could copy the file links from the HTML and get downloads that way. I tried in Chrome and Mozilla Seamonkey.

Harrison Pratt
VIP Member
Posts: 265
Joined: 5 Nov 2000 0:01

Post by Harrison Pratt » 13 May 2016 22:17

Frank,
I had a chance to play with ask/4 this afternoon -- very nicely done!

Thanks for sharing,
Harrison

User avatar
Ferenc Nagy
VIP Member
Posts: 343
Joined: 24 Apr 2007 12:26

Post by Ferenc Nagy » 15 May 2016 7:36

Harrison,
My web hosting firm adds a banner over the users' webpages using a frameset
link to bannner
---------
link to user's web page
I suppose that you have get something like I have got. See attached screenshoot.
There is a dialog about the handling of the *.pro file because ints extension is unknown for the Mozila Firefox but the *.pro extension belongs to the set assigned to Visual Prolog 7.5 on my computer.
I use Mozilla Firefox. It is possible to inspect the souce code of the webpage.
I have omitted the headers. I have pasted only the frameset block.

Code: Select all

. . . <frameset rows="92, *" frameborder=NO border=1 framespacing=0 cols=*>   <frame name="topFrame" scrolling=NO noresize src="http://f.atw.hu/reklam.php?ad=franknagy&kat=38" frameborder=NO>   <frame name="user" src="http://users.atw.hu/franknagy/Tipp/lifegame/Extended_Dialogs/ExtendedCommonDialogs.pro?atw_referer=http%3A%2F%2Fdiscuss.visual-prolog.com%2Fviewtopic.php%3Fp%3D45818" scrolling=auto> </frameset> . . -
The essence is
"http://users.atw.hu/franknagy/Tipp/life ... ialogs.pro".

The downloading of the *.cl file goes in the same way.
Attachments
atwonmyhomecomputer.png
Banner and dialog: what shall you do with the prolog source file?
atwonmyhomecomputer.png (46.87 KiB) Viewed 1848 times
TIA, Regards,
Frank Nagy

Harrison Pratt
VIP Member
Posts: 265
Joined: 5 Nov 2000 0:01

Post by Harrison Pratt » 15 May 2016 12:04

Got it.
The links in your 13 May 2016 7:24 post now work as expected--the usual Open With or Save As dialog appears. I don't see your ISP's banner, just the dialog. If you didn't change the links in that post, something strange happened and corrected itself in my PC.
Thanks,
Harrison

User avatar
Ferenc Nagy
VIP Member
Posts: 343
Joined: 24 Apr 2007 12:26

Post by Ferenc Nagy » 16 May 2016 4:15

Harrison,
Please think about the topic of a longer term cooperation than minute changes in utiitily dialogs. Visit
http://users.atw.hu/franknagy/home.php?eng
where you can find my former activity and addresses.
TIA, Regards,
Frank Nagy

Post Reply