How to Open html in Form? [message #465578] |
Wed, 14 July 2010 21:44 |
crafet
Messages: 11 Registered: July 2010 Location: China
|
Junior Member |
|
|
Hi,All
I have a Problem
i have a button in the form
,also have a web page C:\test.htm
how can i open this web page in form
i donot know what to write in the WHEN-BUTTON-PRESSED
crafet
|
|
|
How to Open html in Form? [message #465579 is a reply to message #465578] |
Wed, 14 July 2010 21:47 |
crafet
Messages: 11 Registered: July 2010 Location: China
|
Junior Member |
|
|
hi All
i have a button in the canvas,name:CallHtml
also a web page in C:\test.htm
i donot know how to call this web page in my form using that button
what should i write in the WHEN-BUTTON-PRESSED?
thanks
crafet
|
|
|
|
|
|
Re: How to Open html in Form? [message #465598 is a reply to message #465588] |
Wed, 14 July 2010 23:22 |
crafet
Messages: 11 Registered: July 2010 Location: China
|
Junior Member |
|
|
thank u havok
i use form 9i,not 6i
web.show_document(),i doesnot work,
like :
WEB.SHOW_DOCUMENT('c:\test.htm','_self');
it show error:'c is not protocol like http'
you know ,c:\test.htm is not a URL
and in form 9 i cannot find WEBUTIL_HOST.HOST command
am i wrong?
thanks and regards
crafet
|
|
|
|
|
|
|
|
|
Re: How to Open html in Form? [message #465642 is a reply to message #465598] |
Thu, 15 July 2010 01:13 |
havok
Messages: 36 Registered: February 2010
|
Member |
|
|
crafet wrote on Wed, 14 July 2010 23:22
WEB.SHOW_DOCUMENT('c:\test.htm','_self');
it show error:'c is not protocol like http'
you know ,c:\test.htm is not a URL
Not correctly written. You must copy this file to a folder. Which folder? I do not remember. And do
(for example WEB.SHOW_DOCUMENT('http://localhost:80/DIRECTORY/test.html', 'blank'); )
[Updated on: Thu, 15 July 2010 01:14] Report message to a moderator
|
|
|
|
|
|