Home » Developer & Programmer » Forms » How to open a html page in forms..using web.show_document
How to open a html page in forms..using web.show_document [message #364794] Wed, 10 December 2008 01:24 Go to next message
chandan.rattan
Messages: 84
Registered: December 2008
Location: India
Member

How to open a html page in forms..using web.show_document

BEGIN
WEB.SHOW_DOCUMENT('C:\Documents and Settings\CCHN1194\Desktop\close.html', '_self');
EXIT_FORM;
END;

i have writen this code. but this is not working.......
Even i have put close.html in my bin.

Please help me..........
Re: How to open a html page in forms..using web.show_document [message #365111 is a reply to message #364794] Thu, 11 December 2008 00:38 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Try using a directory that does not have spaces in its name.

David
Re: How to open a html page in forms..using web.show_document [message #365122 is a reply to message #364794] Thu, 11 December 2008 01:01 Go to previous messageGo to next message
chandan.rattan
Messages: 84
Registered: December 2008
Location: India
Member

Hey its owrking if i wil put this path...
WEB.SHOW_DOCUMENT('/forms/html/close_window.html', '_self');

and my html file is in
D:\forms10gr2\tools\web\html path...

Its working.....But i want it tp pick from my bin path...where i have put my fmxs......
my url is
http://10.44.0.66:7778/forms/frmservlet?config=p109implsupport

and bin is in
\\10.44.0.66\p109implsupport

Please help...its urgent required.........
Re: How to open a html page in forms..using web.show_document [message #365324 is a reply to message #365122] Thu, 11 December 2008 08:13 Go to previous messageGo to next message
chandan.rattan
Messages: 84
Registered: December 2008
Location: India
Member

Even i am trying this one ....but this is also not working .......
web.show_document('file:///C:\close_window.html', '_blank');

onclicking ....nothing is happening..........

djmartin ...can u help me out........
Re: How to open a html page in forms..using web.show_document [message #365327 is a reply to message #364794] Thu, 11 December 2008 08:21 Go to previous message
chandan.rattan
Messages: 84
Registered: December 2008
Location: India
Member

hey now i got thing......its working.......

web.show_document('file:\\10.44.0.66\p109implsupport\close.html', '_blank');


this is my bin path.............
annd its packing the path
Previous Topic: cursor in the form
Next Topic: Oracle Forms runtime error please plz help
Goto Forum:
  


Current Time: Mon Feb 03 15:05:17 CST 2025